Module ast

Module ast 

Source
Expand description

Abstract Syntax Tree (AST) definitions for TypeScript

Structs§

ArrayExpression
Array expression
ArrowFunctionExpression
Arrow function expression
AsExpression
As expression
AssignmentExpression
Assignment expression
AwaitExpression
Await expression
BinaryExpression
Binary expression
BlockStatement
Block statement
BreakStatement
Break statement
CallExpression
Call expression
CallSignature
Call signature
CatchClause
Catch clause
ClassBody
Class body
ClassDeclaration
Class declaration
ConditionalExpression
Conditional expression
ConditionalType
Conditional type
ConstructSignature
Construct signature
ConstructorDeclaration
Constructor declaration
ContinueStatement
Continue statement
DeclareStatement
Declare statement
DefaultImportSpecifier
Default import specifier
EnumDeclaration
Enum declaration
EnumMember
Enum member
ExportDeclaration
Export declaration
ExpressionStatement
Expression statement
ForStatement
For statement
FunctionDeclaration
Function declaration
FunctionType
Function type
GenericType
Generic type
GetterDeclaration
Getter declaration
IfStatement
If statement
ImportDeclaration
Import declaration
ImportType
Import type
IndexSignature
Index signature
InterfaceBody
Interface body
InterfaceDeclaration
Interface declaration
LogicalExpression
Logical expression
MappedType
Mapped type
MemberExpression
Member expression
MethodDeclaration
Method declaration
MethodSignature
Method signature
ModuleDeclaration
Module declaration
NamedImportSpecifier
Named import specifier
NamespaceDeclaration
Namespace declaration
NamespaceImportSpecifier
Namespace import specifier
NewExpression
New expression
NonNullExpression
Non-null expression
ObjectExpression
Object expression
ObjectProperty
Object property
ObjectType
Object type
OptionalExpression
Optional expression
Parameter
Parameter
ParenthesizedExpression
Parenthesized expression
Position
Position in source code
Program
Root program node
PropertyDeclaration
Property declaration
PropertySignature
Property signature
QualifiedTypeName
Qualified type name
ReturnStatement
Return statement
SetterDeclaration
Setter declaration
SourceLocation
Source location information
SuperExpression
Super expression
SwitchCase
Switch case
SwitchStatement
Switch statement
TaggedTemplateExpression
Tagged template expression
TemplateElement
Template element
TemplateLiteral
Template literal
TemplateLiteralType
Template literal type
TemplateLiteralTypeSpan
Template literal type span
ThisExpression
This expression
ThrowStatement
Throw statement
TryStatement
Try statement
TypeAlias
Type alias
TypeAssertion
Type assertion
TypeParameter
Type parameter
TypeQuery
Type query
UnaryExpression
Unary expression
VariableDeclaration
Variable declaration
WhileStatement
While statement
YieldExpression
Yield expression

Enums§

ClassMember
Class member
Expression
Expression types
ImportSpecifier
Import specifier
Literal
Literal values
Modifier
Modifier
ObjectTypeMember
Object type member
Statement
Statement types
Type
Type definitions