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

Constructors

DotNetAstNodeId()

public DotNetAstNodeId()

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

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

BlockStatement

Gets the BlockStatement AST node ID.

public const int BlockStatement = 10015

BreakStatement

Gets the BreakStatement AST node ID.

public const int BreakStatement = 10016

CastExpression

Gets the CastExpression AST node ID.

public const int CastExpression = 10017

CatchClause

Gets the CatchClause AST node ID.

public const int CatchClause = 10018

CheckedExpression

Gets the CheckedExpression AST node ID.

public const int CheckedExpression = 10019

CheckedStatement

Gets the CheckedStatement AST node ID.

public const int CheckedStatement = 10020

ClassBody

Gets the ClassBody AST node ID.

public const int ClassBody = 10021

ClassDeclaration

Gets the ClassDeclaration AST node ID.

public const int ClassDeclaration = 10022

CompilationUnit

Gets the CompilationUnit AST node ID.

public const int CompilationUnit = 10023

CompilationUnitOption

Gets the CompilationUnitOption AST node ID.

public const int CompilationUnitOption = 10024

ConditionalExpression

Gets the ConditionalExpression AST node ID.

public const int ConditionalExpression = 10025

ConstantPattern

Gets the ConstantPattern AST node ID.

public const int ConstantPattern = 10026

ConstructorBody

Gets the ConstructorBody AST node ID.

public const int ConstructorBody = 10027

ConstructorDeclaration

Gets the ConstructorDeclaration AST node ID.

public const int ConstructorDeclaration = 10028

ContinueStatement

Gets the ContinueStatement AST node ID.

public const int ContinueStatement = 10029

DeclarationPattern

Gets the DeclarationPattern AST node ID.

public const int DeclarationPattern = 10030

DefaultValueExpression

Gets the DefaultValueExpression AST node ID.

public const int DefaultValueExpression = 10031

DelegateDeclaration

Gets the DelegateDeclaration AST node ID.

public const int DelegateDeclaration = 10032

Designation

Gets the Designation AST node ID.

public const int Designation = 10033

DiscardDesignation

Gets the DiscardDesignation AST node ID.

public const int DiscardDesignation = 10034

DiscardPattern

Gets the DiscardPattern AST node ID.

public const int DiscardPattern = 10035

DistinctQueryOperator

Gets the DistinctQueryOperator AST node ID.

public const int DistinctQueryOperator = 10036

DocumentationComment

Gets the DocumentationComment AST node ID.

public const int DocumentationComment = 10037

DoStatement

Gets the DoStatement AST node ID.

public const int DoStatement = 10038

ElseIfSection

Gets the ElseIfSection AST node ID.

public const int ElseIfSection = 10039

EndStatement

Gets the EndStatement AST node ID.

public const int EndStatement = 10040

EnumerationBody

Gets the EnumerationBody AST node ID.

public const int EnumerationBody = 10041

EnumerationDeclaration

Gets the EnumerationDeclaration AST node ID.

public const int EnumerationDeclaration = 10042

EnumerationMemberDeclaration

Gets the EnumerationMemberDeclaration AST node ID.

public const int EnumerationMemberDeclaration = 10043

EventBody

Gets the EventBody AST node ID.

public const int EventBody = 10044

EventDeclaration

Gets the EventDeclaration AST node ID.

public const int EventDeclaration = 10045

ExitStatement

Gets the ExitStatement AST node ID.

public const int ExitStatement = 10046

Expression

Gets the Expression AST node ID.

public const int Expression = 10047

ExpressionStatement

Gets the ExpressionStatement AST node ID.

public const int ExpressionStatement = 10048

ExternalAliasDirective

Gets the ExternalAliasDirective AST node ID.

public const int ExternalAliasDirective = 10049

ExternalAliasDirectiveSection

Gets the ExternalAliasDirectiveSection AST node ID.

public const int ExternalAliasDirectiveSection = 10050

FieldDeclaration

Gets the FieldDeclaration AST node ID.

public const int FieldDeclaration = 10051

FixedSizeBufferDeclaration

Gets the FixedSizeBufferDeclaration AST node ID.

public const int FixedSizeBufferDeclaration = 10052

FixedSizeBufferDeclarator

Gets the FixedSizeBufferDeclarator AST node ID.

public const int FixedSizeBufferDeclarator = 10053

FixedStatement

Gets the FixedStatement AST node ID.

public const int FixedStatement = 10054

ForEachStatement

Gets the ForEachStatement AST node ID.

public const int ForEachStatement = 10055

ForStatement

Gets the ForStatement AST node ID.

public const int ForStatement = 10056

FromQueryOperator

Gets the FromQueryOperator AST node ID.

public const int FromQueryOperator = 10057

GoToStatement

Gets the GoToStatement AST node ID.

public const int GoToStatement = 10058

GroupQueryOperator

Gets the GroupQueryOperator AST node ID.

public const int GroupQueryOperator = 10059

IfStatement

Gets the IfStatement AST node ID.

public const int IfStatement = 10060

InitializerExpression

Gets the InitializerExpression AST node ID.

public const int InitializerExpression = 10061

InstanceExpression

Gets the InstanceExpression AST node ID.

public const int InstanceExpression = 10062

InterfaceBody

Gets the InterfaceBody AST node ID.

public const int InterfaceBody = 10063

InterfaceDeclaration

Gets the InterfaceDeclaration AST node ID.

public const int InterfaceDeclaration = 10064

InvocationExpression

Gets the InvocationExpression AST node ID.

public const int InvocationExpression = 10065

IsPatternExpression

Gets the IsPatternExpression AST node ID.

public const int IsPatternExpression = 10066

IsTypeOfExpression

Gets the IsTypeOfExpression AST node ID.

public const int IsTypeOfExpression = 10067

JoinQueryOperator

Gets the JoinQueryOperator AST node ID.

public const int JoinQueryOperator = 10068

LabeledStatement

Gets the LabeledStatement AST node ID.

public const int LabeledStatement = 10069

LambdaExpression

Gets the LambdaExpression AST node ID.

public const int LambdaExpression = 10070

LetQueryOperator

Gets the LetQueryOperator AST node ID.

public const int LetQueryOperator = 10071

LiteralExpression

Gets the LiteralExpression AST node ID.

public const int LiteralExpression = 10072

LocalFunctionStatement

Gets the LocalFunctionStatement AST node ID.

public const int LocalFunctionStatement = 10073

LocalFunctionStatementBody

Gets the LocalFunctionStatementBody AST node ID.

public const int LocalFunctionStatementBody = 10074

LocalVariableDeclaration

Gets the LocalVariableDeclaration AST node ID.

public const int LocalVariableDeclaration = 10075

LockStatement

Gets the LockStatement AST node ID.

public const int LockStatement = 10076

MemberAccess

Gets the MemberAccess AST node ID.

public const int MemberAccess = 10077

MethodBody

Gets the MethodBody AST node ID.

public const int MethodBody = 10078

MethodDeclaration

Gets the MethodDeclaration AST node ID.

public const int MethodDeclaration = 10079

NameOfExpression

Gets the NameOfExpression AST node ID.

public const int NameOfExpression = 10080

NamespaceBody

Gets the NamespaceBody AST node ID.

public const int NamespaceBody = 10081

NamespaceDeclaration

Gets the NamespaceDeclaration AST node ID.

public const int NamespaceDeclaration = 10082

ObjectCreationExpression

Gets the ObjectCreationExpression AST node ID.

public const int ObjectCreationExpression = 10083

OperatorBody

Gets the OperatorBody AST node ID.

public const int OperatorBody = 10084

OperatorDeclaration

Gets the OperatorDeclaration AST node ID.

public const int OperatorDeclaration = 10085

OrderByQueryOperator

Gets the OrderByQueryOperator AST node ID.

public const int OrderByQueryOperator = 10086

Ordering

Gets the Ordering AST node ID.

public const int Ordering = 10087

ParameterDeclaration

Gets the ParameterDeclaration AST node ID.

public const int ParameterDeclaration = 10088

ParenthesizedExpression

Gets the ParenthesizedExpression AST node ID.

public const int ParenthesizedExpression = 10089

Pattern

Gets the Pattern AST node ID.

public const int Pattern = 10090

PositionalPattern

Gets the PositionalPattern AST node ID.

public const int PositionalPattern = 10091

PreprocessorDirective

Gets the PreprocessorDirective AST node ID.

public const int PreprocessorDirective = 10092

PropertyBody

Gets the PropertyBody AST node ID.

public const int PropertyBody = 10093

PropertyDeclaration

Gets the PropertyDeclaration AST node ID.

public const int PropertyDeclaration = 10094

PropertyPattern

Gets the PropertyPattern AST node ID.

public const int PropertyPattern = 10095

QualifiedName

Gets the QualifiedName AST node ID.

public const int QualifiedName = 10096

QueryExpression

Gets the QueryExpression AST node ID.

public const int QueryExpression = 10097

QueryOperator

Gets the QueryOperator AST node ID.

public const int QueryOperator = 10098

RangeVariableDeclaration

Gets the RangeVariableDeclaration AST node ID.

public const int RangeVariableDeclaration = 10099

RangeVariableDeclarator

Gets the RangeVariableDeclarator AST node ID.

public const int RangeVariableDeclarator = 10100

RefExpression

Gets the RefExpression AST node ID.

public const int RefExpression = 10101

RegionPreprocessorDirective

Gets the RegionPreprocessorDirective AST node ID.

public const int RegionPreprocessorDirective = 10102

ReturnStatement

Gets the ReturnStatement AST node ID.

public const int ReturnStatement = 10103

ReturnTypeDeclaration

Gets the ReturnTypeDeclaration AST node ID.

public const int ReturnTypeDeclaration = 10104

ReturnTypeExpression

Gets the ReturnTypeExpression AST node ID.

public const int ReturnTypeExpression = 10105

SelectQueryOperator

Gets the SelectQueryOperator AST node ID.

public const int SelectQueryOperator = 10106

SimpleName

Gets the SimpleName AST node ID.

public const int SimpleName = 10107

SingleVariableDesignation

Gets the SingleVariableDesignation AST node ID.

public const int SingleVariableDesignation = 10108

SizeOfExpression

Gets the SizeOfExpression AST node ID.

public const int SizeOfExpression = 10109

SkipQueryOperator

Gets the SkipQueryOperator AST node ID.

public const int SkipQueryOperator = 10110

SkipWhileQueryOperator

Gets the SkipWhileQueryOperator AST node ID.

public const int SkipWhileQueryOperator = 10111

StackAllocationInitializer

Gets the StackAllocationInitializer AST node ID.

public const int StackAllocationInitializer = 10112

Statement

Gets the Statement AST node ID.

public const int Statement = 10113

StopStatement

Gets the StopStatement AST node ID.

public const int StopStatement = 10114

StructureBody

Gets the StructureBody AST node ID.

public const int StructureBody = 10115

StructureDeclaration

Gets the StructureDeclaration AST node ID.

public const int StructureDeclaration = 10116

SubPattern

Gets the SubPattern AST node ID.

public const int SubPattern = 10117

SwitchExpression

Gets the SwitchExpression AST node ID.

public const int SwitchExpression = 10118

SwitchExpressionArm

Gets the SwitchExpressionArm AST node ID.

public const int SwitchExpressionArm = 10119

SwitchLabel

Gets the SwitchLabel AST node ID.

public const int SwitchLabel = 10120

SwitchSection

Gets the SwitchSection AST node ID.

public const int SwitchSection = 10121

SwitchStatement

Gets the SwitchStatement AST node ID.

public const int SwitchStatement = 10122

TakeQueryOperator

Gets the TakeQueryOperator AST node ID.

public const int TakeQueryOperator = 10123

TakeWhileQueryOperator

Gets the TakeWhileQueryOperator AST node ID.

public const int TakeWhileQueryOperator = 10124

ThrowExpression

Gets the ThrowExpression AST node ID.

public const int ThrowExpression = 10125

TryCastExpression

Gets the TryCastExpression AST node ID.

public const int TryCastExpression = 10126

TryStatement

Gets the TryStatement AST node ID.

public const int TryStatement = 10127

TupleDesignation

Gets the TupleDesignation AST node ID.

public const int TupleDesignation = 10128

TupleLiteralDeclaration

Gets the TupleLiteralDeclaration AST node ID.

public const int TupleLiteralDeclaration = 10129

TupleLiteralDeclarator

Gets the TupleLiteralDeclarator AST node ID.

public const int TupleLiteralDeclarator = 10130

TypeDeclaration

Gets the TypeDeclaration AST node ID.

public const int TypeDeclaration = 10131

TypeMemberDeclaration

Gets the TypeMemberDeclaration AST node ID.

public const int TypeMemberDeclaration = 10132

TypeOfExpression

Gets the TypeOfExpression AST node ID.

public const int TypeOfExpression = 10133

TypeParameter

Gets the TypeParameter AST node ID.

public const int TypeParameter = 10134

UnaryOperatorExpression

Gets the UnaryOperatorExpression AST node ID.

public const int UnaryOperatorExpression = 10135

UncheckedExpression

Gets the UncheckedExpression AST node ID.

public const int UncheckedExpression = 10136

UncheckedStatement

Gets the UncheckedStatement AST node ID.

public const int UncheckedStatement = 10137

UnsafeStatement

Gets the UnsafeStatement AST node ID.

public const int UnsafeStatement = 10138

UnstructuredErrorHandlerStatement

Gets the UnstructuredErrorHandlerStatement AST node ID.

public const int UnstructuredErrorHandlerStatement = 10139

UnstructuredErrorResumeStatement

Gets the UnstructuredErrorResumeStatement AST node ID.

public const int UnstructuredErrorResumeStatement = 10140

UnstructuredErrorThrowStatement

Gets the UnstructuredErrorThrowStatement AST node ID.

public const int UnstructuredErrorThrowStatement = 10141

UsingDirective

Gets the UsingDirective AST node ID.

public const int UsingDirective = 10142

UsingDirectiveSection

Gets the UsingDirectiveSection AST node ID.

public const int UsingDirectiveSection = 10143

UsingStatement

Gets the UsingStatement AST node ID.

public const int UsingStatement = 10144

VariableDeclarationExpression

Gets the VariableDeclarationExpression AST node ID.

public const int VariableDeclarationExpression = 10145

VariableDeclarator

Gets the VariableDeclarator AST node ID.

public const int VariableDeclarator = 10146

VarPattern

Gets the VarPattern AST node ID.

public const int VarPattern = 10147

WhereQueryOperator

Gets the WhereQueryOperator AST node ID.

public const int WhereQueryOperator = 10148

WhileStatement

Gets the WhileStatement AST node ID.

public const int WhileStatement = 10149

WithStatement

Gets the WithStatement AST node ID.

public const int WithStatement = 10150

WithTargetExpression

Gets the WithTargetExpression AST node ID.

public const int WithTargetExpression = 10151

XmlNamespaceExpression

Gets the XmlNamespaceExpression AST node ID.

public const int XmlNamespaceExpression = 10152

YieldStatement

Gets the YieldStatement AST node ID.

public const int YieldStatement = 10153

Inherited Members