An editable instance is an abstract text representation of any text in a file. The editable APIs enables text search and edit within the given Editable wrapper around any group of text in a file.
str
NodeId
str
NodeType
str
TSNode
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