Back to the room

Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works

Code Observatory / class

_Def

codeintel.parsers.treesitter_parser._Def

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 symbols

Loading

Called by (1)
SymbolFileResolved by
treesitter_parsertreesitter_parser.pysame file
Inside (1)
SymbolFileResolved by
treesitter_parsertreesitter_parser.pysame file
codeintel.parsers.treesitter_parser._Defbackend/app/codeintel/parsers/treesitter_parser.py, lines 68–73Open source
@dataclassclass _Def:    kind: str    # Extract the symbol name from the definition node (None = not a symbol).    name: Callable[[object, bytes], str | None]    container: bool = False  # can hold methods (class / impl / interface / trait)

What the index recorded

Signature
class _Def:
File
backend/app/codeintel/parsers/treesitter_parser.py
Lines
68–73
Parser
python-ast
Git blob
bf0c9a8044cadd3452ebf5ffa82b866ae00395a9

Read it on GitHub at this commit