A TypeScript string node representing both literal strings and template strings. This class handles both regular string literals and template strings in TypeScript, providing functionality to parse and manage template string expressions. It extends the base String class with TypeScript-specific capabilities. Attributes: expressions (list): A list of parsed expressions from template string substitutions. Empty for regular string literals.
str
str
NodeId
str
NodeType
str
TSNode
str
Editable
with new_src
.
str
bool
int
bool
None
Union[list[str], str]
bool
list[str]
bool
str
bool
str
bool, optional
bool, optional
int, optional
bool, optional
None
str
bool
bool
int
bool
None
bool
None
bool
int
bool
None
str
str
int, optional
bool, optional
int, optional
int
regex_pattern
, similar to python’s re.search().
str
bool
bool