Structs§
- Block
Statement - Break
Statement - Catch
Clause - Class
Declaration - Continue
Statement - Debugger
Statement - Directive
- Directive
Literal - DoWhile
Statement - Empty
Statement - Expression
Statement - ForIn
Statement - ForOf
Statement - ForStatement
- Function
Declaration - IfStatement
- Labeled
Statement - Return
Statement - Switch
Case - Switch
Statement - Throw
Statement - TryStatement
- Unknown
Statement - Variable
Declaration - Variable
Declarator - While
Statement - With
Statement
Enums§
Functions§
- is_
known_ statement_ type - Whether
node_typeis a statementtypetag modeled byStatement, i.e. one that deserializes into a typed variant rather than theStatement::Unknowncatch-all. Callers that need to discriminate statements from other node kinds must use this instead of attempting aStatementdeserialization: with the tolerant catch-all, that attempt succeeds for any object carrying a stringtypetag.