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 v26.1.0 (http://www.actiprosoftware.com).
Constructors
JavaScriptAstNodeId()
Initializes an instance of the class.
public JavaScriptAstNodeId()
Properties
MaxId
The maximum ID returned by this provider.
MinId
The minimum ID returned by this provider.
Methods
ContainsId(int)
Returns whether the specified ID value is valid for this ID provider.
public override bool ContainsId(int id)
| Parameter | Type | Description |
|---|---|---|
| id | int | The ID to examine. |
Returns
- bool:
trueif the ID value is valid; otherwise,false
GetDescription(int)
Returns the actual string representation for the specified ID.
public override string? GetDescription(int id)
| Parameter | Type | Description |
|---|---|---|
| id | int | The ID to examine. |
Returns
GetKey(int)
Returns the string-based key for the specified ID.
Fields
ArrayInitializerExpression
The ArrayInitializerExpression AST node ID.
public const int ArrayInitializerExpression = 13001
ArrayPattern
The ArrayPattern AST node ID.
public const int ArrayPattern = 13002
ArrowFunctionExpression
The ArrowFunctionExpression AST node ID.
public const int ArrowFunctionExpression = 13003
AssignmentExpression
The AssignmentExpression AST node ID.
public const int AssignmentExpression = 13004
AssignmentPattern
The AssignmentPattern AST node ID.
public const int AssignmentPattern = 13005
AssignmentProperty
The AssignmentProperty AST node ID.
public const int AssignmentProperty = 13006
AwaitExpression
The AwaitExpression AST node ID.
public const int AwaitExpression = 13007
BinaryOperatorExpression
The BinaryOperatorExpression AST node ID.
public const int BinaryOperatorExpression = 13008
BlockStatement
The BlockStatement AST node ID.
public const int BlockStatement = 13009
BreakStatement
The BreakStatement AST node ID.
public const int BreakStatement = 13010
CallExpression
The CallExpression AST node ID.
public const int CallExpression = 13011
CatchClause
The CatchClause AST node ID.
public const int CatchClause = 13012
ClassBody
The ClassBody AST node ID.
public const int ClassBody = 13013
ClassDeclaration
The ClassDeclaration AST node ID.
public const int ClassDeclaration = 13014
ClassExpression
The ClassExpression AST node ID.
public const int ClassExpression = 13015
CompilationUnit
The CompilationUnit AST node ID.
public const int CompilationUnit = 13000
ConditionalExpression
The ConditionalExpression AST node ID.
public const int ConditionalExpression = 13016
ContinueStatement
The ContinueStatement AST node ID.
public const int ContinueStatement = 13017
DebuggerStatement
The DebuggerStatement AST node ID.
public const int DebuggerStatement = 13018
DoStatement
The DoStatement AST node ID.
public const int DoStatement = 13019
ExportAllDeclaration
The ExportAllDeclaration AST node ID.
public const int ExportAllDeclaration = 13020
ExportDefaultDeclaration
The ExportDefaultDeclaration AST node ID.
public const int ExportDefaultDeclaration = 13021
ExportNamedDeclaration
The ExportNamedDeclaration AST node ID.
public const int ExportNamedDeclaration = 13022
ExportSpecifier
The ExportSpecifier AST node ID.
public const int ExportSpecifier = 13023
ExpressionStatement
The ExpressionStatement AST node ID.
public const int ExpressionStatement = 13024
ForInStatement
The ForInStatement AST node ID.
public const int ForInStatement = 13025
ForOfStatement
The ForOfStatement AST node ID.
public const int ForOfStatement = 13026
ForStatement
The ForStatement AST node ID.
public const int ForStatement = 13027
FunctionBody
The FunctionBody AST node ID.
public const int FunctionBody = 13028
FunctionDeclaration
The FunctionDeclaration AST node ID.
public const int FunctionDeclaration = 13029
FunctionExpression
The FunctionExpression AST node ID.
public const int FunctionExpression = 13030
IDeclaration
The IDeclaration AST node ID.
public const int IDeclaration = 13031
IExpression
The IExpression AST node ID.
public const int IExpression = 13033
IFunction
The IFunction AST node ID.
public const int IFunction = 13035
IPattern
The IPattern AST node ID.
public const int IPattern = 13043
IStatement
The IStatement AST node ID.
public const int IStatement = 13044
Identifier
The Identifier AST node ID.
public const int Identifier = 13032
IfStatement
The IfStatement AST node ID.
public const int IfStatement = 13034
ImportDeclaration
The ImportDeclaration AST node ID.
public const int ImportDeclaration = 13036
ImportDefaultSpecifier
The ImportDefaultSpecifier AST node ID.
public const int ImportDefaultSpecifier = 13037
ImportExpression
The ImportExpression AST node ID.
public const int ImportExpression = 13038
ImportNamespaceSpecifier
The ImportNamespaceSpecifier AST node ID.
public const int ImportNamespaceSpecifier = 13039
ImportSpecifier
The ImportSpecifier AST node ID.
public const int ImportSpecifier = 13040
ImportSpecifierBase
The ImportSpecifierBase AST node ID.
public const int ImportSpecifierBase = 13041
InstanceExpression
The InstanceExpression AST node ID.
public const int InstanceExpression = 13042
LabeledStatement
The LabeledStatement AST node ID.
public const int LabeledStatement = 13045
LiteralExpression
The LiteralExpression AST node ID.
public const int LiteralExpression = 13046
MemberAccess
The MemberAccess AST node ID.
public const int MemberAccess = 13047
MethodDefinition
The MethodDefinition AST node ID.
public const int MethodDefinition = 13048
ModuleDeclaration
The ModuleDeclaration AST node ID.
public const int ModuleDeclaration = 13049
ModuleSpecifier
The ModuleSpecifier AST node ID.
public const int ModuleSpecifier = 13050
ObjectCreationExpression
The ObjectCreationExpression AST node ID.
public const int ObjectCreationExpression = 13051
ObjectInitializerExpression
The ObjectInitializerExpression AST node ID.
public const int ObjectInitializerExpression = 13052
ObjectPattern
The ObjectPattern AST node ID.
public const int ObjectPattern = 13053
OmittedExpression
The OmittedExpression AST node ID.
public const int OmittedExpression = 13054
OmittedPattern
The OmittedPattern AST node ID.
public const int OmittedPattern = 13055
ParenthesizedExpression
The ParenthesizedExpression AST node ID.
public const int ParenthesizedExpression = 13056
Property
The Property AST node ID.
public const int Property = 13057
RestElement
The RestElement AST node ID.
public const int RestElement = 13058
ReturnStatement
The ReturnStatement AST node ID.
public const int ReturnStatement = 13059
SequenceExpression
The SequenceExpression AST node ID.
public const int SequenceExpression = 13060
SuperExpression
The SuperExpression AST node ID.
public const int SuperExpression = 13061
SwitchSection
The SwitchSection AST node ID.
public const int SwitchSection = 13062
SwitchStatement
The SwitchStatement AST node ID.
public const int SwitchStatement = 13063
TaggedTemplateExpression
The TaggedTemplateExpression AST node ID.
public const int TaggedTemplateExpression = 13064
ThrowStatement
The ThrowStatement AST node ID.
public const int ThrowStatement = 13065
TryStatement
The TryStatement AST node ID.
public const int TryStatement = 13066
UnaryOperatorExpression
The UnaryOperatorExpression AST node ID.
public const int UnaryOperatorExpression = 13067
VariableDeclaration
The VariableDeclaration AST node ID.
public const int VariableDeclaration = 13068
VariableDeclarator
The VariableDeclarator AST node ID.
public const int VariableDeclarator = 13069
WhileStatement
The WhileStatement AST node ID.
public const int WhileStatement = 13070
WithStatement
The WithStatement AST node ID.
public const int WithStatement = 13071
YieldExpression
The YieldExpression AST node ID.
public const int YieldExpression = 13072
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()