Back to the room

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

Code Observatory / function

_rust_impl_type

codeintel.parsers.treesitter_parser._rust_impl_type

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
_field_texttreesitter_parser.pysame file
Called by (1)
SymbolFileResolved by
parse_treesittertreesitter_parser.pysame file
Inside (1)
SymbolFileResolved by
treesitter_parsertreesitter_parser.pysame file
codeintel.parsers.treesitter_parser._rust_impl_typebackend/app/codeintel/parsers/treesitter_parser.py, lines 163–165Open source
def _rust_impl_type(node, src) -> str | None:    text = _field_text("type")(node, src)    return text.split("<", 1)[0].strip() if text else None

What the index recorded

Signature
def _rust_impl_type(node, src) -> str | None:
File
backend/app/codeintel/parsers/treesitter_parser.py
Lines
163–165
Parser
python-ast
Git blob
bf0c9a8044cadd3452ebf5ffa82b866ae00395a9
Call sites
3 named, 1 resolved, 2 left unlinked

Read it on GitHub at this commit