[−][src]Module rslint_parser::syntax::expr
Expressions, these include this
, identifiers, arrays, objects,
binary expressions, unary expressions, and more.
See the ECMAScript spec.
Constants
ASSIGN_TOKENS | |
EXPR_RECOVERY_SET | |
LITERAL | |
STARTS_EXPR |
Functions
args | Arguments to a function. |
array_expr | An array literal such as |
assign_expr | An assignment expression such as |
binary_expr | A binary expression such as |
bracket_expr | An array expression for property access or indexing, such as |
conditional_expr | A conditional expression such as |
dot_expr | A dot expression for accessing a property |
expr | A general expression. |
expr_or_spread | |
identifier_name | An identifier name, either an ident or a keyword |
identifier_reference | |
lhs_expr | A left hand side expression, either a member expression or a call expression such as |
literal | A literal expression. |
member_or_new_expr | A member or new expression with subscripts. e.g. |
object_expr | An object literal such as |
object_prop_name | |
object_property | An individual object property such as |
optional_chain | |
paren_expr | A parenthesis expression, also called a grouping expression. |
paren_or_arrow_expr | |
postfix_expr | A postifx expression, either |
primary_expr | A primary expression such as a literal, an object, an array, or |
spread_element | A spread element consisting of three dots and an assignment expression such as |
subscripts | Dot, Array, or Call expr subscripts. Including optional chaining. |
template | A template literal such as " |
unary_expr | A unary expression such as |
yield_expr |