2020-09-23 06:48:38 +02:00
|
|
|
LibraryDefinition:
|
|
|
|
IsPublic: <True, False>
|
|
|
|
Name: <NAME>
|
2020-05-24 17:56:15 +02:00
|
|
|
|
2020-09-23 06:48:38 +02:00
|
|
|
ClassDefinition:
|
|
|
|
IsPublic: <True, False>
|
|
|
|
Name: <NAME>
|
|
|
|
Instructions: <LIST OF SUB AST>
|
|
|
|
|
|
|
|
FunctionDefinition:
|
|
|
|
IsPublic: <True, False>
|
|
|
|
Name: <NAME>
|
|
|
|
Arguments: <LIST OF VariableDefinition>
|
|
|
|
ReturnType: <Bool, String, Num, Empty, Any>
|
|
|
|
Instructions: <LIST OF SUB AST>
|
|
|
|
|
|
|
|
VariableDefinition:
|
|
|
|
IsPublic: <True, False>
|
|
|
|
Name: <NAME>
|
|
|
|
Type: <Bool, String, Num, Empty, Any>
|
|
|
|
Value: <LIST OF SUB AST>
|
|
|
|
IsAbleToBeEmpty: <True, False>
|
|
|
|
|
|
|
|
FunctionCall:
|
|
|
|
Function: <NAME, ID>
|
|
|
|
Arguments: <LIST OF SUB AST>
|
|
|
|
|
|
|
|
Assignment:
|
|
|
|
Target: <NAME, ID>
|
|
|
|
Value: <LIST OF SUB AST>
|
|
|
|
|
|
|
|
Operation:
|
|
|
|
Type: <+, -, *, />
|
|
|
|
Arguments: <LIST OF SUB AST>
|
|
|
|
|
|
|
|
Value:
|
|
|
|
Value: <1-9, '', true/false>
|
|
|
|
Type: <Bool, String, Number>
|
2020-05-24 17:56:15 +02:00
|
|
|
|
|
|
|
|