Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / method
visit_ClassDef
codeintel.parsers.python_parser._Extractor.visit_ClassDef
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 |
|---|---|---|
| _enter | python_parser.py | same file |
| Symbol | File | Resolved by |
|---|---|---|
| _Extractor | python_parser.py | same file |
codeintel.parsers.python_parser._Extractor.visit_ClassDefbackend/app/codeintel/parsers/python_parser.py, lines 136–141Open source
def visit_ClassDef(self, node: ast.ClassDef) -> None: if self.current.kind in ("function", "method"): # Classes defined inside functions are part of that function. self.generic_visit(node) return self._enter(node, "class")What the index recorded
- Signature
def visit_ClassDef(self, node: ast.ClassDef) -> None:- File
backend/app/codeintel/parsers/python_parser.py- Lines
- 136–141
- Parser
- python-ast
- Git blob
63495bcda67d5742151d40ab76540e513f44e088- Call sites
- 2 named, 1 resolved, 1 left unlinked
