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 v26.1.0 (http://www.actiprosoftware.com).

Constructors

DotNetAstNodeId()

Initializes an instance of the class.

public DotNetAstNodeId()

Properties

MaxId

The maximum ID returned by this provider.

public override int MaxId { get; }

Property Value

int

MinId

The minimum ID returned by this provider.

public override int MinId { get; }

Property Value

int

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:

true if 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

string

GetKey(int)

Returns the string-based key for the specified ID.

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

The ID to examine.

Returns

string

Fields

AccessorBody

The AccessorBody AST node ID.

public const int AccessorBody = 10000

AccessorDeclaration

The AccessorDeclaration AST node ID.

public const int AccessorDeclaration = 10001

AddressOfExpression

The AddressOfExpression AST node ID.

public const int AddressOfExpression = 10002

AggregateQueryOperator

The AggregateQueryOperator AST node ID.

public const int AggregateQueryOperator = 10003

AnonymousMethodExpression

The AnonymousMethodExpression AST node ID.

public const int AnonymousMethodExpression = 10004

Argument

The Argument AST node ID.

public const int Argument = 10005

ArrayEraseStatement

The ArrayEraseStatement AST node ID.

public const int ArrayEraseStatement = 10006

ArrayReallocateClause

The ArrayReallocateClause AST node ID.

public const int ArrayReallocateClause = 10007

ArrayReallocateStatement

The ArrayReallocateStatement AST node ID.

public const int ArrayReallocateStatement = 10008

AssignmentExpression

The AssignmentExpression AST node ID.

public const int AssignmentExpression = 10009

Attribute

The Attribute AST node ID.

public const int Attribute = 10010

AttributeArgument

The AttributeArgument AST node ID.

public const int AttributeArgument = 10011

AttributeSection

The AttributeSection AST node ID.

public const int AttributeSection = 10012

AwaitExpression

The AwaitExpression AST node ID.

public const int AwaitExpression = 10013

BinaryOperatorExpression

The BinaryOperatorExpression AST node ID.

public const int BinaryOperatorExpression = 10014

BinaryOperatorPattern

The BinaryOperatorPattern AST node ID.

public const int BinaryOperatorPattern = 10015

BlockStatement

The BlockStatement AST node ID.

public const int BlockStatement = 10016

BreakStatement

The BreakStatement AST node ID.

public const int BreakStatement = 10017

CastExpression

The CastExpression AST node ID.

public const int CastExpression = 10018

CatchClause

The CatchClause AST node ID.

public const int CatchClause = 10019

CheckedExpression

The CheckedExpression AST node ID.

public const int CheckedExpression = 10020

CheckedStatement

The CheckedStatement AST node ID.

public const int CheckedStatement = 10021

ClassBody

The ClassBody AST node ID.

public const int ClassBody = 10022

ClassDeclaration

The ClassDeclaration AST node ID.

public const int ClassDeclaration = 10023

CollectionElement

The CollectionElement AST node ID.

public const int CollectionElement = 10024

CollectionExpression

The CollectionExpression AST node ID.

public const int CollectionExpression = 10025

CompilationUnit

The CompilationUnit AST node ID.

public const int CompilationUnit = 10026

CompilationUnitOption

The CompilationUnitOption AST node ID.

public const int CompilationUnitOption = 10027

ConditionalExpression

The ConditionalExpression AST node ID.

public const int ConditionalExpression = 10028

ConstantPattern

The ConstantPattern AST node ID.

public const int ConstantPattern = 10029

ConstructorBody

The ConstructorBody AST node ID.

public const int ConstructorBody = 10030

ConstructorDeclaration

The ConstructorDeclaration AST node ID.

public const int ConstructorDeclaration = 10031

ContinueStatement

The ContinueStatement AST node ID.

public const int ContinueStatement = 10032

DeclarationExpression

The DeclarationExpression AST node ID.

public const int DeclarationExpression = 10033

DeclarationPattern

The DeclarationPattern AST node ID.

public const int DeclarationPattern = 10034

DefaultValueExpression

The DefaultValueExpression AST node ID.

public const int DefaultValueExpression = 10035

DelegateDeclaration

The DelegateDeclaration AST node ID.

public const int DelegateDeclaration = 10036

Designation

The Designation AST node ID.

public const int Designation = 10037

DiscardDesignation

The DiscardDesignation AST node ID.

public const int DiscardDesignation = 10038

DiscardPattern

The DiscardPattern AST node ID.

public const int DiscardPattern = 10039

DistinctQueryOperator

The DistinctQueryOperator AST node ID.

public const int DistinctQueryOperator = 10040

DoStatement

The DoStatement AST node ID.

public const int DoStatement = 10042

DocumentationComment

The DocumentationComment AST node ID.

public const int DocumentationComment = 10041

ElseIfSection

The ElseIfSection AST node ID.

public const int ElseIfSection = 10043

EndStatement

The EndStatement AST node ID.

public const int EndStatement = 10044

EnumerationBody

The EnumerationBody AST node ID.

public const int EnumerationBody = 10045

EnumerationDeclaration

The EnumerationDeclaration AST node ID.

public const int EnumerationDeclaration = 10046

EnumerationMemberDeclaration

The EnumerationMemberDeclaration AST node ID.

public const int EnumerationMemberDeclaration = 10047

EventBody

The EventBody AST node ID.

public const int EventBody = 10048

EventDeclaration

The EventDeclaration AST node ID.

public const int EventDeclaration = 10049

ExitStatement

The ExitStatement AST node ID.

public const int ExitStatement = 10050

Expression

The Expression AST node ID.

public const int Expression = 10051

ExpressionElement

The ExpressionElement AST node ID.

public const int ExpressionElement = 10052

ExpressionStatement

The ExpressionStatement AST node ID.

public const int ExpressionStatement = 10053

ExternalAliasDirective

The ExternalAliasDirective AST node ID.

public const int ExternalAliasDirective = 10054

ExternalAliasDirectiveSection

The ExternalAliasDirectiveSection AST node ID.

public const int ExternalAliasDirectiveSection = 10055

FieldDeclaration

The FieldDeclaration AST node ID.

public const int FieldDeclaration = 10056

FixedSizeBufferDeclaration

The FixedSizeBufferDeclaration AST node ID.

public const int FixedSizeBufferDeclaration = 10057

FixedSizeBufferDeclarator

The FixedSizeBufferDeclarator AST node ID.

public const int FixedSizeBufferDeclarator = 10058

FixedStatement

The FixedStatement AST node ID.

public const int FixedStatement = 10059

ForEachStatement

The ForEachStatement AST node ID.

public const int ForEachStatement = 10060

ForStatement

The ForStatement AST node ID.

public const int ForStatement = 10061

FromQueryOperator

The FromQueryOperator AST node ID.

public const int FromQueryOperator = 10062

GoToStatement

The GoToStatement AST node ID.

public const int GoToStatement = 10063

GroupQueryOperator

The GroupQueryOperator AST node ID.

public const int GroupQueryOperator = 10064

IfStatement

The IfStatement AST node ID.

public const int IfStatement = 10065

InitializerExpression

The InitializerExpression AST node ID.

public const int InitializerExpression = 10066

InstanceExpression

The InstanceExpression AST node ID.

public const int InstanceExpression = 10067

InterfaceBody

The InterfaceBody AST node ID.

public const int InterfaceBody = 10068

InterfaceDeclaration

The InterfaceDeclaration AST node ID.

public const int InterfaceDeclaration = 10069

InvocationExpression

The InvocationExpression AST node ID.

public const int InvocationExpression = 10070

IsPatternExpression

The IsPatternExpression AST node ID.

public const int IsPatternExpression = 10071

IsTypeOfExpression

The IsTypeOfExpression AST node ID.

public const int IsTypeOfExpression = 10072

JoinQueryOperator

The JoinQueryOperator AST node ID.

public const int JoinQueryOperator = 10073

LabeledStatement

The LabeledStatement AST node ID.

public const int LabeledStatement = 10074

LambdaExpression

The LambdaExpression AST node ID.

public const int LambdaExpression = 10075

LetQueryOperator

The LetQueryOperator AST node ID.

public const int LetQueryOperator = 10076

ListPattern

The ListPattern AST node ID.

public const int ListPattern = 10077

LiteralExpression

The LiteralExpression AST node ID.

public const int LiteralExpression = 10078

LocalFunctionStatement

The LocalFunctionStatement AST node ID.

public const int LocalFunctionStatement = 10079

LocalFunctionStatementBody

The LocalFunctionStatementBody AST node ID.

public const int LocalFunctionStatementBody = 10080

LocalVariableDeclaration

The LocalVariableDeclaration AST node ID.

public const int LocalVariableDeclaration = 10081

LockStatement

The LockStatement AST node ID.

public const int LockStatement = 10082

MemberAccess

The MemberAccess AST node ID.

public const int MemberAccess = 10083

MethodBody

The MethodBody AST node ID.

public const int MethodBody = 10084

MethodDeclaration

The MethodDeclaration AST node ID.

public const int MethodDeclaration = 10085

NameOfExpression

The NameOfExpression AST node ID.

public const int NameOfExpression = 10086

NamespaceBody

The NamespaceBody AST node ID.

public const int NamespaceBody = 10087

NamespaceDeclaration

The NamespaceDeclaration AST node ID.

public const int NamespaceDeclaration = 10088

ObjectCreationExpression

The ObjectCreationExpression AST node ID.

public const int ObjectCreationExpression = 10089

OperatorBody

The OperatorBody AST node ID.

public const int OperatorBody = 10090

OperatorDeclaration

The OperatorDeclaration AST node ID.

public const int OperatorDeclaration = 10091

OrderByQueryOperator

The OrderByQueryOperator AST node ID.

public const int OrderByQueryOperator = 10092

Ordering

The Ordering AST node ID.

public const int Ordering = 10093

ParameterDeclaration

The ParameterDeclaration AST node ID.

public const int ParameterDeclaration = 10094

ParenthesizedExpression

The ParenthesizedExpression AST node ID.

public const int ParenthesizedExpression = 10095

Pattern

The Pattern AST node ID.

public const int Pattern = 10096

PositionalPattern

The PositionalPattern AST node ID.

public const int PositionalPattern = 10097

PreprocessorDirective

The PreprocessorDirective AST node ID.

public const int PreprocessorDirective = 10098

PropertyBody

The PropertyBody AST node ID.

public const int PropertyBody = 10099

PropertyDeclaration

The PropertyDeclaration AST node ID.

public const int PropertyDeclaration = 10100

PropertyPattern

The PropertyPattern AST node ID.

public const int PropertyPattern = 10101

QualifiedName

The QualifiedName AST node ID.

public const int QualifiedName = 10102

QueryExpression

The QueryExpression AST node ID.

public const int QueryExpression = 10103

QueryOperator

The QueryOperator AST node ID.

public const int QueryOperator = 10104

RangeVariableDeclaration

The RangeVariableDeclaration AST node ID.

public const int RangeVariableDeclaration = 10105

RangeVariableDeclarator

The RangeVariableDeclarator AST node ID.

public const int RangeVariableDeclarator = 10106

RefExpression

The RefExpression AST node ID.

public const int RefExpression = 10107

RegionPreprocessorDirective

The RegionPreprocessorDirective AST node ID.

public const int RegionPreprocessorDirective = 10108

RelationalPattern

The RelationalPattern AST node ID.

public const int RelationalPattern = 10109

ReturnStatement

The ReturnStatement AST node ID.

public const int ReturnStatement = 10110

ReturnTypeDeclaration

The ReturnTypeDeclaration AST node ID.

public const int ReturnTypeDeclaration = 10111

ReturnTypeExpression

The ReturnTypeExpression AST node ID.

public const int ReturnTypeExpression = 10112

SelectQueryOperator

The SelectQueryOperator AST node ID.

public const int SelectQueryOperator = 10113

SimpleName

The SimpleName AST node ID.

public const int SimpleName = 10114

SingleVariableDesignation

The SingleVariableDesignation AST node ID.

public const int SingleVariableDesignation = 10115

SizeOfExpression

The SizeOfExpression AST node ID.

public const int SizeOfExpression = 10116

SkipQueryOperator

The SkipQueryOperator AST node ID.

public const int SkipQueryOperator = 10117

SkipWhileQueryOperator

The SkipWhileQueryOperator AST node ID.

public const int SkipWhileQueryOperator = 10118

SlicePattern

The SlicePattern AST node ID.

public const int SlicePattern = 10119

SpreadElement

The SpreadElement AST node ID.

public const int SpreadElement = 10120

StackAllocationInitializer

The StackAllocationInitializer AST node ID.

public const int StackAllocationInitializer = 10121

Statement

The Statement AST node ID.

public const int Statement = 10122

StopStatement

The StopStatement AST node ID.

public const int StopStatement = 10123

StructureBody

The StructureBody AST node ID.

public const int StructureBody = 10124

StructureDeclaration

The StructureDeclaration AST node ID.

public const int StructureDeclaration = 10125

SubPattern

The SubPattern AST node ID.

public const int SubPattern = 10126

SwitchExpression

The SwitchExpression AST node ID.

public const int SwitchExpression = 10127

SwitchExpressionArm

The SwitchExpressionArm AST node ID.

public const int SwitchExpressionArm = 10128

SwitchLabel

The SwitchLabel AST node ID.

public const int SwitchLabel = 10129

SwitchSection

The SwitchSection AST node ID.

public const int SwitchSection = 10130

SwitchStatement

The SwitchStatement AST node ID.

public const int SwitchStatement = 10131

TakeQueryOperator

The TakeQueryOperator AST node ID.

public const int TakeQueryOperator = 10132

TakeWhileQueryOperator

The TakeWhileQueryOperator AST node ID.

public const int TakeWhileQueryOperator = 10133

ThrowExpression

The ThrowExpression AST node ID.

public const int ThrowExpression = 10134

TryCastExpression

The TryCastExpression AST node ID.

public const int TryCastExpression = 10135

TryStatement

The TryStatement AST node ID.

public const int TryStatement = 10136

TupleDesignation

The TupleDesignation AST node ID.

public const int TupleDesignation = 10137

TupleLiteralDeclaration

The TupleLiteralDeclaration AST node ID.

public const int TupleLiteralDeclaration = 10138

TupleLiteralDeclarator

The TupleLiteralDeclarator AST node ID.

public const int TupleLiteralDeclarator = 10139

TypeDeclaration

The TypeDeclaration AST node ID.

public const int TypeDeclaration = 10140

TypeMemberDeclaration

The TypeMemberDeclaration AST node ID.

public const int TypeMemberDeclaration = 10141

TypeOfExpression

The TypeOfExpression AST node ID.

public const int TypeOfExpression = 10142

TypeParameter

The TypeParameter AST node ID.

public const int TypeParameter = 10143

TypePattern

The TypePattern AST node ID.

public const int TypePattern = 10144

UnaryOperatorExpression

The UnaryOperatorExpression AST node ID.

public const int UnaryOperatorExpression = 10145

UnaryOperatorPattern

The UnaryOperatorPattern AST node ID.

public const int UnaryOperatorPattern = 10146

UncheckedExpression

The UncheckedExpression AST node ID.

public const int UncheckedExpression = 10147

UncheckedStatement

The UncheckedStatement AST node ID.

public const int UncheckedStatement = 10148

UnsafeStatement

The UnsafeStatement AST node ID.

public const int UnsafeStatement = 10149

UnstructuredErrorHandlerStatement

The UnstructuredErrorHandlerStatement AST node ID.

public const int UnstructuredErrorHandlerStatement = 10150

UnstructuredErrorResumeStatement

The UnstructuredErrorResumeStatement AST node ID.

public const int UnstructuredErrorResumeStatement = 10151

UnstructuredErrorThrowStatement

The UnstructuredErrorThrowStatement AST node ID.

public const int UnstructuredErrorThrowStatement = 10152

UsingDirective

The UsingDirective AST node ID.

public const int UsingDirective = 10153

UsingDirectiveSection

The UsingDirectiveSection AST node ID.

public const int UsingDirectiveSection = 10154

UsingStatement

The UsingStatement AST node ID.

public const int UsingStatement = 10155

VarPattern

The VarPattern AST node ID.

public const int VarPattern = 10158

VariableDeclarationExpression

The VariableDeclarationExpression AST node ID.

public const int VariableDeclarationExpression = 10156

VariableDeclarator

The VariableDeclarator AST node ID.

public const int VariableDeclarator = 10157

WhereQueryOperator

The WhereQueryOperator AST node ID.

public const int WhereQueryOperator = 10159

WhileStatement

The WhileStatement AST node ID.

public const int WhileStatement = 10160

WithExpression

The WithExpression AST node ID.

public const int WithExpression = 10161

WithStatement

The WithStatement AST node ID.

public const int WithStatement = 10162

WithTargetExpression

The WithTargetExpression AST node ID.

public const int WithTargetExpression = 10163

XmlNamespaceExpression

The XmlNamespaceExpression AST node ID.

public const int XmlNamespaceExpression = 10164

YieldStatement

The YieldStatement AST node ID.

public const int YieldStatement = 10165

Inherited Members

Extension Methods