JavaScriptAstNodeId Class
Contains the AST node IDs for the JavaScript
language.
public class JavaScriptAstNodeId : AstNodeIdProviderBase, IAstNodeIdProvider, IIdProvider
- Inheritance:
- Object AstNodeIdProviderBase Object
- Implements:
- IAstNodeIdProvider IIdProvider
Remarks
This type was generated by the Actipro Language Designer tool v22.1.0.0 (http://www.actiprosoftware.com).
Constructors
JavaScriptAstNodeId()
public JavaScriptAstNodeId()
Properties
MaxId
Gets the maximum AST node ID returned by this provider.
public override int MaxId { get; }
Property Value
- Int32:
The maximum AST node ID returned by this provider.
MinId
Gets the minimum AST node ID returned by this provider.
public override int MinId { get; }
Property Value
- Int32:
The minimum AST node ID returned by this provider.
Methods
ContainsId(Int32)
Returns whether the specified ID value is valid for this AST node ID provider.
public override bool ContainsId(int id)
Parameter | Type | Description |
---|---|---|
id | Int32 | The AST node ID to examine. |
Returns
- Boolean:
true
if the ID value is valid; otherwise,false
GetDescription(Int32)
Returns the actual string representation for the specified AST node ID.
public override string GetDescription(int id)
Parameter | Type | Description |
---|---|---|
id | Int32 | The AST node ID to examine. |
Returns
- String:
The actual string representation for the specified AST node ID.
GetKey(Int32)
Returns the string-based key for the specified AST node ID.
public override string GetKey(int id)
Parameter | Type | Description |
---|---|---|
id | Int32 | The AST node ID to examine. |
Returns
- String:
The string-based key for the specified AST node ID.
Fields
ArrayInitializerExpression
Gets the ArrayInitializerExpression
AST node ID.
public const int ArrayInitializerExpression = 13001
ArrayPattern
Gets the ArrayPattern
AST node ID.
public const int ArrayPattern = 13002
ArrowFunctionExpression
Gets the ArrowFunctionExpression
AST node ID.
public const int ArrowFunctionExpression = 13003
AssignmentExpression
Gets the AssignmentExpression
AST node ID.
public const int AssignmentExpression = 13004
AssignmentPattern
Gets the AssignmentPattern
AST node ID.
public const int AssignmentPattern = 13005
AssignmentProperty
Gets the AssignmentProperty
AST node ID.
public const int AssignmentProperty = 13006
AwaitExpression
Gets the AwaitExpression
AST node ID.
public const int AwaitExpression = 13007
BinaryOperatorExpression
Gets the BinaryOperatorExpression
AST node ID.
public const int BinaryOperatorExpression = 13008
BlockStatement
Gets the BlockStatement
AST node ID.
public const int BlockStatement = 13009
BreakStatement
Gets the BreakStatement
AST node ID.
public const int BreakStatement = 13010
CallExpression
Gets the CallExpression
AST node ID.
public const int CallExpression = 13011
CatchClause
Gets the CatchClause
AST node ID.
public const int CatchClause = 13012
ClassBody
Gets the ClassBody
AST node ID.
public const int ClassBody = 13013
ClassDeclaration
Gets the ClassDeclaration
AST node ID.
public const int ClassDeclaration = 13014
ClassExpression
Gets the ClassExpression
AST node ID.
public const int ClassExpression = 13015
CompilationUnit
Gets the CompilationUnit
AST node ID.
public const int CompilationUnit = 13000
ConditionalExpression
Gets the ConditionalExpression
AST node ID.
public const int ConditionalExpression = 13016
ContinueStatement
Gets the ContinueStatement
AST node ID.
public const int ContinueStatement = 13017
DebuggerStatement
Gets the DebuggerStatement
AST node ID.
public const int DebuggerStatement = 13018
DoStatement
Gets the DoStatement
AST node ID.
public const int DoStatement = 13019
ExportAllDeclaration
Gets the ExportAllDeclaration
AST node ID.
public const int ExportAllDeclaration = 13020
ExportDefaultDeclaration
Gets the ExportDefaultDeclaration
AST node ID.
public const int ExportDefaultDeclaration = 13021
ExportNamedDeclaration
Gets the ExportNamedDeclaration
AST node ID.
public const int ExportNamedDeclaration = 13022
ExportSpecifier
Gets the ExportSpecifier
AST node ID.
public const int ExportSpecifier = 13023
ExpressionStatement
Gets the ExpressionStatement
AST node ID.
public const int ExpressionStatement = 13024
ForInStatement
Gets the ForInStatement
AST node ID.
public const int ForInStatement = 13025
ForOfStatement
Gets the ForOfStatement
AST node ID.
public const int ForOfStatement = 13026
ForStatement
Gets the ForStatement
AST node ID.
public const int ForStatement = 13027
FunctionBody
Gets the FunctionBody
AST node ID.
public const int FunctionBody = 13028
FunctionDeclaration
Gets the FunctionDeclaration
AST node ID.
public const int FunctionDeclaration = 13029
FunctionExpression
Gets the FunctionExpression
AST node ID.
public const int FunctionExpression = 13030
IDeclaration
Gets the IDeclaration
AST node ID.
public const int IDeclaration = 13031
Identifier
Gets the Identifier
AST node ID.
public const int Identifier = 13032
IExpression
Gets the IExpression
AST node ID.
public const int IExpression = 13033
IfStatement
Gets the IfStatement
AST node ID.
public const int IfStatement = 13034
IFunction
Gets the IFunction
AST node ID.
public const int IFunction = 13035
ImportDeclaration
Gets the ImportDeclaration
AST node ID.
public const int ImportDeclaration = 13037
ImportDefaultSpecifier
Gets the ImportDefaultSpecifier
AST node ID.
public const int ImportDefaultSpecifier = 13038
ImportExpression
Gets the ImportExpression
AST node ID.
public const int ImportExpression = 13036
ImportNamespaceSpecifier
Gets the ImportNamespaceSpecifier
AST node ID.
public const int ImportNamespaceSpecifier = 13039
ImportSpecifier
Gets the ImportSpecifier
AST node ID.
public const int ImportSpecifier = 13040
ImportSpecifierBase
Gets the ImportSpecifierBase
AST node ID.
public const int ImportSpecifierBase = 13041
InstanceExpression
Gets the InstanceExpression
AST node ID.
public const int InstanceExpression = 13042
IPattern
Gets the IPattern
AST node ID.
public const int IPattern = 13043
IStatement
Gets the IStatement
AST node ID.
public const int IStatement = 13044
LabeledStatement
Gets the LabeledStatement
AST node ID.
public const int LabeledStatement = 13045
LiteralExpression
Gets the LiteralExpression
AST node ID.
public const int LiteralExpression = 13046
MemberAccess
Gets the MemberAccess
AST node ID.
public const int MemberAccess = 13047
MethodDefinition
Gets the MethodDefinition
AST node ID.
public const int MethodDefinition = 13048
ModuleDeclaration
Gets the ModuleDeclaration
AST node ID.
public const int ModuleDeclaration = 13049
ModuleSpecifier
Gets the ModuleSpecifier
AST node ID.
public const int ModuleSpecifier = 13050
ObjectCreationExpression
Gets the ObjectCreationExpression
AST node ID.
public const int ObjectCreationExpression = 13051
ObjectInitializerExpression
Gets the ObjectInitializerExpression
AST node ID.
public const int ObjectInitializerExpression = 13052
ObjectPattern
Gets the ObjectPattern
AST node ID.
public const int ObjectPattern = 13053
ParenthesizedExpression
Gets the ParenthesizedExpression
AST node ID.
public const int ParenthesizedExpression = 13054
Property
Gets the Property
AST node ID.
public const int Property = 13055
RestElement
Gets the RestElement
AST node ID.
public const int RestElement = 13056
ReturnStatement
Gets the ReturnStatement
AST node ID.
public const int ReturnStatement = 13057
SequenceExpression
Gets the SequenceExpression
AST node ID.
public const int SequenceExpression = 13058
SuperExpression
Gets the SuperExpression
AST node ID.
public const int SuperExpression = 13059
SwitchSection
Gets the SwitchSection
AST node ID.
public const int SwitchSection = 13060
SwitchStatement
Gets the SwitchStatement
AST node ID.
public const int SwitchStatement = 13061
TaggedTemplateExpression
Gets the TaggedTemplateExpression
AST node ID.
public const int TaggedTemplateExpression = 13062
ThrowStatement
Gets the ThrowStatement
AST node ID.
public const int ThrowStatement = 13063
TryStatement
Gets the TryStatement
AST node ID.
public const int TryStatement = 13064
UnaryOperatorExpression
Gets the UnaryOperatorExpression
AST node ID.
public const int UnaryOperatorExpression = 13065
VariableDeclaration
Gets the VariableDeclaration
AST node ID.
public const int VariableDeclaration = 13066
VariableDeclarator
Gets the VariableDeclarator
AST node ID.
public const int VariableDeclarator = 13067
WhileStatement
Gets the WhileStatement
AST node ID.
public const int WhileStatement = 13068
WithStatement
Gets the WithStatement
AST node ID.
public const int WithStatement = 13069
YieldExpression
Gets the YieldExpression
AST node ID.
public const int YieldExpression = 13070