[−][src]Module rslint_parser::ast
AST definitions for converting untyped syntax nodes into typed AST nodes.
Every field of every AST node is optional, this is to allow the parser to recover from any error and produce an ast from any source code. If you don't want to account for optionals for everything, you can use ...
Structs
Enums
ArrowExprParams | |
AssignOp | |
BinOp | A binary operation applied to two expressions |
ClassElement | |
Decl | |
DefaultDecl | |
Expr | |
ExprOrBlock | |
ExprOrSpread | |
ForHead | The beginning to a For or For..in statement which can either be a variable declaration or an expression |
ImportClause | |
LiteralKind | |
MethodDefinition | |
ModuleItem | |
ObjectPatternProp | |
ObjectProp | |
Pattern | |
PatternOrExpr | |
PropName | |
Stmt | |
StmtListItem | Either a statement or a declaration such as a function |
SwitchCase | |
UnaryOp |
Traits
AstNode | The main trait to go from untyped |
AstToken | Like |