Back to the room

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 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._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

Read it on GitHub at this commit