Expand description
Abstract Syntax Tree (AST) definitions for TypeScript
Structs§
- Array
Expression - Array expression
- Arrow
Function Expression - Arrow function expression
- AsExpression
- As expression
- Assignment
Expression - Assignment expression
- Await
Expression - Await expression
- Binary
Expression - Binary expression
- Block
Statement - Block statement
- Break
Statement - Break statement
- Call
Expression - Call expression
- Call
Signature - Call signature
- Catch
Clause - Catch clause
- Class
Body - Class body
- Class
Declaration - Class declaration
- Conditional
Expression - Conditional expression
- Conditional
Type - Conditional type
- Construct
Signature - Construct signature
- Constructor
Declaration - Constructor declaration
- Continue
Statement - Continue statement
- Declare
Statement - Declare statement
- Default
Import Specifier - Default import specifier
- Enum
Declaration - Enum declaration
- Enum
Member - Enum member
- Export
Declaration - Export declaration
- Expression
Statement - Expression statement
- ForStatement
- For statement
- Function
Declaration - Function declaration
- Function
Type - Function type
- Generic
Type - Generic type
- Getter
Declaration - Getter declaration
- IfStatement
- If statement
- Import
Declaration - Import declaration
- Import
Type - Import type
- Index
Signature - Index signature
- Interface
Body - Interface body
- Interface
Declaration - Interface declaration
- Logical
Expression - Logical expression
- Mapped
Type - Mapped type
- Member
Expression - Member expression
- Method
Declaration - Method declaration
- Method
Signature - Method signature
- Module
Declaration - Module declaration
- Named
Import Specifier - Named import specifier
- Namespace
Declaration - Namespace declaration
- Namespace
Import Specifier - Namespace import specifier
- NewExpression
- New expression
- NonNull
Expression - Non-null expression
- Object
Expression - Object expression
- Object
Property - Object property
- Object
Type - Object type
- Optional
Expression - Optional expression
- Parameter
- Parameter
- Parenthesized
Expression - Parenthesized expression
- Position
- Position in source code
- Program
- Root program node
- Property
Declaration - Property declaration
- Property
Signature - Property signature
- Qualified
Type Name - Qualified type name
- Return
Statement - Return statement
- Setter
Declaration - Setter declaration
- Source
Location - Source location information
- Super
Expression - Super expression
- Switch
Case - Switch case
- Switch
Statement - Switch statement
- Tagged
Template Expression - Tagged template expression
- Template
Element - Template element
- Template
Literal - Template literal
- Template
Literal Type - Template literal type
- Template
Literal Type Span - Template literal type span
- This
Expression - This expression
- Throw
Statement - Throw statement
- TryStatement
- Try statement
- Type
Alias - Type alias
- Type
Assertion - Type assertion
- Type
Parameter - Type parameter
- Type
Query - Type query
- Unary
Expression - Unary expression
- Variable
Declaration - Variable declaration
- While
Statement - While statement
- Yield
Expression - Yield expression
Enums§
- Class
Member - Class member
- Expression
- Expression types
- Import
Specifier - Import specifier
- Literal
- Literal values
- Modifier
- Modifier
- Object
Type Member - Object type member
- Statement
- Statement types
- Type
- Type definitions