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 v25.1.0.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

CollectionElement

Gets the CollectionElement AST node ID.

public const int CollectionElement = 10027

CollectionExpression

Gets the CollectionExpression AST node ID.

public const int CollectionExpression = 10028

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 = 10029

ConstructorBody

Gets the ConstructorBody AST node ID.

public const int ConstructorBody = 10030

ConstructorDeclaration

Gets the ConstructorDeclaration AST node ID.

public const int ConstructorDeclaration = 10031

ContinueStatement

Gets the ContinueStatement AST node ID.

public const int ContinueStatement = 10032

DeclarationExpression

Gets the DeclarationExpression AST node ID.

public const int DeclarationExpression = 10033

DeclarationPattern

Gets the DeclarationPattern AST node ID.

public const int DeclarationPattern = 10034

DefaultValueExpression

Gets the DefaultValueExpression AST node ID.

public const int DefaultValueExpression = 10035

DelegateDeclaration

Gets the DelegateDeclaration AST node ID.

public const int DelegateDeclaration = 10036

Designation

Gets the Designation AST node ID.

public const int Designation = 10037

DiscardDesignation

Gets the DiscardDesignation AST node ID.

public const int DiscardDesignation = 10038

DiscardPattern

Gets the DiscardPattern AST node ID.

public const int DiscardPattern = 10039

DistinctQueryOperator

Gets the DistinctQueryOperator AST node ID.

public const int DistinctQueryOperator = 10040

DoStatement

Gets the DoStatement AST node ID.

public const int DoStatement = 10042

DocumentationComment

Gets the DocumentationComment AST node ID.

public const int DocumentationComment = 10041

ElseIfSection

Gets the ElseIfSection AST node ID.

public const int ElseIfSection = 10043

EndStatement

Gets the EndStatement AST node ID.

public const int EndStatement = 10044

EnumerationBody

Gets the EnumerationBody AST node ID.

public const int EnumerationBody = 10045

EnumerationDeclaration

Gets the EnumerationDeclaration AST node ID.

public const int EnumerationDeclaration = 10046

EnumerationMemberDeclaration

Gets the EnumerationMemberDeclaration AST node ID.

public const int EnumerationMemberDeclaration = 10047

EventBody

Gets the EventBody AST node ID.

public const int EventBody = 10048

EventDeclaration

Gets the EventDeclaration AST node ID.

public const int EventDeclaration = 10049

ExitStatement

Gets the ExitStatement AST node ID.

public const int ExitStatement = 10050

Expression

Gets the Expression AST node ID.

public const int Expression = 10051

ExpressionElement

Gets the ExpressionElement AST node ID.

public const int ExpressionElement = 10052

ExpressionStatement

Gets the ExpressionStatement AST node ID.

public const int ExpressionStatement = 10053

ExternalAliasDirective

Gets the ExternalAliasDirective AST node ID.

public const int ExternalAliasDirective = 10054

ExternalAliasDirectiveSection

Gets the ExternalAliasDirectiveSection AST node ID.

public const int ExternalAliasDirectiveSection = 10055

FieldDeclaration

Gets the FieldDeclaration AST node ID.

public const int FieldDeclaration = 10056

FixedSizeBufferDeclaration

Gets the FixedSizeBufferDeclaration AST node ID.

public const int FixedSizeBufferDeclaration = 10057

FixedSizeBufferDeclarator

Gets the FixedSizeBufferDeclarator AST node ID.

public const int FixedSizeBufferDeclarator = 10058

FixedStatement

Gets the FixedStatement AST node ID.

public const int FixedStatement = 10059

ForEachStatement

Gets the ForEachStatement AST node ID.

public const int ForEachStatement = 10060

ForStatement

Gets the ForStatement AST node ID.

public const int ForStatement = 10061

FromQueryOperator

Gets the FromQueryOperator AST node ID.

public const int FromQueryOperator = 10062

GoToStatement

Gets the GoToStatement AST node ID.

public const int GoToStatement = 10063

GroupQueryOperator

Gets the GroupQueryOperator AST node ID.

public const int GroupQueryOperator = 10064

IfStatement

Gets the IfStatement AST node ID.

public const int IfStatement = 10065

InitializerExpression

Gets the InitializerExpression AST node ID.

public const int InitializerExpression = 10066

InstanceExpression

Gets the InstanceExpression AST node ID.

public const int InstanceExpression = 10067

InterfaceBody

Gets the InterfaceBody AST node ID.

public const int InterfaceBody = 10068

InterfaceDeclaration

Gets the InterfaceDeclaration AST node ID.

public const int InterfaceDeclaration = 10069

InvocationExpression

Gets the InvocationExpression AST node ID.

public const int InvocationExpression = 10070

IsPatternExpression

Gets the IsPatternExpression AST node ID.

public const int IsPatternExpression = 10071

IsTypeOfExpression

Gets the IsTypeOfExpression AST node ID.

public const int IsTypeOfExpression = 10072

JoinQueryOperator

Gets the JoinQueryOperator AST node ID.

public const int JoinQueryOperator = 10073

LabeledStatement

Gets the LabeledStatement AST node ID.

public const int LabeledStatement = 10074

LambdaExpression

Gets the LambdaExpression AST node ID.

public const int LambdaExpression = 10075

LetQueryOperator

Gets the LetQueryOperator AST node ID.

public const int LetQueryOperator = 10076

ListPattern

Gets the ListPattern AST node ID.

public const int ListPattern = 10077

LiteralExpression

Gets the LiteralExpression AST node ID.

public const int LiteralExpression = 10078

LocalFunctionStatement

Gets the LocalFunctionStatement AST node ID.

public const int LocalFunctionStatement = 10079

LocalFunctionStatementBody

Gets the LocalFunctionStatementBody AST node ID.

public const int LocalFunctionStatementBody = 10080

LocalVariableDeclaration

Gets the LocalVariableDeclaration AST node ID.

public const int LocalVariableDeclaration = 10081

LockStatement

Gets the LockStatement AST node ID.

public const int LockStatement = 10082

MemberAccess

Gets the MemberAccess AST node ID.

public const int MemberAccess = 10083

MethodBody

Gets the MethodBody AST node ID.

public const int MethodBody = 10084

MethodDeclaration

Gets the MethodDeclaration AST node ID.

public const int MethodDeclaration = 10085

NameOfExpression

Gets the NameOfExpression AST node ID.

public const int NameOfExpression = 10086

NamespaceBody

Gets the NamespaceBody AST node ID.

public const int NamespaceBody = 10087

NamespaceDeclaration

Gets the NamespaceDeclaration AST node ID.

public const int NamespaceDeclaration = 10088

ObjectCreationExpression

Gets the ObjectCreationExpression AST node ID.

public const int ObjectCreationExpression = 10089

OperatorBody

Gets the OperatorBody AST node ID.

public const int OperatorBody = 10090

OperatorDeclaration

Gets the OperatorDeclaration AST node ID.

public const int OperatorDeclaration = 10091

OrderByQueryOperator

Gets the OrderByQueryOperator AST node ID.

public const int OrderByQueryOperator = 10092

Ordering

Gets the Ordering AST node ID.

public const int Ordering = 10093

ParameterDeclaration

Gets the ParameterDeclaration AST node ID.

public const int ParameterDeclaration = 10094

ParenthesizedExpression

Gets the ParenthesizedExpression AST node ID.

public const int ParenthesizedExpression = 10095

Pattern

Gets the Pattern AST node ID.

public const int Pattern = 10096

PositionalPattern

Gets the PositionalPattern AST node ID.

public const int PositionalPattern = 10097

PreprocessorDirective

Gets the PreprocessorDirective AST node ID.

public const int PreprocessorDirective = 10098

PropertyBody

Gets the PropertyBody AST node ID.

public const int PropertyBody = 10099

PropertyDeclaration

Gets the PropertyDeclaration AST node ID.

public const int PropertyDeclaration = 10100

PropertyPattern

Gets the PropertyPattern AST node ID.

public const int PropertyPattern = 10101

QualifiedName

Gets the QualifiedName AST node ID.

public const int QualifiedName = 10102

QueryExpression

Gets the QueryExpression AST node ID.

public const int QueryExpression = 10103

QueryOperator

Gets the QueryOperator AST node ID.

public const int QueryOperator = 10104

RangeVariableDeclaration

Gets the RangeVariableDeclaration AST node ID.

public const int RangeVariableDeclaration = 10105

RangeVariableDeclarator

Gets the RangeVariableDeclarator AST node ID.

public const int RangeVariableDeclarator = 10106

RefExpression

Gets the RefExpression AST node ID.

public const int RefExpression = 10107

RegionPreprocessorDirective

Gets the RegionPreprocessorDirective AST node ID.

public const int RegionPreprocessorDirective = 10108

RelationalPattern

Gets the RelationalPattern AST node ID.

public const int RelationalPattern = 10109

ReturnStatement

Gets the ReturnStatement AST node ID.

public const int ReturnStatement = 10110

ReturnTypeDeclaration

Gets the ReturnTypeDeclaration AST node ID.

public const int ReturnTypeDeclaration = 10111

ReturnTypeExpression

Gets the ReturnTypeExpression AST node ID.

public const int ReturnTypeExpression = 10112

SelectQueryOperator

Gets the SelectQueryOperator AST node ID.

public const int SelectQueryOperator = 10113

SimpleName

Gets the SimpleName AST node ID.

public const int SimpleName = 10114

SingleVariableDesignation

Gets the SingleVariableDesignation AST node ID.

public const int SingleVariableDesignation = 10115

SizeOfExpression

Gets the SizeOfExpression AST node ID.

public const int SizeOfExpression = 10116

SkipQueryOperator

Gets the SkipQueryOperator AST node ID.

public const int SkipQueryOperator = 10117

SkipWhileQueryOperator

Gets the SkipWhileQueryOperator AST node ID.

public const int SkipWhileQueryOperator = 10118

SlicePattern

Gets the SlicePattern AST node ID.

public const int SlicePattern = 10119

SpreadElement

Gets the SpreadElement AST node ID.

public const int SpreadElement = 10120

StackAllocationInitializer

Gets the StackAllocationInitializer AST node ID.

public const int StackAllocationInitializer = 10121

Statement

Gets the Statement AST node ID.

public const int Statement = 10122

StopStatement

Gets the StopStatement AST node ID.

public const int StopStatement = 10123

StructureBody

Gets the StructureBody AST node ID.

public const int StructureBody = 10124

StructureDeclaration

Gets the StructureDeclaration AST node ID.

public const int StructureDeclaration = 10125

SubPattern

Gets the SubPattern AST node ID.

public const int SubPattern = 10126

SwitchExpression

Gets the SwitchExpression AST node ID.

public const int SwitchExpression = 10127

SwitchExpressionArm

Gets the SwitchExpressionArm AST node ID.

public const int SwitchExpressionArm = 10128

SwitchLabel

Gets the SwitchLabel AST node ID.

public const int SwitchLabel = 10129

SwitchSection

Gets the SwitchSection AST node ID.

public const int SwitchSection = 10130

SwitchStatement

Gets the SwitchStatement AST node ID.

public const int SwitchStatement = 10131

TakeQueryOperator

Gets the TakeQueryOperator AST node ID.

public const int TakeQueryOperator = 10132

TakeWhileQueryOperator

Gets the TakeWhileQueryOperator AST node ID.

public const int TakeWhileQueryOperator = 10133

ThrowExpression

Gets the ThrowExpression AST node ID.

public const int ThrowExpression = 10134

TryCastExpression

Gets the TryCastExpression AST node ID.

public const int TryCastExpression = 10135

TryStatement

Gets the TryStatement AST node ID.

public const int TryStatement = 10136

TupleDesignation

Gets the TupleDesignation AST node ID.

public const int TupleDesignation = 10137

TupleLiteralDeclaration

Gets the TupleLiteralDeclaration AST node ID.

public const int TupleLiteralDeclaration = 10138

TupleLiteralDeclarator

Gets the TupleLiteralDeclarator AST node ID.

public const int TupleLiteralDeclarator = 10139

TypeDeclaration

Gets the TypeDeclaration AST node ID.

public const int TypeDeclaration = 10140

TypeMemberDeclaration

Gets the TypeMemberDeclaration AST node ID.

public const int TypeMemberDeclaration = 10141

TypeOfExpression

Gets the TypeOfExpression AST node ID.

public const int TypeOfExpression = 10142

TypeParameter

Gets the TypeParameter AST node ID.

public const int TypeParameter = 10143

TypePattern

Gets the TypePattern AST node ID.

public const int TypePattern = 10144

UnaryOperatorExpression

Gets the UnaryOperatorExpression AST node ID.

public const int UnaryOperatorExpression = 10145

UnaryOperatorPattern

Gets the UnaryOperatorPattern AST node ID.

public const int UnaryOperatorPattern = 10146

UncheckedExpression

Gets the UncheckedExpression AST node ID.

public const int UncheckedExpression = 10147

UncheckedStatement

Gets the UncheckedStatement AST node ID.

public const int UncheckedStatement = 10148

UnsafeStatement

Gets the UnsafeStatement AST node ID.

public const int UnsafeStatement = 10149

UnstructuredErrorHandlerStatement

Gets the UnstructuredErrorHandlerStatement AST node ID.

public const int UnstructuredErrorHandlerStatement = 10150

UnstructuredErrorResumeStatement

Gets the UnstructuredErrorResumeStatement AST node ID.

public const int UnstructuredErrorResumeStatement = 10151

UnstructuredErrorThrowStatement

Gets the UnstructuredErrorThrowStatement AST node ID.

public const int UnstructuredErrorThrowStatement = 10152

UsingDirective

Gets the UsingDirective AST node ID.

public const int UsingDirective = 10153

UsingDirectiveSection

Gets the UsingDirectiveSection AST node ID.

public const int UsingDirectiveSection = 10154

UsingStatement

Gets the UsingStatement AST node ID.

public const int UsingStatement = 10155

VarPattern

Gets the VarPattern AST node ID.

public const int VarPattern = 10158

VariableDeclarationExpression

Gets the VariableDeclarationExpression AST node ID.

public const int VariableDeclarationExpression = 10156

VariableDeclarator

Gets the VariableDeclarator AST node ID.

public const int VariableDeclarator = 10157

WhereQueryOperator

Gets the WhereQueryOperator AST node ID.

public const int WhereQueryOperator = 10159

WhileStatement

Gets the WhileStatement AST node ID.

public const int WhileStatement = 10160

WithExpression

Gets the WithExpression AST node ID.

public const int WithExpression = 10161

WithStatement

Gets the WithStatement AST node ID.

public const int WithStatement = 10162

WithTargetExpression

Gets the WithTargetExpression AST node ID.

public const int WithTargetExpression = 10163

XmlNamespaceExpression

Gets the XmlNamespaceExpression AST node ID.

public const int XmlNamespaceExpression = 10164

YieldStatement

Gets the YieldStatement AST node ID.

public const int YieldStatement = 10165

Inherited Members