Back to the room

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

Code Observatory / method

visit_Call

codeintel.parsers.python_parser._Extractor.visit_Call

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

Calls (1)
SymbolFileResolved by
add_callbase.pyunique name
Inside (1)
SymbolFileResolved by
_Extractorpython_parser.pysame file
codeintel.parsers.python_parser._Extractor.visit_Callbackend/app/codeintel/parsers/python_parser.py, lines 155–161Open source
    def visit_Call(self, node: ast.Call) -> None:        func = node.func        if isinstance(func, ast.Name):            self.current.add_call(func.id)        elif isinstance(func, ast.Attribute):            self.current.add_call(func.attr)        self.generic_visit(node)

What the index recorded

Signature
def visit_Call(self, node: ast.Call) -> None:
File
backend/app/codeintel/parsers/python_parser.py
Lines
155–161
Parser
python-ast
Git blob
63495bcda67d5742151d40ab76540e513f44e088
Call sites
3 named, 1 resolved, 2 left unlinked

Read it on GitHub at this commit