Node
Direct Subclass:
AssignmentProperty, CatchClause, Class, ClassBody, Declaration, ExportAllDeclaration, ExportDefaultDeclaration, ExportNamedDeclaration, Expression, FunctionAbstract, ImportDeclaration, ImportSpecifierAbstract, MethodDefinition, ModuleSpecifier, Pattern, Program, Property, SpreadElement, Statement, TemplateElement, VariableDeclarator
Indirect Subclass:
ArrayExpression, ArrayPattern, ArrowFunctionExpression, AssignmentExpression, BinaryExpression, BlockStatement, BreakStatement, CallExpression, ClassDeclaration, ClassExpression, ConditionalExpression, ContinueStatement, DebuggerStatement, DoWhileStatement, EmptyStatement, ExportSpecifier, ExpressionStatement, ForInStatement, ForOfStatement, ForStatement, FunctionDeclaration, FunctionExpression, FunctionNonArrow, Identifier, IfStatement, ImportDefaultSpecifier, ImportNamespaceSpecifier, ImportSpecifier, LabeledStatement, Literal, LogicalExpression, MemberExpression, NewExpression, ObjectExpression, ObjectPattern, RestElement, ReturnStatement, SequenceExpression, SwitchCase, SwitchStatement, TaggedTemplateExpression, TemplateLiteral, ThisExpression, ThrowStatement, TryStatement, UnaryExpression, UpdateExpression, VariableDeclaration, WhileStatement, YieldExpression
Base type of all ASTs.
Member Summary
Public Members | ||
public get |
type: * For compatibility with other AST representations,
all Node instances have a 'type' property that is the name of that type.
|
Public Members
public get type: * source
For compatibility with other AST representations, all Node instances have a 'type' property that is the name of that type.