Back to the room

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

Code Observatory / method

__init__

codeintel.parsers.python_parser._Extractor.__init__

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

Inside (1)
SymbolFileResolved by
_Extractorpython_parser.pysame file
codeintel.parsers.python_parser._Extractor.__init__backend/app/codeintel/parsers/python_parser.py, lines 95–101Open source
    def __init__(self, module_symbol: Symbol, module_path: str, is_package: bool) -> None:        self.module_path = module_path        self.is_package = is_package        self.symbols: list[Symbol] = [module_symbol]        self.stack: list[Symbol] = [module_symbol]        self.imports: list[str] = []        self.import_map: dict[str, str] = {}

What the index recorded

Signature
def __init__(self, module_symbol: Symbol, module_path: str, is_package: bool) -> None:
File
backend/app/codeintel/parsers/python_parser.py
Lines
95–101
Parser
python-ast
Git blob
63495bcda67d5742151d40ab76540e513f44e088

Read it on GitHub at this commit