Skip to content

ASTNodeTypes

graph BT
N1["ASTNodeTypes"] -->|inherits| N2["Any"];

Characteristics

Quality Value
Inherits global.Any
Extends N/A
Decorators N/A
Is enum false
Is sealed false
Is extern false
Is abstract false
Is generator false
Has value semantics false
Has stored properties false
Should register destructor false
Has atomic memory true
Is copy assignable false
Is zero initializable true

Const Expressions

kInstruction

const! kInstruction = 0x01000000 UInt32

kExpression

const! kExpression = 0x03000000 UInt32

kStatement

const! kStatement = 0x05000000 UInt32

kGeneric

const! kGeneric = 0x08000000 UInt32

kAST

const! kAST = 0 UInt32

kProgram

const! kProgram = 1 UInt32

kModule

const! kModule = 2 UInt32

kSymbol

const! kSymbol = 3 UInt32

kBlock

const! kBlock = kInstruction | 4 UInt32

kBlockExpression

const! kBlockExpression = kExpression | 5 UInt32

kIntegerLiteral

const! kIntegerLiteral = kExpression | 6 UInt32

kBooleanLiteral

const! kBooleanLiteral = kExpression | 7 UInt32

kRealLiteral

const! kRealLiteral = kExpression | 8 UInt32

kStringLiteral

const! kStringLiteral = kExpression | 9 UInt32

kStringJoinList

const! kStringJoinList = kExpression | 10 UInt32

kImport

const! kImport = kStatement | 11 UInt32

kID

const! kID = kExpression | 12 UInt32

kParametricScope

const! kParametricScope = kInstruction | 13 UInt32

kScopeParamList

const! kScopeParamList = 14 UInt32

kIDPath

const! kIDPath = 15 UInt32

kTypeSpecifier

const! kTypeSpecifier = 16 UInt32

kTypeSpecifierList

const! kTypeSpecifierList = 17 UInt32

kAssignment

const! kAssignment = kExpression | 18 UInt32

kMemberAccess

const! kMemberAccess = kExpression | 19 UInt32

kSubscriptOperation

const! kSubscriptOperation = kExpression | 20 UInt32

kFunction

const! kFunction = kExpression | kGeneric | 21 UInt32

kFunctionInterface

const! kFunctionInterface = 22 UInt32

kFormalList

const! kFormalList = 23 UInt32

kFormal

const! kFormal = 24 UInt32

kTypeParameter

const! kTypeParameter = 25 UInt32

kTypeParameterList

const! kTypeParameterList = 26 UInt32

kSubscript

const! kSubscript = 27 UInt32

kProperty

const! kProperty = 28 UInt32

kTypeDefinition

const! kTypeDefinition = kStatement | kGeneric | 29 UInt32

kTypeFeatures

const! kTypeFeatures = 30 UInt32

kCall

const! kCall = kExpression | 31 UInt32

kTuple

const! kTuple = kExpression | 32 UInt32

kElseIfList

const! kElseIfList = 33 UInt32

kIfElse

const! kIfElse = kExpression | 34 UInt32

kCatchBlock

const! kCatchBlock = 35 UInt32

kExceptionBlock

const! kExceptionBlock = kExpression | 36 UInt32

kConditionalLoop

const! kConditionalLoop = kStatement | 37 UInt32

kLoopManipulator

const! kLoopManipulator = kStatement | 38 UInt32

kReturn

const! kReturn = kStatement | 39 UInt32

kAsTypeOperation

const! kAsTypeOperation = kExpression | 40 UInt32

kIsTypeOperation

const! kIsTypeOperation = kExpression | 41 UInt32

kRaise

const! kRaise = kStatement | 42 UInt32

kUnpackWrapper

const! kUnpackWrapper = 43 UInt32

kDecorator

const! kDecorator = 44 UInt32

kDecoratorList

const! kDecoratorList = 45 UInt32

kForIDList

const! kForIDList = 46 UInt32

kForLoop

const! kForLoop = kStatement | 47 UInt32

kListBuilder

const! kListBuilder = kExpression | 48 UInt32

kPair

const! kPair = kExpression | 49 UInt32

kYield

const! kYield = kStatement | 50 UInt32

kExpressionTransform

const! kExpressionTransform = kExpression | 51 UInt32

kAttributeArg

const! kAttributeArg = 52 UInt32

kAttributeArgList

const! kAttributeArgList = 53 UInt32

kIndexRange

const! kIndexRange = kExpression | 54 UInt32

kNoOp

const! kNoOp = kInstruction | 55 UInt32

kAwait

const! kAwait = kExpression | 56 UInt32

kTypeView

const! kTypeView = 57 UInt32

kUnaryOperation

const! kUnaryOperation = kExpression | 58 UInt32

kBinaryOperation

const! kBinaryOperation = kExpression | 59 UInt32

kExpressionRedirect

const! kExpressionRedirect = kExpression | 60 UInt32

kStatementRedirect

const! kStatementRedirect = kStatement | 61 UInt32

kConstantExpression

const! kConstantExpression = kExpression | 62 UInt32

kEnumVariant

const! kEnumVariant = kAST | 63 UInt32

Methods

construct

#default
#Gambol.function.alwaysinline
construct (s strictly @Self) -> Self