Back to the room

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

Code Observatory / function

_text

codeintel.parsers.treesitter_parser._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

Called by (9)
SymbolFileResolved by
treesitter_parsertreesitter_parser.pysame file
_c_declarator_nametreesitter_parser.pysame file
_calleetreesitter_parser.pysame file
_field_texttreesitter_parser.pysame file
_file_commenttreesitter_parser.pysame file
_go_receiver_typetreesitter_parser.pysame file
_js_requiretreesitter_parser.pysame file
_leading_commenttreesitter_parser.pysame file
parse_treesittertreesitter_parser.pysame file
Inside (1)
SymbolFileResolved by
treesitter_parsertreesitter_parser.pysame file
codeintel.parsers.treesitter_parser._textbackend/app/codeintel/parsers/treesitter_parser.py, lines 87–88Open source
def _text(node, src: bytes) -> str:    return src[node.start_byte : node.end_byte].decode("utf-8", errors="replace")

What the index recorded

Signature
def _text(node, src: bytes) -> str:
File
backend/app/codeintel/parsers/treesitter_parser.py
Lines
87–88
Parser
python-ast
Git blob
bf0c9a8044cadd3452ebf5ffa82b866ae00395a9
Call sites
1 named, 0 resolved, 1 left unlinked

Read it on GitHub at this commit