Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / function
_strip_quotes
codeintel.parsers.treesitter_parser._strip_quotes
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 |
|---|---|---|
| _js_require | treesitter_parser.py | same file |
| _string_field | treesitter_parser.py | same file |
| Symbol | File | Resolved by |
|---|---|---|
| treesitter_parser | treesitter_parser.py | same file |
codeintel.parsers.treesitter_parser._strip_quotesbackend/app/codeintel/parsers/treesitter_parser.py, lines 168–171Open source
def _strip_quotes(text: str | None) -> str | None: if text and len(text) >= 2 and text[0] in "\"'`<" and text[-1] in "\"'`>": return text[1:-1] return textWhat the index recorded
- Signature
def _strip_quotes(text: str | None) -> str | None:- File
backend/app/codeintel/parsers/treesitter_parser.py- Lines
- 168–171
- Parser
- python-ast
- Git blob
bf0c9a8044cadd3452ebf5ffa82b866ae00395a9- Call sites
- 1 named, 0 resolved, 1 left unlinked
