A TypeScript pair node that represents key-value pairs in object literals. A specialized class extending Pair
for handling TypeScript key-value pairs, particularly in object literals. It provides functionality for handling both regular key-value pairs and shorthand property identifiers, with support for reducing boolean conditions.
str
str
str
bool
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
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
None