return node;
}
-SLTNode *sltNodeMakeTypeAccess(SLTNode *type, SLTNode *access) {
- SLTNode *node = node_make(SLTNodeTypeTypeAccess);
+SLTNode *sltNodeMakeMemberAccess(SLTNode *type, SLTNode *access) {
+ SLTNode *node = node_make(SLTNodeTypeMemberAccess);
node->typeAccessType = type;
node->typeAccessAccess = access;
return node;
return node;
}
-SLTNode *sltNodeMakeTypeDefinition(SLTNode *identifier, SLTNode *members) {
- SLTNode *node = node_make(SLTNodeTypeTypeDefinition);
+//extern SLTNode *sltNodeMakeTypeDefinition(SLTNode *identifier, SLTNode *dimension);
+
+SLTNode *sltNodeMakeUserDefinedTypeDefinition(SLTNode *identifier, SLTNode *members) {
+ SLTNode *node = node_make(SLTNodeTypeUserDefinedTypeDefinition);
node->typeDefinitionIdentifier = identifier;
node->typeDefinitionMembers = members;
return node;
}
-SLTNode *sltNodeMakeTypeMemberDefinition(SLTNode *type, SLTNode *identifier) {
- SLTNode *node = node_make(SLTNodeTypeTypeMemberDefinition);
+SLTNode *sltNodeMakeUserDefinedTypeMemberDefinition(SLTNode *type, SLTNode *identifier) {
+ SLTNode *node = node_make(SLTNodeTypeUserDefinedTypeMemberDefinition);
node->typeMemberDefinitionType = type;
node->typeMemberDefinitionIdentifier = identifier;
return node;