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 v13.1.581.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
Argument
Gets the Argument
AST node ID.
public const int Argument = 13001
ArrayInitializerExpression
Gets the ArrayInitializerExpression
AST node ID.
public const int ArrayInitializerExpression = 13002
AssignmentExpression
Gets the AssignmentExpression
AST node ID.
public const int AssignmentExpression = 13000
BinaryOperatorExpression
Gets the BinaryOperatorExpression
AST node ID.
public const int BinaryOperatorExpression = 13003
BlockStatement
Gets the BlockStatement
AST node ID.
public const int BlockStatement = 13004
BreakStatement
Gets the BreakStatement
AST node ID.
public const int BreakStatement = 13005
CatchClause
Gets the CatchClause
AST node ID.
public const int CatchClause = 13006
CompilationUnit
Gets the CompilationUnit
AST node ID.
public const int CompilationUnit = 13007
ConditionalExpression
Gets the ConditionalExpression
AST node ID.
public const int ConditionalExpression = 13008
ContinueStatement
Gets the ContinueStatement
AST node ID.
public const int ContinueStatement = 13009
DebuggerStatement
Gets the DebuggerStatement
AST node ID.
public const int DebuggerStatement = 13010
DoStatement
Gets the DoStatement
AST node ID.
public const int DoStatement = 13011
Expression
Gets the Expression
AST node ID.
public const int Expression = 13012
ExpressionStatement
Gets the ExpressionStatement
AST node ID.
public const int ExpressionStatement = 13013
ForEachStatement
Gets the ForEachStatement
AST node ID.
public const int ForEachStatement = 13014
ForStatement
Gets the ForStatement
AST node ID.
public const int ForStatement = 13015
FunctionBody
Gets the FunctionBody
AST node ID.
public const int FunctionBody = 13016
FunctionDeclaration
Gets the FunctionDeclaration
AST node ID.
public const int FunctionDeclaration = 13017
FunctionExpression
Gets the FunctionExpression
AST node ID.
public const int FunctionExpression = 13018
IfStatement
Gets the IfStatement
AST node ID.
public const int IfStatement = 13019
InstanceExpression
Gets the InstanceExpression
AST node ID.
public const int InstanceExpression = 13020
InvocationExpression
Gets the InvocationExpression
AST node ID.
public const int InvocationExpression = 13021
LabeledStatement
Gets the LabeledStatement
AST node ID.
public const int LabeledStatement = 13022
LiteralExpression
Gets the LiteralExpression
AST node ID.
public const int LiteralExpression = 13023
MemberAccess
Gets the MemberAccess
AST node ID.
public const int MemberAccess = 13024
ObjectCreationExpression
Gets the ObjectCreationExpression
AST node ID.
public const int ObjectCreationExpression = 13025
ObjectInitializerExpression
Gets the ObjectInitializerExpression
AST node ID.
public const int ObjectInitializerExpression = 13026
ParameterDeclaration
Gets the ParameterDeclaration
AST node ID.
public const int ParameterDeclaration = 13027
ParenthesizedExpression
Gets the ParenthesizedExpression
AST node ID.
public const int ParenthesizedExpression = 13028
PropertyDeclaration
Gets the PropertyDeclaration
AST node ID.
public const int PropertyDeclaration = 13029
ReturnStatement
Gets the ReturnStatement
AST node ID.
public const int ReturnStatement = 13030
SequenceExpression
Gets the SequenceExpression
AST node ID.
public const int SequenceExpression = 13031
SimpleName
Gets the SimpleName
AST node ID.
public const int SimpleName = 13032
SourceElement
Gets the SourceElement
AST node ID.
public const int SourceElement = 13033
Statement
Gets the Statement
AST node ID.
public const int Statement = 13034
SwitchSection
Gets the SwitchSection
AST node ID.
public const int SwitchSection = 13035
SwitchStatement
Gets the SwitchStatement
AST node ID.
public const int SwitchStatement = 13036
ThrowStatement
Gets the ThrowStatement
AST node ID.
public const int ThrowStatement = 13037
TryStatement
Gets the TryStatement
AST node ID.
public const int TryStatement = 13038
UnaryOperatorExpression
Gets the UnaryOperatorExpression
AST node ID.
public const int UnaryOperatorExpression = 13039
VariableDeclaration
Gets the VariableDeclaration
AST node ID.
public const int VariableDeclaration = 13040
VariableDeclarationExpression
Gets the VariableDeclarationExpression
AST node ID.
public const int VariableDeclarationExpression = 13041
VariableStatement
Gets the VariableStatement
AST node ID.
public const int VariableStatement = 13042
WhileStatement
Gets the WhileStatement
AST node ID.
public const int WhileStatement = 13043
WithStatement
Gets the WithStatement
AST node ID.
public const int WithStatement = 13044