PythonAstNodeId Class
Contains the AST node IDs for the Python
language.
public class PythonAstNodeId : 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
PythonAstNodeId()
public PythonAstNodeId()
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 = 14001
AssertStatement
Gets the AssertStatement
AST node ID.
public const int AssertStatement = 14002
AssignmentStatement
Gets the AssignmentStatement
AST node ID.
public const int AssignmentStatement = 14003
AttributeReferenceExpression
Gets the AttributeReferenceExpression
AST node ID.
public const int AttributeReferenceExpression = 14004
AwaitExpression
Gets the AwaitExpression
AST node ID.
public const int AwaitExpression = 14005
BinaryOperatorExpression
Gets the BinaryOperatorExpression
AST node ID.
public const int BinaryOperatorExpression = 14006
BlockStatement
Gets the BlockStatement
AST node ID.
public const int BlockStatement = 14007
BoundName
Gets the BoundName
AST node ID.
public const int BoundName = 14008
BreakStatement
Gets the BreakStatement
AST node ID.
public const int BreakStatement = 14009
ClassDeclaration
Gets the ClassDeclaration
AST node ID.
public const int ClassDeclaration = 14010
CompilationUnit
Gets the CompilationUnit
AST node ID.
public const int CompilationUnit = 14000
ComprehensionClauseBase
Gets the ComprehensionClauseBase
AST node ID.
public const int ComprehensionClauseBase = 14011
ComprehensionExpression
Gets the ComprehensionExpression
AST node ID.
public const int ComprehensionExpression = 14012
ComprehensionFor
Gets the ComprehensionFor
AST node ID.
public const int ComprehensionFor = 14013
ComprehensionIf
Gets the ComprehensionIf
AST node ID.
public const int ComprehensionIf = 14014
ConditionalExpression
Gets the ConditionalExpression
AST node ID.
public const int ConditionalExpression = 14015
ContinueStatement
Gets the ContinueStatement
AST node ID.
public const int ContinueStatement = 14016
DeclarationBase
Gets the DeclarationBase
AST node ID.
public const int DeclarationBase = 14017
Decorator
Gets the Decorator
AST node ID.
public const int Decorator = 14018
DeleteStatement
Gets the DeleteStatement
AST node ID.
public const int DeleteStatement = 14019
DictionaryExpression
Gets the DictionaryExpression
AST node ID.
public const int DictionaryExpression = 14020
Ellipsis
Gets the Ellipsis
AST node ID.
public const int Ellipsis = 14021
ExecuteStatement
Gets the ExecuteStatement
AST node ID.
public const int ExecuteStatement = 14022
Expression
Gets the Expression
AST node ID.
public const int Expression = 14023
ExpressionStatement
Gets the ExpressionStatement
AST node ID.
public const int ExpressionStatement = 14024
ForStatement
Gets the ForStatement
AST node ID.
public const int ForStatement = 14025
FromImportStatement
Gets the FromImportStatement
AST node ID.
public const int FromImportStatement = 14026
FunctionDeclaration
Gets the FunctionDeclaration
AST node ID.
public const int FunctionDeclaration = 14027
GeneratorExpression
Gets the GeneratorExpression
AST node ID.
public const int GeneratorExpression = 14028
GlobalStatement
Gets the GlobalStatement
AST node ID.
public const int GlobalStatement = 14029
IfStatement
Gets the IfStatement
AST node ID.
public const int IfStatement = 14030
IfStatementCondition
Gets the IfStatementCondition
AST node ID.
public const int IfStatementCondition = 14031
ImportStatement
Gets the ImportStatement
AST node ID.
public const int ImportStatement = 14032
InvocationExpression
Gets the InvocationExpression
AST node ID.
public const int InvocationExpression = 14033
KeyValueExpression
Gets the KeyValueExpression
AST node ID.
public const int KeyValueExpression = 14034
LambdaExpression
Gets the LambdaExpression
AST node ID.
public const int LambdaExpression = 14035
ListExpression
Gets the ListExpression
AST node ID.
public const int ListExpression = 14036
LiteralExpression
Gets the LiteralExpression
AST node ID.
public const int LiteralExpression = 14037
NonLocalStatement
Gets the NonLocalStatement
AST node ID.
public const int NonLocalStatement = 14038
Parameter
Gets the Parameter
AST node ID.
public const int Parameter = 14039
ParenthesizedExpression
Gets the ParenthesizedExpression
AST node ID.
public const int ParenthesizedExpression = 14040
PassStatement
Gets the PassStatement
AST node ID.
public const int PassStatement = 14041
PrintStatement
Gets the PrintStatement
AST node ID.
public const int PrintStatement = 14042
RaiseStatement
Gets the RaiseStatement
AST node ID.
public const int RaiseStatement = 14043
ReturnStatement
Gets the ReturnStatement
AST node ID.
public const int ReturnStatement = 14044
SetExpression
Gets the SetExpression
AST node ID.
public const int SetExpression = 14045
SimpleName
Gets the SimpleName
AST node ID.
public const int SimpleName = 14046
SliceExpression
Gets the SliceExpression
AST node ID.
public const int SliceExpression = 14047
SliceItem
Gets the SliceItem
AST node ID.
public const int SliceItem = 14048
StarExpression
Gets the StarExpression
AST node ID.
public const int StarExpression = 14049
Statement
Gets the Statement
AST node ID.
public const int Statement = 14050
StringConversionExpression
Gets the StringConversionExpression
AST node ID.
public const int StringConversionExpression = 14051
SubscriptionExpression
Gets the SubscriptionExpression
AST node ID.
public const int SubscriptionExpression = 14052
TryStatement
Gets the TryStatement
AST node ID.
public const int TryStatement = 14053
TryStatementExceptClause
Gets the TryStatementExceptClause
AST node ID.
public const int TryStatementExceptClause = 14054
TupleExpression
Gets the TupleExpression
AST node ID.
public const int TupleExpression = 14055
UnaryOperatorExpression
Gets the UnaryOperatorExpression
AST node ID.
public const int UnaryOperatorExpression = 14056
WhileStatement
Gets the WhileStatement
AST node ID.
public const int WhileStatement = 14057
WithStatement
Gets the WithStatement
AST node ID.
public const int WithStatement = 14058
YieldExpression
Gets the YieldExpression
AST node ID.
public const int YieldExpression = 14059