Documentation ¶
Overview ¶
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
┏━┓ ┃┃ ┃ ━━━━┛
Filename | SkyLine_Backend_Module_AST_ExpressionNode_Construction Extension | .go ( golang source code file ) Purpose | Defines all Expression nodes (AST) Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
One important part of the AST is to finally construct the full syntax of a given statement or expression. In order to do so, each node within the AST ( statement or expression )
must have a function that can help it better define that output and structure the code to read it into parsing. This will help also when outputting and formatting error messages
in cases like missing semicolons. You can use the AST for also fixing statements and telling users what it should look like versus what they used for a more robust error system.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
┏━┓ ┃┃ ┃ ━━━━┛
Filename | SkyLine_Backend_Module_AST_ExpressionNode_Construction Extension | .go ( golang source code file ) Purpose | Defines all Expression nodes (AST) Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This file defines all of the functions that will help retrieve the literal value of tokens within the statement nodes. This will help during parsing and evaluation of statements
and also helps in some cases for extra functionality.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
┏━┓ ┃┃ ┃ ━━━━┛
Filename | SkyLine_Backend_Module_AST_ExpressionNode_Construction Extension | .go ( golang source code file ) Purpose | Defines all Expression nodes (AST) Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
One important part of the AST is to finally construct the full syntax of a given statement or expression. In order to do so, each node within the AST ( statement or expression )
must have a function that can help it better define that output and structure the code to read it into parsing. This will help also when outputting and formatting error messages
in cases like missing semicolons. You can use the AST for also fixing statements and telling users what it should look like versus what they used for a more robust error system.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
┏━┓ ┃┃ ┃ ━━━━┛
Filename | SkyLine_Backend_Module_AST_Models Extension | .go ( golang source code file ) Purpose | Defines all variables and types for the AST ( Abstract Syntax Tree ) Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This file defines all of the models that the AST will use. The AST will also be heavily used with our language to form specific statements like let, set, cause, f etc
and even be there to load programs, statements, and expressions or to rather define functions to construct the sytax of them for the parser and evaluator
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
┏━┓ ┃┃ ┃ ━━━━┛
Filename | SkyLine_Backend_Module_AST_StatementNode_Construction Extension | .go ( golang source code file ) Purpose | Defines all statement nodes (AST) Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
One important part of the AST is to finally construct the full syntax of a given statement or expression. In order to do so, each node within the AST ( statement or expression )
must have a function that can help it better define that output and structure the code to read it into parsing. This will help also when outputting and formatting error messages
in cases like missing semicolons. You can use the AST for also fixing statements and telling users what it should look like versus what they used for a more robust error system.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
┏━┓ ┃┃ ┃ ━━━━┛
Filename | SkyLine_Backend_Module_AST_StatementNode_Literals Extension | .go ( golang source code file ) Purpose | Defines all statement nodes (AST) Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This file defines all of the functions that will help retrieve the literal value of tokens within the statement nodes. This will help during parsing and evaluation of statements
and also helps in some cases for extra functionality.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
┏━┓ ┃┃ ┃ ━━━━┛
Filename | SkyLine_Backend_Module_AST_StatementNode_Node Extension | .go ( golang source code file ) Purpose | Defines all statement nodes (AST) Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
This file helps define all of the statement node functions or rather nodes for all statements within SkyLine.
Index ¶
- type Assignment_Cause_Set_Allow
- type Assignment_Constant_Const
- type Expression_Statement
- type Return_Ret_Return_Information
- type SL_Array
- type SL_Boolean
- type SL_Byte
- type SL_ENGINE
- type SL_EN_Call_Expression
- type SL_EN_Case_ExpressionStatement
- type SL_EN_Conditional_IfElse
- type SL_EN_Conditional_Loop
- type SL_EN_For_Each_Loop
- type SL_EN_Function_Definition
- type SL_EN_Function_Literal
- type SL_EN_Index_Expression
- type SL_EN_Infix
- type SL_EN_Lable_JumpDef
- type SL_EN_Object_Call_Expression
- type SL_EN_Postfix
- type SL_EN_Prefix
- type SL_EN_Switch_ExpressionStatement
- type SL_EN_VariableAssignmentStatement
- type SL_Expression
- type SL_Float
- type SL_HashMap
- type SL_Identifier
- type SL_ImportExpression
- type SL_Integer
- type SL_Integer16
- type SL_Integer32
- type SL_Integer64
- type SL_Integer8
- type SL_NULL
- type SL_Node
- type SL_Prog
- type SL_Register
- type SL_Statement
- type SL_String
- type SL_UnitBlockStatement
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assignment_Cause_Set_Allow ¶
type Assignment_Cause_Set_Allow struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Name *SL_Identifier Value SL_Expression }
cause x = 10 ; let x = 10 ; set x = 10 ;
func (*Assignment_Cause_Set_Allow) SL_SN ¶
func (SN_VariableDecl *Assignment_Cause_Set_Allow) SL_SN()
func (*Assignment_Cause_Set_Allow) SkyLine_NodeInterface_Get_Node_Value ¶
func (SN_VariableDecl *Assignment_Cause_Set_Allow) SkyLine_NodeInterface_Get_Node_Value() string
func (*Assignment_Cause_Set_Allow) SkyLine_NodeInterface_Token_Literal ¶
func (SN_VariableDecl *Assignment_Cause_Set_Allow) SkyLine_NodeInterface_Token_Literal() string
type Assignment_Constant_Const ¶
type Assignment_Constant_Const struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Name *SL_Identifier Value SL_Expression }
constant x = 10; const x = 10;
func (*Assignment_Constant_Const) SL_SN ¶
func (SN_Constant *Assignment_Constant_Const) SL_SN()
func (*Assignment_Constant_Const) SkyLine_NodeInterface_Get_Node_Value ¶
func (SN_Constant *Assignment_Constant_Const) SkyLine_NodeInterface_Get_Node_Value() string
func (*Assignment_Constant_Const) SkyLine_NodeInterface_Token_Literal ¶
func (SN_Constant *Assignment_Constant_Const) SkyLine_NodeInterface_Token_Literal() string
type Expression_Statement ¶
type Expression_Statement struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Expression SL_Expression }
Expression
func (*Expression_Statement) SL_SN ¶
func (SN_Expression *Expression_Statement) SL_SN()
func (*Expression_Statement) SkyLine_NodeInterface_Get_Node_Value ¶
func (SN_Expression *Expression_Statement) SkyLine_NodeInterface_Get_Node_Value() string
func (*Expression_Statement) SkyLine_NodeInterface_Token_Literal ¶
func (SN_Expression *Expression_Statement) SkyLine_NodeInterface_Token_Literal() string
type Return_Ret_Return_Information ¶
type Return_Ret_Return_Information struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Expression SL_Expression }
return (10 / 20) * 20 ret (10 / 20) * 20
func (*Return_Ret_Return_Information) SL_SN ¶
func (SN_Return *Return_Ret_Return_Information) SL_SN()
func (*Return_Ret_Return_Information) SkyLine_NodeInterface_Get_Node_Value ¶
func (SN_Return *Return_Ret_Return_Information) SkyLine_NodeInterface_Get_Node_Value() string
func (*Return_Ret_Return_Information) SkyLine_NodeInterface_Token_Literal ¶
func (SN_Return *Return_Ret_Return_Information) SkyLine_NodeInterface_Token_Literal() string
type SL_Array ¶
type SL_Array struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Elements []SL_Expression }
func (*SL_Array) SkyLine_NodeInterface_Get_Node_Value ¶
func (*SL_Array) SkyLine_NodeInterface_Token_Literal ¶
type SL_Boolean ¶
type SL_Boolean struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Value bool }
func (*SL_Boolean) SL_EN ¶
func (EN_Boolean *SL_Boolean) SL_EN()
func (*SL_Boolean) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_Boolean *SL_Boolean) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_Boolean) SkyLine_NodeInterface_Token_Literal ¶
func (EN_Boolean *SL_Boolean) SkyLine_NodeInterface_Token_Literal() string
type SL_Byte ¶
type SL_Byte struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Value byte }
func (*SL_Byte) SkyLine_NodeInterface_Get_Node_Value ¶
func (*SL_Byte) SkyLine_NodeInterface_Token_Literal ¶
type SL_ENGINE ¶
type SL_ENGINE struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct EngineValue SL_Expression }
ENGINE statement | ENGINE()
func (*SL_ENGINE) SkyLine_NodeInterface_Get_Node_Value ¶
func (*SL_ENGINE) SkyLine_NodeInterface_Token_Literal ¶
type SL_EN_Call_Expression ¶
type SL_EN_Call_Expression struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Function SL_Expression Arguments []SL_Expression }
Object()
func (*SL_EN_Call_Expression) SL_EN ¶
func (EN_FunctionCallExpr *SL_EN_Call_Expression) SL_EN()
func (*SL_EN_Call_Expression) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_FunctionCallExpr *SL_EN_Call_Expression) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_EN_Call_Expression) SkyLine_NodeInterface_Token_Literal ¶
func (EN_FunctionCallExpr *SL_EN_Call_Expression) SkyLine_NodeInterface_Token_Literal() string
type SL_EN_Case_ExpressionStatement ¶
type SL_EN_Case_ExpressionStatement struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Default bool Expression []SL_Expression Unit *SL_UnitBlockStatement }
case condition {}
func (*SL_EN_Case_ExpressionStatement) SL_EN ¶
func (EN_CaseExpr *SL_EN_Case_ExpressionStatement) SL_EN()
func (*SL_EN_Case_ExpressionStatement) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_CaseExpr *SL_EN_Case_ExpressionStatement) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_EN_Case_ExpressionStatement) SkyLine_NodeInterface_Token_Literal ¶
func (EN_CaseExpr *SL_EN_Case_ExpressionStatement) SkyLine_NodeInterface_Token_Literal() string
type SL_EN_Conditional_IfElse ¶
type SL_EN_Conditional_IfElse struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Condition SL_Expression Consequence_Unit *SL_UnitBlockStatement Alternative_Unit *SL_UnitBlockStatement }
if, else, else if
func (*SL_EN_Conditional_IfElse) SL_EN ¶
func (EN_Conditional *SL_EN_Conditional_IfElse) SL_EN()
func (*SL_EN_Conditional_IfElse) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_Conditional *SL_EN_Conditional_IfElse) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_EN_Conditional_IfElse) SkyLine_NodeInterface_Token_Literal ¶
func (EN_Conditional *SL_EN_Conditional_IfElse) SkyLine_NodeInterface_Token_Literal() string
type SL_EN_Conditional_Loop ¶
type SL_EN_Conditional_Loop struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Condition SL_Expression Consequence *SL_UnitBlockStatement }
for ... in ... {}
func (*SL_EN_Conditional_Loop) SL_EN ¶
func (EN_ForLoop *SL_EN_Conditional_Loop) SL_EN()
func (*SL_EN_Conditional_Loop) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_ForLoop *SL_EN_Conditional_Loop) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_EN_Conditional_Loop) SkyLine_NodeInterface_Token_Literal ¶
func (EN_ForLoop *SL_EN_Conditional_Loop) SkyLine_NodeInterface_Token_Literal() string
type SL_EN_For_Each_Loop ¶
type SL_EN_For_Each_Loop struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Index string Identifier string Value SL_Expression Unit *SL_UnitBlockStatement }
foreach x, y in ... {}
func (*SL_EN_For_Each_Loop) SL_EN ¶
func (EN_ForEachLoop *SL_EN_For_Each_Loop) SL_EN()
func (*SL_EN_For_Each_Loop) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_ForEachLoop *SL_EN_For_Each_Loop) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_EN_For_Each_Loop) SkyLine_NodeInterface_Token_Literal ¶
func (EN_ForEachLoop *SL_EN_For_Each_Loop) SkyLine_NodeInterface_Token_Literal() string
type SL_EN_Function_Definition ¶
type SL_EN_Function_Definition struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct FunctionArguments []*SL_Identifier Defaults map[string]SL_Expression Unit *SL_UnitBlockStatement }
define function()
func (*SL_EN_Function_Definition) SL_EN ¶
func (EN_FunctionDecl *SL_EN_Function_Definition) SL_EN()
func (*SL_EN_Function_Definition) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_FunctionDecl *SL_EN_Function_Definition) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_EN_Function_Definition) SkyLine_NodeInterface_Token_Literal ¶
func (EN_FunctionDecl *SL_EN_Function_Definition) SkyLine_NodeInterface_Token_Literal() string
type SL_EN_Function_Literal ¶
type SL_EN_Function_Literal struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Parameters []*SL_Identifier Defaults map[string]SL_Expression Unit *SL_UnitBlockStatement }
Func, function
func (*SL_EN_Function_Literal) SL_EN ¶
func (EN_FunctionLiteral *SL_EN_Function_Literal) SL_EN()
func (*SL_EN_Function_Literal) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_FunctionLiteral *SL_EN_Function_Literal) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_EN_Function_Literal) SkyLine_NodeInterface_Token_Literal ¶
func (EN_FunctionLiteral *SL_EN_Function_Literal) SkyLine_NodeInterface_Token_Literal() string
type SL_EN_Index_Expression ¶
type SL_EN_Index_Expression struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Left SL_Expression Index SL_Expression }
[1]
func (*SL_EN_Index_Expression) SL_EN ¶
func (EN_Index *SL_EN_Index_Expression) SL_EN()
func (*SL_EN_Index_Expression) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_Index *SL_EN_Index_Expression) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_EN_Index_Expression) SkyLine_NodeInterface_Token_Literal ¶
func (EN_Index *SL_EN_Index_Expression) SkyLine_NodeInterface_Token_Literal() string
type SL_EN_Infix ¶
type SL_EN_Infix struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Left SL_Expression Operator string Right SL_Expression }
func (*SL_EN_Infix) SL_EN ¶
func (EN_InfixOP *SL_EN_Infix) SL_EN()
func (*SL_EN_Infix) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_InfixOP *SL_EN_Infix) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_EN_Infix) SkyLine_NodeInterface_Token_Literal ¶
func (EN_InfixOP *SL_EN_Infix) SkyLine_NodeInterface_Token_Literal() string
type SL_EN_Lable_JumpDef ¶
type SL_EN_Lable_JumpDef struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Unit *SL_UnitBlockStatement }
@lable { ... } called with : jmp lable
func (*SL_EN_Lable_JumpDef) SL_EN ¶
func (EN_Lable *SL_EN_Lable_JumpDef) SL_EN()
func (*SL_EN_Lable_JumpDef) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_LableDecl *SL_EN_Lable_JumpDef) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_EN_Lable_JumpDef) SkyLine_NodeInterface_Token_Literal ¶
func (ENLable *SL_EN_Lable_JumpDef) SkyLine_NodeInterface_Token_Literal() string
type SL_EN_Object_Call_Expression ¶
type SL_EN_Object_Call_Expression struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Object SL_Expression Call SL_Expression }
Object.Object()
func (*SL_EN_Object_Call_Expression) SL_EN ¶
func (EN_ObjectCallExpr *SL_EN_Object_Call_Expression) SL_EN()
func (*SL_EN_Object_Call_Expression) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_ObjectCallExpr *SL_EN_Object_Call_Expression) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_EN_Object_Call_Expression) SkyLine_NodeInterface_Token_Literal ¶
func (EN_ObjectCallExpr *SL_EN_Object_Call_Expression) SkyLine_NodeInterface_Token_Literal() string
type SL_EN_Postfix ¶
type SL_EN_Postfix struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Operator string }
func (*SL_EN_Postfix) SL_EN ¶
func (EN_PostfixOP *SL_EN_Postfix) SL_EN()
func (*SL_EN_Postfix) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_PostfixOP *SL_EN_Postfix) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_EN_Postfix) SkyLine_NodeInterface_Token_Literal ¶
func (EN_PostfixOP *SL_EN_Postfix) SkyLine_NodeInterface_Token_Literal() string
type SL_EN_Prefix ¶
type SL_EN_Prefix struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Operator string Right SL_Expression }
func (*SL_EN_Prefix) SL_EN ¶
func (EN_PrefixOP *SL_EN_Prefix) SL_EN()
func (*SL_EN_Prefix) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_PrefixOP *SL_EN_Prefix) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_EN_Prefix) SkyLine_NodeInterface_Token_Literal ¶
func (EN_PrefixOP *SL_EN_Prefix) SkyLine_NodeInterface_Token_Literal() string
type SL_EN_Switch_ExpressionStatement ¶
type SL_EN_Switch_ExpressionStatement struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Value SL_Expression Conditions []*SL_EN_Case_ExpressionStatement }
switch(condition)
func (*SL_EN_Switch_ExpressionStatement) SL_EN ¶
func (EN_SwitchExpr *SL_EN_Switch_ExpressionStatement) SL_EN()
func (*SL_EN_Switch_ExpressionStatement) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_SwitchExpr *SL_EN_Switch_ExpressionStatement) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_EN_Switch_ExpressionStatement) SkyLine_NodeInterface_Token_Literal ¶
func (EN_SwitchExpr *SL_EN_Switch_ExpressionStatement) SkyLine_NodeInterface_Token_Literal() string
type SL_EN_VariableAssignmentStatement ¶
type SL_EN_VariableAssignmentStatement struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Name *SL_Identifier Operator string Value SL_Expression }
set x = 10; x += 20;
func (*SL_EN_VariableAssignmentStatement) SL_EN ¶
func (EN_VariableAssignment *SL_EN_VariableAssignmentStatement) SL_EN()
func (*SL_EN_VariableAssignmentStatement) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_VariableAssignment *SL_EN_VariableAssignmentStatement) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_EN_VariableAssignmentStatement) SkyLine_NodeInterface_Token_Literal ¶
func (EN_VariableAssignment *SL_EN_VariableAssignmentStatement) SkyLine_NodeInterface_Token_Literal() string
type SL_Expression ¶
type SL_Expression interface { SL_Node SL_EN() // Expression node }
type SL_Float ¶
type SL_Float struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Value float64 }
func (*SL_Float) SkyLine_NodeInterface_Get_Node_Value ¶
func (*SL_Float) SkyLine_NodeInterface_Token_Literal ¶
type SL_HashMap ¶
type SL_HashMap struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Pairs map[SL_Expression]SL_Expression }
func (*SL_HashMap) SL_EN ¶
func (EN_HashMap *SL_HashMap) SL_EN()
func (*SL_HashMap) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_HashMap *SL_HashMap) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_HashMap) SkyLine_NodeInterface_Token_Literal ¶
func (EN_HashMap *SL_HashMap) SkyLine_NodeInterface_Token_Literal() string
type SL_Identifier ¶
type SL_Identifier struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Value string }
func (*SL_Identifier) SL_EN ¶
func (EN_Identifier *SL_Identifier) SL_EN()
func (*SL_Identifier) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_Identifier *SL_Identifier) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_Identifier) SkyLine_NodeInterface_Token_Literal ¶
func (EN_Identifier *SL_Identifier) SkyLine_NodeInterface_Token_Literal() string
type SL_ImportExpression ¶
type SL_ImportExpression struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Name []SL_Expression }
Import expression
func (*SL_ImportExpression) SL_EN ¶
func (EN_Import *SL_ImportExpression) SL_EN()
func (*SL_ImportExpression) SkyLine_NodeInterface_Get_Node_Value ¶
func (ImportExpression *SL_ImportExpression) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_ImportExpression) SkyLine_NodeInterface_Token_Literal ¶
func (EN_Import *SL_ImportExpression) SkyLine_NodeInterface_Token_Literal() string
type SL_Integer ¶
type SL_Integer struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Value int }
func (*SL_Integer) SL_EN ¶
func (EN_Integer *SL_Integer) SL_EN()
func (*SL_Integer) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_Integer *SL_Integer) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_Integer) SkyLine_NodeInterface_Token_Literal ¶
func (EN_Integer *SL_Integer) SkyLine_NodeInterface_Token_Literal() string
type SL_Integer16 ¶
type SL_Integer16 struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Value int16 }
func (*SL_Integer16) SL_EN ¶
func (EN_I16 *SL_Integer16) SL_EN()
func (*SL_Integer16) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_I16 *SL_Integer16) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_Integer16) SkyLine_NodeInterface_Token_Literal ¶
func (EN_I16 *SL_Integer16) SkyLine_NodeInterface_Token_Literal() string
type SL_Integer32 ¶
type SL_Integer32 struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Value int32 }
func (*SL_Integer32) SL_EN ¶
func (EN_I32 *SL_Integer32) SL_EN()
func (*SL_Integer32) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_I32 *SL_Integer32) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_Integer32) SkyLine_NodeInterface_Token_Literal ¶
func (EN_I32 *SL_Integer32) SkyLine_NodeInterface_Token_Literal() string
type SL_Integer64 ¶
type SL_Integer64 struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Value int64 }
func (*SL_Integer64) SL_EN ¶
func (EN_I64 *SL_Integer64) SL_EN()
func (*SL_Integer64) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_I64 *SL_Integer64) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_Integer64) SkyLine_NodeInterface_Token_Literal ¶
func (EN_I64 *SL_Integer64) SkyLine_NodeInterface_Token_Literal() string
type SL_Integer8 ¶
type SL_Integer8 struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Value int8 }
func (*SL_Integer8) SL_EN ¶
func (EN_I8 *SL_Integer8) SL_EN()
func (*SL_Integer8) SkyLine_NodeInterface_Get_Node_Value ¶
func (EN_I8 *SL_Integer8) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_Integer8) SkyLine_NodeInterface_Token_Literal ¶
func (EN_I8 *SL_Integer8) SkyLine_NodeInterface_Token_Literal() string
type SL_NULL ¶
type SL_NULL struct {
TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct
}
func (*SL_NULL) SkyLine_NodeInterface_Get_Node_Value ¶
func (*SL_NULL) SkyLine_NodeInterface_Token_Literal ¶
type SL_Node ¶
type SL_Node interface { SkyLine_NodeInterface_Token_Literal() string SkyLine_NodeInterface_Get_Node_Value() string }
:::::::::::::::::::::::::::::::::::::::::::::::::: Abstract Syntax Tree Node Structures | 1st module ::::::::::::::::::::::::::::::::::::::::::::::::::
type SL_Prog ¶
type SL_Prog struct {
ProgramStatements []SL_Statement
}
::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Abstract Syntax Tree Programatic Structures | 2nd module :::::::::::::::::::::::::::::::::::::::::::::::::::::::::
func (*SL_Prog) SkyLine_NodeInterface_Get_Node_Value ¶
func (*SL_Prog) SkyLine_NodeInterface_Token_Literal ¶
type SL_Register ¶
type SL_Register struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct RegistryValue []SL_Expression }
Register statement | register(LIBNAME)
func (*SL_Register) SL_SN ¶
func (SN_Register *SL_Register) SL_SN()
func (*SL_Register) SkyLine_NodeInterface_Get_Node_Value ¶
func (SN_Register *SL_Register) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_Register) SkyLine_NodeInterface_Token_Literal ¶
func (SN_Register *SL_Register) SkyLine_NodeInterface_Token_Literal() string
type SL_Statement ¶
type SL_Statement interface { SL_Node SL_SN() // Statement node }
type SL_String ¶
type SL_String struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Value string }
func (*SL_String) SkyLine_NodeInterface_Get_Node_Value ¶
func (*SL_String) SkyLine_NodeInterface_Token_Literal ¶
type SL_UnitBlockStatement ¶
type SL_UnitBlockStatement struct { TokenConstruct SL_Tokenization_Definitions.SL_TokenConstruct Statements []SL_Statement }
Block | {}
func (*SL_UnitBlockStatement) SL_SN ¶
func (SN_UnitBlock *SL_UnitBlockStatement) SL_SN()
func (*SL_UnitBlockStatement) SkyLine_NodeInterface_Get_Node_Value ¶
func (SN_UnitBlock *SL_UnitBlockStatement) SkyLine_NodeInterface_Get_Node_Value() string
func (*SL_UnitBlockStatement) SkyLine_NodeInterface_Token_Literal ¶
func (SN_UnitBlock *SL_UnitBlockStatement) SkyLine_NodeInterface_Token_Literal() string
Source Files ¶
- SkyLine_Backend_Module_AST_ExpressionNode_Construction.go
- SkyLine_Backend_Module_AST_ExpressionNode_Literals.go
- SkyLine_Backend_Module_AST_ExpressionNode_Node.go
- SkyLine_Backend_Module_AST_Models.go
- SkyLine_Backend_Module_AST_StatementNode_Construction.go
- SkyLine_Backend_Module_AST_StatementNode_Literals.go
- SkyLine_Backend_Module_AST_StatementNode_Node.go