Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / class
_Lang
codeintel.parsers.treesitter_parser._Lang
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 |
|---|---|---|
| treesitter_parser | treesitter_parser.py | same file |
| Symbol | File | Resolved by |
|---|---|---|
| treesitter_parser | treesitter_parser.py | same file |
codeintel.parsers.treesitter_parser._Langbackend/app/codeintel/parsers/treesitter_parser.py, lines 76–84Open source
@dataclassclass _Lang: defs: dict[str, _Def] # node type -> function returning the callee simple name calls: dict[str, Callable[[object, bytes], str | None]] # node type -> function returning the import target text imports: dict[str, Callable[[object, bytes], str | None]] # node types that qualify names but are not emitted (C++ namespaces) namespaces: dict[str, Callable[[object, bytes], str | None]] = field(default_factory=dict)What the index recorded
- Signature
class _Lang:- File
backend/app/codeintel/parsers/treesitter_parser.py- Lines
- 76–84
- Parser
- python-ast
- Git blob
bf0c9a8044cadd3452ebf5ffa82b866ae00395a9- Call sites
- 1 named, 0 resolved, 1 left unlinked
