Back to the room

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

Code Observatory / function

_field_text

codeintel.parsers.treesitter_parser._field_text

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
_texttreesitter_parser.pysame file
Called by (7)
SymbolFileResolved by
treesitter_parsertreesitter_parser.pysame file
_go_type_spectreesitter_parser.pysame file
_js_variable_functiontreesitter_parser.pysame file
_named_with_bodytreesitter_parser.pysame file
_rust_impl_nametreesitter_parser.pysame file
_rust_impl_typetreesitter_parser.pysame file
_string_fieldtreesitter_parser.pysame file
Inside (1)
SymbolFileResolved by
treesitter_parsertreesitter_parser.pysame file
codeintel.parsers.treesitter_parser._field_textbackend/app/codeintel/parsers/treesitter_parser.py, lines 91–96Open source
def _field_text(name: str):    def get(node, src):        child = node.child_by_field_name(name)        return _text(child, src) if child is not None else None    return get

What the index recorded

Signature
def _field_text(name: str):
File
backend/app/codeintel/parsers/treesitter_parser.py
Lines
91–96
Parser
python-ast
Git blob
bf0c9a8044cadd3452ebf5ffa82b866ae00395a9
Call sites
2 named, 1 resolved, 1 left unlinked

Read it on GitHub at this commit