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