Abstract representation of the for loop in TypeScript.
Attributes: item: An item in the iterable object. Only applicable for for...of
loops. iterable: The iterable that is being iterated over. Only applicable for for...of
loops.
initializer: The counter variable. Applicable for traditional for loops. condition: The condition for the loop. Applicable for traditional for loops. increment: The increment expression. Applicable for traditional for loops.
str
NodeId
str
int
bool
bool
NodeType
str
TSNode
str
bool, optional
bool
Editable
with new_src
.
str
bool
int
bool
None
Union[list[str], str]
bool
list[str]
bool
str
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
str
bool, optional
bool, optional
bool, optional
bool, optional
None