Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / function
_named_with_body
codeintel.parsers.treesitter_parser._named_with_body
PINNED SOURCE Source and edges from the index at this commit. An execution appears only where one was recorded.
PHAROS at 975a38dMIT license
Around this symbol
Search all symbolsLoading
| Symbol | File | Resolved by |
|---|---|---|
| _field_text | treesitter_parser.py | same file |
| Symbol | File | Resolved by |
|---|---|---|
| treesitter_parser | treesitter_parser.py | same file |
codeintel.parsers.treesitter_parser._named_with_bodybackend/app/codeintel/parsers/treesitter_parser.py, lines 136–140Open source
def _named_with_body(node, src): """struct/enum/class specifiers only count as definitions when they have a body.""" if node.child_by_field_name("body") is None: return None return _field_text("name")(node, src)What the index recorded
- Signature
def _named_with_body(node, src):- File
backend/app/codeintel/parsers/treesitter_parser.py- Lines
- 136–140
- Parser
- python-ast
- Git blob
bf0c9a8044cadd3452ebf5ffa82b866ae00395a9- Call sites
- 2 named, 1 resolved, 1 left unlinked
