Structs§
- Arrow
Func Expr - An arrow function
- Assign
Expr - An assignment or update + assignment operation
- Binary
Expr - An operation that requires 2 arguments
- Call
Expr - Calling a function or method
- Conditional
Expr - A ternery expression
- Logical
Expr - A specialized
BinaryExpr
for logical evaluation - Member
Expr - Accessing the member of a value
- Meta
Prop - pretty much just
new.target
- NewExpr
- Calling a constructor
- Prop
- A single part of an object literal or class
- RegEx
- A regular expression literal
- Tagged
Template Expr - A Template literal preceded by a function identifier see MDN for more details
- Template
Element - The text part of a
TemplateLiteral
- Template
Lit - A template string literal
- Unary
Expr - An operation that takes one argument
- Update
Expr - Increment or decrementing a value
- Yield
Expr - yield a value from inside of a generator function
Enums§
- Arrow
Func Body - The body portion of an arrow function can be either an expression or a block of statements
- Assign
Left - The value being assigned to
- Expr
- A slightly more granular program part that a statement
- Lit
- A literal value
- ObjProp
- A single part of an object literal
- PropKey
- An object literal or class property identifier
- Prop
Value - The value of an object literal or class property
- String
Lit
Type Aliases§
- Array
Expr [a, b, c]
- ObjExpr
{a: 'b', c, ...d}
- Sequence
Expr - A collection of
Exprs
separated by commas