Back to the room

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

Code Observatory / function

_rust_impl_name

codeintel.parsers.treesitter_parser._rust_impl_name

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
Inside (1)
SymbolFileResolved by
treesitter_parsertreesitter_parser.pysame file
codeintel.parsers.treesitter_parser._rust_impl_namebackend/app/codeintel/parsers/treesitter_parser.py, lines 155–160Open source
def _rust_impl_name(node, src):    type_text = _field_text("type")(node, src)    if not type_text:        return None    trait_text = _field_text("trait")(node, src)    return f"impl {trait_text} for {type_text}" if trait_text else f"impl {type_text}"

What the index recorded

Signature
def _rust_impl_name(node, src):
File
backend/app/codeintel/parsers/treesitter_parser.py
Lines
155–160
Parser
python-ast
Git blob
bf0c9a8044cadd3452ebf5ffa82b866ae00395a9
Call sites
1 named, 1 resolved, 0 left unlinked

Read it on GitHub at this commit