X-Git-Url: https://git.bts.cx/sun.git/blobdiff_plain/c14e8cb22c12114bd78aae89e54ccd51ad522c50..b4bfa0d90e747a0f6f3080246823471423a30951:/runtime/src/sun/tree/node.h diff --git a/runtime/src/sun/tree/node.h b/runtime/src/sun/tree/node.h index 11e4076..fe0cdf4 100644 --- a/runtime/src/sun/tree/node.h +++ b/runtime/src/sun/tree/node.h @@ -26,7 +26,7 @@ extern SLTNode *sltNodeMakeCompound(SLTNode *expression); extern SLTNode *sltNodeMakeArgument(SLTNode *expression); extern SLTNode *sltNodeMakeArrayAccess(SLTNode *array, SLTNode *access); -extern SLTNode *sltNodeMakeTypeAccess(SLTNode *type, SLTNode *access); +extern SLTNode *sltNodeMakeMemberAccess(SLTNode *type, SLTNode *access); extern SLTNode *sltNodeMakeFunctionCall(SLTNode *function, SLTNode *arguments); @@ -51,8 +51,10 @@ extern SLTNode *sltNodeMakeStatementBlock(SLTNode *contents); extern SLTNode *sltNodeMakeVariableDefinition(SLTNode *type, SLTNode *identifier, SLTNode *defaultExpression); -extern SLTNode *sltNodeMakeTypeDefinition(SLTNode *identifier, SLTNode *members); -extern SLTNode *sltNodeMakeTypeMemberDefinition(SLTNode *type, SLTNode *identifier); +//extern SLTNode *sltNodeMakeTypeDefinition(SLTNode *identifier, SLTNode *dimension); + +extern SLTNode *sltNodeMakeUserDefinedTypeDefinition(SLTNode *identifier, SLTNode *members); +extern SLTNode *sltNodeMakeUserDefinedTypeMemberDefinition(SLTNode *type, SLTNode *identifier); extern SLTNode *sltNodeMakeFunctionDefinition(SLTNode *type, SLTNode *identifier, SLTNode *parameters, SLTNode *body); extern SLTNode *sltNodeMakeFunctionParameterDefinition(SLTNode *type, SLTNode *identifier);