Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / function
_start_line
codeintel.parsers.python_parser._start_line
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 |
|---|---|---|
| python_parser | python_parser.py | same file |
codeintel.parsers.python_parser._start_linebackend/app/codeintel/parsers/python_parser.py, lines 88–91Open source
def _start_line(node: ast.AST) -> int: decorators = getattr(node, "decorator_list", None) or [] lines = [node.lineno] + [d.lineno for d in decorators] return min(lines)What the index recorded
- Signature
def _start_line(node: ast.AST) -> int:- File
backend/app/codeintel/parsers/python_parser.py- Lines
- 88–91
- Parser
- python-ast
- Git blob
63495bcda67d5742151d40ab76540e513f44e088- Call sites
- 2 named, 0 resolved, 2 left unlinked
