1 #ifndef SUN_TREE_NODE_TYPE_H
2 #define SUN_TREE_NODE_TYPE_H
11 SLTNodeTypeIdentifier
,
15 SLTNodeTypeRawInteger
,
24 SLTNodeTypeArrayAccess
,
25 SLTNodeTypeTypeAccess
,
27 SLTNodeTypeFunctionCall
,
29 SLTNodeTypeUnaryOperation
,
30 SLTNodeTypeBinaryOperation
,
34 SLTNodeTypeAssignment
,
40 SLTNodeTypeForIteration
,
41 SLTNodeTypeDoIteration
,
42 SLTNodeTypeWhileIteration
,
46 SLTNodeTypeStatementBlock
,
48 SLTNodeTypeVariableDefinition
,
50 SLTNodeTypeTypeDefinition
,
51 SLTNodeTypeTypeMemberDefinition
,
53 SLTNodeTypeFunctionDefinition
,
54 SLTNodeTypeFunctionParameterDefinition
,
58 SLTNodeTypeSequence
, // Meta-type, for sequence of other nodes.
60 typedef enum SLTNodeType SLTNodeType
;
61 static const SLTNodeType kSLTNodeTypeMax
= SLTNodeTypeSequence
;
63 extern const char *sltNodeTypeToString(SLTNodeType nodeType
);