In This Article

DotNetAstNodeId Class

Contains the AST node IDs for the .NET language.

public class DotNetAstNodeId : AstNodeIdProviderBase, IAstNodeIdProvider, IIdProvider
Inheritance:
object AstNodeIdProviderBase object
Implements:
IAstNodeIdProvider IIdProvider

Remarks

This type was generated by the Actipro Language Designer tool v23.1.5.0 (http://www.actiprosoftware.com).

Constructors

DotNetAstNodeId()

Initializes an instance of the class.

public DotNetAstNodeId()

Properties

MaxId

Gets the maximum AST node ID returned by this provider.

public override int MaxId { get; }

Property Value

int:

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

int:

The minimum AST node ID returned by this provider.

Methods

ContainsId(int)

Returns whether the specified ID value is valid for this AST node ID provider.

public override bool ContainsId(int id)
Parameter Type Description
id int

The AST node ID to examine.

Returns

bool:

true if the ID value is valid; otherwise, false

GetDescription(int)

Returns the actual string representation for the specified AST node ID.

public override string GetDescription(int id)
Parameter Type Description
id int

The AST node ID to examine.

Returns

string:

The actual string representation for the specified AST node ID.

GetKey(int)

Returns the string-based key for the specified AST node ID.

public override string GetKey(int id)
Parameter Type Description
id int

The AST node ID to examine.

Returns

string:

The string-based key for the specified AST node ID.

Fields

AccessorBody

Gets the AccessorBody AST node ID.

public const int AccessorBody = 10000

AccessorDeclaration

Gets the AccessorDeclaration AST node ID.

public const int AccessorDeclaration = 10001

AddressOfExpression

Gets the AddressOfExpression AST node ID.

public const int AddressOfExpression = 10002

AggregateQueryOperator

Gets the AggregateQueryOperator AST node ID.

public const int AggregateQueryOperator = 10003

AnonymousMethodExpression

Gets the AnonymousMethodExpression AST node ID.

public const int AnonymousMethodExpression = 10004

Argument

Gets the Argument AST node ID.

public const int Argument = 10005

ArrayEraseStatement

Gets the ArrayEraseStatement AST node ID.

public const int ArrayEraseStatement = 10006

ArrayReallocateClause

Gets the ArrayReallocateClause AST node ID.

public const int ArrayReallocateClause = 10007

ArrayReallocateStatement

Gets the ArrayReallocateStatement AST node ID.

public const int ArrayReallocateStatement = 10008

AssignmentExpression

Gets the AssignmentExpression AST node ID.

public const int AssignmentExpression = 10009

Attribute

Gets the Attribute AST node ID.

public const int Attribute = 10010

AttributeArgument

Gets the AttributeArgument AST node ID.

public const int AttributeArgument = 10011

AttributeSection

Gets the AttributeSection AST node ID.

public const int AttributeSection = 10012

AwaitExpression

Gets the AwaitExpression AST node ID.

public const int AwaitExpression = 10013

BinaryOperatorExpression

Gets the BinaryOperatorExpression AST node ID.

public const int BinaryOperatorExpression = 10014

BinaryOperatorPattern

Gets the BinaryOperatorPattern AST node ID.

public const int BinaryOperatorPattern = 10015

BlockStatement

Gets the BlockStatement AST node ID.

public const int BlockStatement = 10016

BreakStatement

Gets the BreakStatement AST node ID.

public const int BreakStatement = 10017

CastExpression

Gets the CastExpression AST node ID.

public const int CastExpression = 10018

CatchClause

Gets the CatchClause AST node ID.

public const int CatchClause = 10019

CheckedExpression

Gets the CheckedExpression AST node ID.

public const int CheckedExpression = 10020

CheckedStatement

Gets the CheckedStatement AST node ID.

public const int CheckedStatement = 10021

ClassBody

Gets the ClassBody AST node ID.

public const int ClassBody = 10022

ClassDeclaration

Gets the ClassDeclaration AST node ID.

public const int ClassDeclaration = 10023

CompilationUnit

Gets the CompilationUnit AST node ID.

public const int CompilationUnit = 10024

CompilationUnitOption

Gets the CompilationUnitOption AST node ID.

public const int CompilationUnitOption = 10025

ConditionalExpression

Gets the ConditionalExpression AST node ID.

public const int ConditionalExpression = 10026

ConstantPattern

Gets the ConstantPattern AST node ID.

public const int ConstantPattern = 10027

ConstructorBody

Gets the ConstructorBody AST node ID.

public const int ConstructorBody = 10028

ConstructorDeclaration

Gets the ConstructorDeclaration AST node ID.

public const int ConstructorDeclaration = 10029

ContinueStatement

Gets the ContinueStatement AST node ID.

public const int ContinueStatement = 10030

DeclarationPattern

Gets the DeclarationPattern AST node ID.

public const int DeclarationPattern = 10031

DefaultValueExpression

Gets the DefaultValueExpression AST node ID.

public const int DefaultValueExpression = 10032

DelegateDeclaration

Gets the DelegateDeclaration AST node ID.

public const int DelegateDeclaration = 10033

Designation

Gets the Designation AST node ID.

public const int Designation = 10034

DiscardDesignation

Gets the DiscardDesignation AST node ID.

public const int DiscardDesignation = 10035

DiscardPattern

Gets the DiscardPattern AST node ID.

public const int DiscardPattern = 10036

DistinctQueryOperator

Gets the DistinctQueryOperator AST node ID.

public const int DistinctQueryOperator = 10037

DoStatement

Gets the DoStatement AST node ID.

public const int DoStatement = 10039

DocumentationComment

Gets the DocumentationComment AST node ID.

public const int DocumentationComment = 10038

ElseIfSection

Gets the ElseIfSection AST node ID.

public const int ElseIfSection = 10040

EndStatement

Gets the EndStatement AST node ID.

public const int EndStatement = 10041

EnumerationBody

Gets the EnumerationBody AST node ID.

public const int EnumerationBody = 10042

EnumerationDeclaration

Gets the EnumerationDeclaration AST node ID.

public const int EnumerationDeclaration = 10043

EnumerationMemberDeclaration

Gets the EnumerationMemberDeclaration AST node ID.

public const int EnumerationMemberDeclaration = 10044

EventBody

Gets the EventBody AST node ID.

public const int EventBody = 10045

EventDeclaration

Gets the EventDeclaration AST node ID.

public const int EventDeclaration = 10046

ExitStatement

Gets the ExitStatement AST node ID.

public const int ExitStatement = 10047

Expression

Gets the Expression AST node ID.

public const int Expression = 10048

ExpressionStatement

Gets the ExpressionStatement AST node ID.

public const int ExpressionStatement = 10049

ExternalAliasDirective

Gets the ExternalAliasDirective AST node ID.

public const int ExternalAliasDirective = 10050

ExternalAliasDirectiveSection

Gets the ExternalAliasDirectiveSection AST node ID.

public const int ExternalAliasDirectiveSection = 10051

FieldDeclaration

Gets the FieldDeclaration AST node ID.

public const int FieldDeclaration = 10052

FixedSizeBufferDeclaration

Gets the FixedSizeBufferDeclaration AST node ID.

public const int FixedSizeBufferDeclaration = 10053

FixedSizeBufferDeclarator

Gets the FixedSizeBufferDeclarator AST node ID.

public const int FixedSizeBufferDeclarator = 10054

FixedStatement

Gets the FixedStatement AST node ID.

public const int FixedStatement = 10055

ForEachStatement

Gets the ForEachStatement AST node ID.

public const int ForEachStatement = 10056

ForStatement

Gets the ForStatement AST node ID.

public const int ForStatement = 10057

FromQueryOperator

Gets the FromQueryOperator AST node ID.

public const int FromQueryOperator = 10058

GoToStatement

Gets the GoToStatement AST node ID.

public const int GoToStatement = 10059

GroupQueryOperator

Gets the GroupQueryOperator AST node ID.

public const int GroupQueryOperator = 10060

IfStatement

Gets the IfStatement AST node ID.

public const int IfStatement = 10061

InitializerExpression

Gets the InitializerExpression AST node ID.

public const int InitializerExpression = 10062

InstanceExpression

Gets the InstanceExpression AST node ID.

public const int InstanceExpression = 10063

InterfaceBody

Gets the InterfaceBody AST node ID.

public const int InterfaceBody = 10064

InterfaceDeclaration

Gets the InterfaceDeclaration AST node ID.

public const int InterfaceDeclaration = 10065

InvocationExpression

Gets the InvocationExpression AST node ID.

public const int InvocationExpression = 10066

IsPatternExpression

Gets the IsPatternExpression AST node ID.

public const int IsPatternExpression = 10067

IsTypeOfExpression

Gets the IsTypeOfExpression AST node ID.

public const int IsTypeOfExpression = 10068

JoinQueryOperator

Gets the JoinQueryOperator AST node ID.

public const int JoinQueryOperator = 10069

LabeledStatement

Gets the LabeledStatement AST node ID.

public const int LabeledStatement = 10070

LambdaExpression

Gets the LambdaExpression AST node ID.

public const int LambdaExpression = 10071

LetQueryOperator

Gets the LetQueryOperator AST node ID.

public const int LetQueryOperator = 10072

LiteralExpression

Gets the LiteralExpression AST node ID.

public const int LiteralExpression = 10073

LocalFunctionStatement

Gets the LocalFunctionStatement AST node ID.

public const int LocalFunctionStatement = 10074

LocalFunctionStatementBody

Gets the LocalFunctionStatementBody AST node ID.

public const int LocalFunctionStatementBody = 10075

LocalVariableDeclaration

Gets the LocalVariableDeclaration AST node ID.

public const int LocalVariableDeclaration = 10076

LockStatement

Gets the LockStatement AST node ID.

public const int LockStatement = 10077

MemberAccess

Gets the MemberAccess AST node ID.

public const int MemberAccess = 10078

MethodBody

Gets the MethodBody AST node ID.

public const int MethodBody = 10079

MethodDeclaration

Gets the MethodDeclaration AST node ID.

public const int MethodDeclaration = 10080

NameOfExpression

Gets the NameOfExpression AST node ID.

public const int NameOfExpression = 10081

NamespaceBody

Gets the NamespaceBody AST node ID.

public const int NamespaceBody = 10082

NamespaceDeclaration

Gets the NamespaceDeclaration AST node ID.

public const int NamespaceDeclaration = 10083

ObjectCreationExpression

Gets the ObjectCreationExpression AST node ID.

public const int ObjectCreationExpression = 10084

OperatorBody

Gets the OperatorBody AST node ID.

public const int OperatorBody = 10085

OperatorDeclaration

Gets the OperatorDeclaration AST node ID.

public const int OperatorDeclaration = 10086

OrderByQueryOperator

Gets the OrderByQueryOperator AST node ID.

public const int OrderByQueryOperator = 10087

Ordering

Gets the Ordering AST node ID.

public const int Ordering = 10088

ParameterDeclaration

Gets the ParameterDeclaration AST node ID.

public const int ParameterDeclaration = 10089

ParenthesizedExpression

Gets the ParenthesizedExpression AST node ID.

public const int ParenthesizedExpression = 10090

Pattern

Gets the Pattern AST node ID.

public const int Pattern = 10091

PositionalPattern

Gets the PositionalPattern AST node ID.

public const int PositionalPattern = 10092

PreprocessorDirective

Gets the PreprocessorDirective AST node ID.

public const int PreprocessorDirective = 10093

PropertyBody

Gets the PropertyBody AST node ID.

public const int PropertyBody = 10094

PropertyDeclaration

Gets the PropertyDeclaration AST node ID.

public const int PropertyDeclaration = 10095

PropertyPattern

Gets the PropertyPattern AST node ID.

public const int PropertyPattern = 10096

QualifiedName

Gets the QualifiedName AST node ID.

public const int QualifiedName = 10097

QueryExpression

Gets the QueryExpression AST node ID.

public const int QueryExpression = 10098

QueryOperator

Gets the QueryOperator AST node ID.

public const int QueryOperator = 10099

RangeVariableDeclaration

Gets the RangeVariableDeclaration AST node ID.

public const int RangeVariableDeclaration = 10100

RangeVariableDeclarator

Gets the RangeVariableDeclarator AST node ID.

public const int RangeVariableDeclarator = 10101

RefExpression

Gets the RefExpression AST node ID.

public const int RefExpression = 10102

RegionPreprocessorDirective

Gets the RegionPreprocessorDirective AST node ID.

public const int RegionPreprocessorDirective = 10103

RelationalPattern

Gets the RelationalPattern AST node ID.

public const int RelationalPattern = 10104

ReturnStatement

Gets the ReturnStatement AST node ID.

public const int ReturnStatement = 10105

ReturnTypeDeclaration

Gets the ReturnTypeDeclaration AST node ID.

public const int ReturnTypeDeclaration = 10106

ReturnTypeExpression

Gets the ReturnTypeExpression AST node ID.

public const int ReturnTypeExpression = 10107

SelectQueryOperator

Gets the SelectQueryOperator AST node ID.

public const int SelectQueryOperator = 10108

SimpleName

Gets the SimpleName AST node ID.

public const int SimpleName = 10109

SingleVariableDesignation

Gets the SingleVariableDesignation AST node ID.

public const int SingleVariableDesignation = 10110

SizeOfExpression

Gets the SizeOfExpression AST node ID.

public const int SizeOfExpression = 10111

SkipQueryOperator

Gets the SkipQueryOperator AST node ID.

public const int SkipQueryOperator = 10112

SkipWhileQueryOperator

Gets the SkipWhileQueryOperator AST node ID.

public const int SkipWhileQueryOperator = 10113

StackAllocationInitializer

Gets the StackAllocationInitializer AST node ID.

public const int StackAllocationInitializer = 10114

Statement

Gets the Statement AST node ID.

public const int Statement = 10115

StopStatement

Gets the StopStatement AST node ID.

public const int StopStatement = 10116

StructureBody

Gets the StructureBody AST node ID.

public const int StructureBody = 10117

StructureDeclaration

Gets the StructureDeclaration AST node ID.

public const int StructureDeclaration = 10118

SubPattern

Gets the SubPattern AST node ID.

public const int SubPattern = 10119

SwitchExpression

Gets the SwitchExpression AST node ID.

public const int SwitchExpression = 10120

SwitchExpressionArm

Gets the SwitchExpressionArm AST node ID.

public const int SwitchExpressionArm = 10121

SwitchLabel

Gets the SwitchLabel AST node ID.

public const int SwitchLabel = 10122

SwitchSection

Gets the SwitchSection AST node ID.

public const int SwitchSection = 10123

SwitchStatement

Gets the SwitchStatement AST node ID.

public const int SwitchStatement = 10124

TakeQueryOperator

Gets the TakeQueryOperator AST node ID.

public const int TakeQueryOperator = 10125

TakeWhileQueryOperator

Gets the TakeWhileQueryOperator AST node ID.

public const int TakeWhileQueryOperator = 10126

ThrowExpression

Gets the ThrowExpression AST node ID.

public const int ThrowExpression = 10127

TryCastExpression

Gets the TryCastExpression AST node ID.

public const int TryCastExpression = 10128

TryStatement

Gets the TryStatement AST node ID.

public const int TryStatement = 10129

TupleDesignation

Gets the TupleDesignation AST node ID.

public const int TupleDesignation = 10130

TupleLiteralDeclaration

Gets the TupleLiteralDeclaration AST node ID.

public const int TupleLiteralDeclaration = 10131

TupleLiteralDeclarator

Gets the TupleLiteralDeclarator AST node ID.

public const int TupleLiteralDeclarator = 10132

TypeDeclaration

Gets the TypeDeclaration AST node ID.

public const int TypeDeclaration = 10133

TypeMemberDeclaration

Gets the TypeMemberDeclaration AST node ID.

public const int TypeMemberDeclaration = 10134

TypeOfExpression

Gets the TypeOfExpression AST node ID.

public const int TypeOfExpression = 10135

TypeParameter

Gets the TypeParameter AST node ID.

public const int TypeParameter = 10136

TypePattern

Gets the TypePattern AST node ID.

public const int TypePattern = 10137

UnaryOperatorExpression

Gets the UnaryOperatorExpression AST node ID.

public const int UnaryOperatorExpression = 10138

UnaryOperatorPattern

Gets the UnaryOperatorPattern AST node ID.

public const int UnaryOperatorPattern = 10139

UncheckedExpression

Gets the UncheckedExpression AST node ID.

public const int UncheckedExpression = 10140

UncheckedStatement

Gets the UncheckedStatement AST node ID.

public const int UncheckedStatement = 10141

UnsafeStatement

Gets the UnsafeStatement AST node ID.

public const int UnsafeStatement = 10142

UnstructuredErrorHandlerStatement

Gets the UnstructuredErrorHandlerStatement AST node ID.

public const int UnstructuredErrorHandlerStatement = 10143

UnstructuredErrorResumeStatement

Gets the UnstructuredErrorResumeStatement AST node ID.

public const int UnstructuredErrorResumeStatement = 10144

UnstructuredErrorThrowStatement

Gets the UnstructuredErrorThrowStatement AST node ID.

public const int UnstructuredErrorThrowStatement = 10145

UsingDirective

Gets the UsingDirective AST node ID.

public const int UsingDirective = 10146

UsingDirectiveSection

Gets the UsingDirectiveSection AST node ID.

public const int UsingDirectiveSection = 10147

UsingStatement

Gets the UsingStatement AST node ID.

public const int UsingStatement = 10148

VarPattern

Gets the VarPattern AST node ID.

public const int VarPattern = 10151

VariableDeclarationExpression

Gets the VariableDeclarationExpression AST node ID.

public const int VariableDeclarationExpression = 10149

VariableDeclarator

Gets the VariableDeclarator AST node ID.

public const int VariableDeclarator = 10150

WhereQueryOperator

Gets the WhereQueryOperator AST node ID.

public const int WhereQueryOperator = 10152

WhileStatement

Gets the WhileStatement AST node ID.

public const int WhileStatement = 10153

WithExpression

Gets the WithExpression AST node ID.

public const int WithExpression = 10154

WithStatement

Gets the WithStatement AST node ID.

public const int WithStatement = 10155

WithTargetExpression

Gets the WithTargetExpression AST node ID.

public const int WithTargetExpression = 10156

XmlNamespaceExpression

Gets the XmlNamespaceExpression AST node ID.

public const int XmlNamespaceExpression = 10157

YieldStatement

Gets the YieldStatement AST node ID.

public const int YieldStatement = 10158

Inherited Members