Back to the room

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

Code Observatory / method

add_call

codeintel.parsers.base.Symbol.add_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

Called by (2)
SymbolFileResolved by
visit_Callpython_parser.pyunique name
parse_treesittertreesitter_parser.pyunique name
Inside (1)
SymbolFileResolved by
Symbolbase.pysame file
codeintel.parsers.base.Symbol.add_callbackend/app/codeintel/parsers/base.py, lines 35–37Open source
    def add_call(self, name: str) -> None:        if name and name not in self.calls and len(self.calls) < MAX_CALLS:            self.calls.append(name)

What the index recorded

Signature
def add_call(self, name: str) -> None:
File
backend/app/codeintel/parsers/base.py
Lines
35–37
Parser
python-ast
Git blob
3ebc48248b33125ad21597173a82926893a501dc
Call sites
2 named, 0 resolved, 2 left unlinked

Read it on GitHub at this commit