SkyLine_Backend_Modules_Objects

package
v0.0.0-...-72c8661 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2023 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Overview

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Exporter Extension | .go ( golang source code file ) Purpose | Defines a function to grab the names within the environment based on the prefix 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 a function that can set a new enclosed environment. This will create a new environment which is spawned or called

by an outer environmental parameter.

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_EnvironAndObject_Models Extension | .go ( golang source code file ) Purpose | Define structures, types, interfaces, alliases, constants and values for the SkyLine environment Directory | Modules/Backend/SkyScanner Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyScanner Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This file is like any other file, it defines the objects within the file, defines the type structures and alliases for each object

as well as defines constants and object interfaces. Currently SkyLine only supports basic types which are shown in the table below which also correspond to

how they are parsed on the backend using golang's type system.

Data Type (SL) | Data Type (Golang) -----------------|------------------- Integer | int String | string boolean | boolean Float | float32 NULL | nil

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Enclosed Extension | .go ( golang source code file ) Purpose | Defines functions for setting a new enclosed environment 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 a function that can set a new enclosed environment. This will create a new environment which is spawned or called

by an outer environmental parameter.

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Exporter Extension | .go ( golang source code file ) Purpose | Defines an exportation function to export the hash of a environment. This is used for modules 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 a function that can set a new enclosed environment. This will create a new environment which is spawned or called

by an outer environmental parameter.

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Grabbers Extension | .go ( golang source code file ) Purpose | Defines retriever functions Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This file and module contains functions known as Grabbers or retrievers. We call these functions retrievers or grabbers because they can locate and check for variables

within the environment. For example, if wewanted to get the value of a given variable we would call SL_ENVIRONMENT.Get()

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_New Extension | .go ( golang source code file ) Purpose | Defines a function to create a new environment 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 a function that will spin up a SkyLine environment. This environment will actually help with the use cases of working with

variables as the virtual environment is what helps the language store variables in memory. Since we can not just call a bunch of variables

unorganized we should create a shell or environment that can hold those values, variables or in the VM's case operations.

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_NewTempScop Extension | .go ( golang source code file ) Purpose | Defines environmental new temporary scope Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This file and module basically contains a definition to a function that helps create a new temporary environmental scope which is basically a better way to

create new scopes within the programming language.

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Object_ArrayType Extension | .go ( golang source code file ) Purpose | Defines required states for the Array data type Directory | Modules/Backend/SkyScanner Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyScanner Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This sector of files also known as the 'ObjectType' sector will be defining all of the functions for the current data types within SkyLine.

WARN: This note exists for every single Object file in this directory

These functions include

						A - SkyLine_ObjectFunction_GetDataType
						B - SkyLine_ObjectFunction_GetTrueValue
						C - SkyLine_ObjectFunction_GetInterface
                     D - SkyLine_ObjectFunction_InvokeObject

A: Data Type return

  • This function will tell the SkyLine interpreter to grab or return the data type of the current object. This helps during parsing and evaluation to ensure that the data type is what it is and to make sure that the object being executed has the proper type.

B: Get True Value

  • This function may be confusing at first, but it takes a value such as an array and makes the most syntactic appropriate representation of the data type and then returns it as a string. This function starts by first declaring a byte input and also writing those values of the data types proper specification and returning it as a string. For example, in SkyLine variables are dynamic, this means that everything is `interpreted` and variables have no constant type based values. If you declare a string variable like `set x := "name"; ` then the result of that from the function with lable `B(Get True Value)` will return `TYPE STRING VARIABLE (x) := STRING[name];` which can be helpful for optimization and syntactic purposes.`

C: Get Interface:

  • This function just returns a type interface representing the object

D: Invoke Object:

  • This allows objects to have their own specific functions such as ORD, LEN, SPLIT etc. Below is a table of common object call functions for different data types

    | SkyLine Data Type | Object Call Function List | ------------------- | -------------------------- | Integer | [methods, ord] | String | [methods, split, index ...]| Boolean | [methods] | Float | [methods] | ... | ...

Object call functions are a ton easier and better to work with than requiring the user to require a data type such as `register(Array)`

to get array object calls. In the further future this may actually be required due to the amount of object call functions that will exist

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Object_BooleanType Extension | .go ( golang source code file ) Purpose | Defines required states for the Boolean data type Directory | Modules/Backend/SkyScanner Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyScanner Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This sector of files also known as the 'ObjectType' sector will be defining all of the functions for the current data types within SkyLine.

WARN: This note exists for every single Object file in this directory

These functions include

						A - SkyLine_ObjectFunction_GetDataType
						B - SkyLine_ObjectFunction_GetTrueValue
						C - SkyLine_ObjectFunction_GetInterface
                     D - SkyLine_ObjectFunction_InvokeObject

A: Data Type return

  • This function will tell the SkyLine interpreter to grab or return the data type of the current object. This helps during parsing and evaluation to ensure that the data type is what it is and to make sure that the object being executed has the proper type.

B: Get True Value

  • This function may be confusing at first, but it takes a value such as an array and makes the most syntactic appropriate representation of the data type and then returns it as a string. This function starts by first declaring a byte input and also writing those values of the data types proper specification and returning it as a string. For example, in SkyLine variables are dynamic, this means that everything is `interpreted` and variables have no constant type based values. If you declare a string variable like `set x := "name"; ` then the result of that from the function with lable `B(Get True Value)` will return `TYPE STRING VARIABLE (x) := STRING[name];` which can be helpful for optimization and syntactic purposes.`

C: Get Interface:

  • This function just returns a type interface representing the object

D: Invoke Object:

  • This allows objects to have their own specific functions such as ORD, LEN, SPLIT etc. Below is a table of common object call functions for different data types

    | SkyLine Data Type | Object Call Function List | ------------------- | -------------------------- | Integer | [methods, ord] | String | [methods, split, index ...]| Boolean | [methods] | Float | [methods] | ... | ...

Object call functions are a ton easier and better to work with than requiring the user to require a data type such as `register(Array)`

to get array object calls. In the further future this may actually be required due to the amount of object call functions that will exist

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Object_BuiltinType Extension | .go ( golang source code file ) Purpose | Defines required states for the Builtin data type Directory | Modules/Backend/SkyScanner Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyScanner Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This sector of files also known as the 'ObjectType' sector will be defining all of the functions for the current data types within SkyLine.

WARN: This note exists for every single Object file in this directory

These functions include

						A - SkyLine_ObjectFunction_GetDataType
						B - SkyLine_ObjectFunction_GetTrueValue
						C - SkyLine_ObjectFunction_GetInterface
                     D - SkyLine_ObjectFunction_InvokeObject

A: Data Type return

  • This function will tell the SkyLine interpreter to grab or return the data type of the current object. This helps during parsing and evaluation to ensure that the data type is what it is and to make sure that the object being executed has the proper type.

B: Get True Value

  • This function may be confusing at first, but it takes a value such as an array and makes the most syntactic appropriate representation of the data type and then returns it as a string. This function starts by first declaring a byte input and also writing those values of the data types proper specification and returning it as a string. For example, in SkyLine variables are dynamic, this means that everything is `interpreted` and variables have no constant type based values. If you declare a string variable like `set x := "name"; ` then the result of that from the function with lable `B(Get True Value)` will return `TYPE STRING VARIABLE (x) := STRING[name];` which can be helpful for optimization and syntactic purposes.`

C: Get Interface:

  • This function just returns a type interface representing the object

D: Invoke Object:

  • This allows objects to have their own specific functions such as ORD, LEN, SPLIT etc. Below is a table of common object call functions for different data types

    | SkyLine Data Type | Object Call Function List | ------------------- | -------------------------- | Integer | [methods, ord] | String | [methods, split, index ...]| Boolean | [methods] | Float | [methods] | ... | ...

Object call functions are a ton easier and better to work with than requiring the user to require a data type such as `register(Array)`

to get array object calls. In the further future this may actually be required due to the amount of object call functions that will exist

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Object_StringType Extension | .go ( golang source code file ) Purpose | Defines required states for the String data type Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This sector of files also known as the 'ObjectType' sector will be defining all of the functions for the current data types within SkyLine.

WARN: This note exists for every single Object file in this directory

These functions include

						A - SkyLine_ObjectFunction_GetDataType
						B - SkyLine_ObjectFunction_GetTrueValue
						C - SkyLine_ObjectFunction_GetInterface
                     D - SkyLine_ObjectFunction_InvokeObject

A: Data Type return

  • This function will tell the SkyLine interpreter to grab or return the data type of the current object. This helps during parsing and evaluation to ensure that the data type is what it is and to make sure that the object being executed has the proper type.

B: Get True Value

  • This function may be confusing at first, but it takes a value such as an array and makes the most syntactic appropriate representation of the data type and then returns it as a string. This function starts by first declaring a byte input and also writing those values of the data types proper specification and returning it as a string. For example, in SkyLine variables are dynamic, this means that everything is `interpreted` and variables have no constant type based values. If you declare a string variable like `set x := "name"; ` then the result of that from the function with lable `B(Get True Value)` will return `TYPE STRING VARIABLE (x) := STRING[name];` which can be helpful for optimization and syntactic purposes.`

C: Get Interface:

  • This function just returns a type interface representing the object

D: Invoke Object:

  • This allows objects to have their own specific functions such as ORD, LEN, SPLIT etc. Below is a table of common object call functions for different data types

    | SkyLine Data Type | Object Call Function List | ------------------- | -------------------------- | Integer | [methods, ord] | String | [methods, split, index ...]| Boolean | [methods] | Float | [methods] | ... | ...

Object call functions are a ton easier and better to work with than requiring the user to require a data type such as `register(Array)`

to get array object calls. In the further future this may actually be required due to the amount of object call functions that will exist

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Object_ErrorType Extension | .go ( golang source code file ) Purpose | Defines required states for the Error data type Directory | Modules/Backend/SkyScanner Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyScanner Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This sector of files also known as the 'ObjectType' sector will be defining all of the functions for the current data types within SkyLine.

WARN: This note exists for every single Object file in this directory

These functions include

						A - SkyLine_ObjectFunction_GetDataType
						B - SkyLine_ObjectFunction_GetTrueValue
						C - SkyLine_ObjectFunction_GetInterface
                     D - SkyLine_ObjectFunction_InvokeObject

A: Data Type return

  • This function will tell the SkyLine interpreter to grab or return the data type of the current object. This helps during parsing and evaluation to ensure that the data type is what it is and to make sure that the object being executed has the proper type.

B: Get True Value

  • This function may be confusing at first, but it takes a value such as an array and makes the most syntactic appropriate representation of the data type and then returns it as a string. This function starts by first declaring a byte input and also writing those values of the data types proper specification and returning it as a string. For example, in SkyLine variables are dynamic, this means that everything is `interpreted` and variables have no constant type based values. If you declare a string variable like `set x := "name"; ` then the result of that from the function with lable `B(Get True Value)` will return `TYPE STRING VARIABLE (x) := STRING[name];` which can be helpful for optimization and syntactic purposes.`

C: Get Interface:

  • This function just returns a type interface representing the object

D: Invoke Object:

  • This allows objects to have their own specific functions such as ORD, LEN, SPLIT etc. Below is a table of common object call functions for different data types

    | SkyLine Data Type | Object Call Function List | ------------------- | -------------------------- | Integer | [methods, ord] | String | [methods, split, index ...]| Boolean | [methods] | Float | [methods] | ... | ...

Object call functions are a ton easier and better to work with than requiring the user to require a data type such as `register(Array)`

to get array object calls. In the further future this may actually be required due to the amount of object call functions that will exist

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Object_FloatType Extension | .go ( golang source code file ) Purpose | Defines required states for the Float data type Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This sector of files also known as the 'ObjectType' sector will be defining all of the functions for the current data types within SkyLine.

WARN: This note exists for every single Object file in this directory

These functions include

						A - SkyLine_ObjectFunction_GetDataType
						B - SkyLine_ObjectFunction_GetTrueValue
						C - SkyLine_ObjectFunction_GetInterface
                     D - SkyLine_ObjectFunction_InvokeObject

A: Data Type return

  • This function will tell the SkyLine interpreter to grab or return the data type of the current object. This helps during parsing and evaluation to ensure that the data type is what it is and to make sure that the object being executed has the proper type.

B: Get True Value

  • This function may be confusing at first, but it takes a value such as an array and makes the most syntactic appropriate representation of the data type and then returns it as a string. This function starts by first declaring a byte input and also writing those values of the data types proper specification and returning it as a string. For example, in SkyLine variables are dynamic, this means that everything is `interpreted` and variables have no constant type based values. If you declare a string variable like `set x := "name"; ` then the result of that from the function with lable `B(Get True Value)` will return `TYPE STRING VARIABLE (x) := STRING[name];` which can be helpful for optimization and syntactic purposes.`

C: Get Interface:

  • This function just returns a type interface representing the object

D: Invoke Object:

  • This allows objects to have their own specific functions such as ORD, LEN, SPLIT etc. Below is a table of common object call functions for different data types

    | SkyLine Data Type | Object Call Function List | ------------------- | -------------------------- | Integer | [methods, ord] | String | [methods, split, index ...]| Boolean | [methods] | Float | [methods] | ... | ...

Object call functions are a ton easier and better to work with than requiring the user to require a data type such as `register(Array)`

to get array object calls. In the further future this may actually be required due to the amount of object call functions that will exist

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Object_HashKeyTypes Extension | .go ( golang source code file ) Purpose | Defines all hashable functions for data types (integer, string, float) or any type that needs to be hashed Directory | Modules/Backend/SkyScanner Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyScanner Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This sector of files also known as the 'ObjectType' sector will be defining all of the functions for the current data types within SkyLine.

WARN: This note exists for every single Object file in this directory

These functions include

						A - SkyLine_ObjectFunction_GetDataType
						B - SkyLine_ObjectFunction_GetTrueValue
						C - SkyLine_ObjectFunction_GetInterface
                     D - SkyLine_ObjectFunction_InvokeObject

A: Data Type return

  • This function will tell the SkyLine interpreter to grab or return the data type of the current object. This helps during parsing and evaluation to ensure that the data type is what it is and to make sure that the object being executed has the proper type.

B: Get True Value

  • This function may be confusing at first, but it takes a value such as an array and makes the most syntactic appropriate representation of the data type and then returns it as a string. This function starts by first declaring a byte input and also writing those values of the data types proper specification and returning it as a string. For example, in SkyLine variables are dynamic, this means that everything is `interpreted` and variables have no constant type based values. If you declare a string variable like `set x := "name"; ` then the result of that from the function with lable `B(Get True Value)` will return `TYPE STRING VARIABLE (x) := STRING[name];` which can be helpful for optimization and syntactic purposes.`

C: Get Interface:

  • This function just returns a type interface representing the object

D: Invoke Object:

  • This allows objects to have their own specific functions such as ORD, LEN, SPLIT etc. Below is a table of common object call functions for different data types

    | SkyLine Data Type | Object Call Function List | ------------------- | -------------------------- | Integer | [methods, ord] | String | [methods, split, index ...]| Boolean | [methods] | Float | [methods] | ... | ...

Object call functions are a ton easier and better to work with than requiring the user to require a data type such as `register(Array)`

to get array object calls. In the further future this may actually be required due to the amount of object call functions that will exist

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Object_HashKeyTypes Extension | .go ( golang source code file ) Purpose | Defines all hashable functions for data types (integer, string, float) or any type that needs to be hashed Directory | Modules/Backend/SkyScanner Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyScanner Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This sector of files also known as the 'ObjectType' sector will be defining all of the functions for the current data types within SkyLine.

WARN: This note exists for every single Object file in this directory

These functions include

						A - SkyLine_ObjectFunction_GetDataType
						B - SkyLine_ObjectFunction_GetTrueValue
						C - SkyLine_ObjectFunction_GetInterface
                     D - SkyLine_ObjectFunction_InvokeObject

A: Data Type return

  • This function will tell the SkyLine interpreter to grab or return the data type of the current object. This helps during parsing and evaluation to ensure that the data type is what it is and to make sure that the object being executed has the proper type.

B: Get True Value

  • This function may be confusing at first, but it takes a value such as an array and makes the most syntactic appropriate representation of the data type and then returns it as a string. This function starts by first declaring a byte input and also writing those values of the data types proper specification and returning it as a string. For example, in SkyLine variables are dynamic, this means that everything is `interpreted` and variables have no constant type based values. If you declare a string variable like `set x := "name"; ` then the result of that from the function with lable `B(Get True Value)` will return `TYPE STRING VARIABLE (x) := STRING[name];` which can be helpful for optimization and syntactic purposes.`

C: Get Interface:

  • This function just returns a type interface representing the object

D: Invoke Object:

  • This allows objects to have their own specific functions such as ORD, LEN, SPLIT etc. Below is a table of common object call functions for different data types

    | SkyLine Data Type | Object Call Function List | ------------------- | -------------------------- | Integer | [methods, ord] | String | [methods, split, index ...]| Boolean | [methods] | Float | [methods] | ... | ...

Object call functions are a ton easier and better to work with than requiring the user to require a data type such as `register(Array)`

to get array object calls. In the further future this may actually be required due to the amount of object call functions that will exist

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Object_HashType Extension | .go ( golang source code file ) Purpose | Defines required states for the Hash data type Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This sector of files also known as the 'ObjectType' sector will be defining all of the functions for the current data types within SkyLine.

WARN: This note exists for every single Object file in this directory

These functions include

						A - SkyLine_ObjectFunction_GetDataType
						B - SkyLine_ObjectFunction_GetTrueValue
						C - SkyLine_ObjectFunction_GetInterface
                     D - SkyLine_ObjectFunction_InvokeObject

A: Data Type return

  • This function will tell the SkyLine interpreter to grab or return the data type of the current object. This helps during parsing and evaluation to ensure that the data type is what it is and to make sure that the object being executed has the proper type.

B: Get True Value

  • This function may be confusing at first, but it takes a value such as an array and makes the most syntactic appropriate representation of the data type and then returns it as a string. This function starts by first declaring a byte input and also writing those values of the data types proper specification and returning it as a string. For example, in SkyLine variables are dynamic, this means that everything is `interpreted` and variables have no constant type based values. If you declare a string variable like `set x := "name"; ` then the result of that from the function with lable `B(Get True Value)` will return `TYPE STRING VARIABLE (x) := STRING[name];` which can be helpful for optimization and syntactic purposes.`

C: Get Interface:

  • This function just returns a type interface representing the object

D: Invoke Object:

  • This allows objects to have their own specific functions such as ORD, LEN, SPLIT etc. Below is a table of common object call functions for different data types

    | SkyLine Data Type | Object Call Function List | ------------------- | -------------------------- | Integer | [methods, ord] | String | [methods, split, index ...]| Boolean | [methods] | Float | [methods] | ... | ...

Object call functions are a ton easier and better to work with than requiring the user to require a data type such as `register(Array)`

to get array object calls. In the further future this may actually be required due to the amount of object call functions that will exist

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Object_IntegerType Extension | .go ( golang source code file ) Purpose | Defines required states for the Integer data type Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This sector of files also known as the 'ObjectType' sector will be defining all of the functions for the current data types within SkyLine.

WARN: This note exists for every single Object file in this directory

These functions include

						A - SkyLine_ObjectFunction_GetDataType
						B - SkyLine_ObjectFunction_GetTrueValue
						C - SkyLine_ObjectFunction_GetInterface
                     D - SkyLine_ObjectFunction_InvokeObject

A: Data Type return

  • This function will tell the SkyLine interpreter to grab or return the data type of the current object. This helps during parsing and evaluation to ensure that the data type is what it is and to make sure that the object being executed has the proper type.

B: Get True Value

  • This function may be confusing at first, but it takes a value such as an array and makes the most syntactic appropriate representation of the data type and then returns it as a string. This function starts by first declaring a byte input and also writing those values of the data types proper specification and returning it as a string. For example, in SkyLine variables are dynamic, this means that everything is `interpreted` and variables have no constant type based values. If you declare a string variable like `set x := "name"; ` then the result of that from the function with lable `B(Get True Value)` will return `TYPE STRING VARIABLE (x) := STRING[name];` which can be helpful for optimization and syntactic purposes.`

C: Get Interface:

  • This function just returns a type interface representing the object

D: Invoke Object:

  • This allows objects to have their own specific functions such as ORD, LEN, SPLIT etc. Below is a table of common object call functions for different data types

    | SkyLine Data Type | Object Call Function List | ------------------- | -------------------------- | Integer | [methods, ord] | String | [methods, split, index ...]| Boolean | [methods] | Float | [methods] | ... | ...

Object call functions are a ton easier and better to work with than requiring the user to require a data type such as `register(Array)`

to get array object calls. In the further future this may actually be required due to the amount of object call functions that will exist

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Object_IntegerType Extension | .go ( golang source code file ) Purpose | Defines required states for the Integer data type Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This sector of files also known as the 'ObjectType' sector will be defining all of the functions for the current data types within SkyLine.

WARN: This note exists for every single Object file in this directory

These functions include

						A - SkyLine_ObjectFunction_GetDataType
						B - SkyLine_ObjectFunction_GetTrueValue
						C - SkyLine_ObjectFunction_GetInterface
                     D - SkyLine_ObjectFunction_InvokeObject

A: Data Type return

  • This function will tell the SkyLine interpreter to grab or return the data type of the current object. This helps during parsing and evaluation to ensure that the data type is what it is and to make sure that the object being executed has the proper type.

B: Get True Value

  • This function may be confusing at first, but it takes a value such as an array and makes the most syntactic appropriate representation of the data type and then returns it as a string. This function starts by first declaring a byte input and also writing those values of the data types proper specification and returning it as a string. For example, in SkyLine variables are dynamic, this means that everything is `interpreted` and variables have no constant type based values. If you declare a string variable like `set x := "name"; ` then the result of that from the function with lable `B(Get True Value)` will return `TYPE STRING VARIABLE (x) := STRING[name];` which can be helpful for optimization and syntactic purposes.`

C: Get Interface:

  • This function just returns a type interface representing the object

D: Invoke Object:

  • This allows objects to have their own specific functions such as ORD, LEN, SPLIT etc. Below is a table of common object call functions for different data types

    | SkyLine Data Type | Object Call Function List | ------------------- | -------------------------- | Integer | [methods, ord] | String | [methods, split, index ...]| Boolean | [methods] | Float | [methods] | ... | ...

Object call functions are a ton easier and better to work with than requiring the user to require a data type such as `register(Array)`

to get array object calls. In the further future this may actually be required due to the amount of object call functions that will exist

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Object_IntegerType Extension | .go ( golang source code file ) Purpose | Defines required states for the Integer data type Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This sector of files also known as the 'ObjectType' sector will be defining all of the functions for the current data types within SkyLine.

WARN: This note exists for every single Object file in this directory

These functions include

						A - SkyLine_ObjectFunction_GetDataType
						B - SkyLine_ObjectFunction_GetTrueValue
						C - SkyLine_ObjectFunction_GetInterface
                     D - SkyLine_ObjectFunction_InvokeObject

A: Data Type return

  • This function will tell the SkyLine interpreter to grab or return the data type of the current object. This helps during parsing and evaluation to ensure that the data type is what it is and to make sure that the object being executed has the proper type.

B: Get True Value

  • This function may be confusing at first, but it takes a value such as an array and makes the most syntactic appropriate representation of the data type and then returns it as a string. This function starts by first declaring a byte input and also writing those values of the data types proper specification and returning it as a string. For example, in SkyLine variables are dynamic, this means that everything is `interpreted` and variables have no constant type based values. If you declare a string variable like `set x := "name"; ` then the result of that from the function with lable `B(Get True Value)` will return `TYPE STRING VARIABLE (x) := STRING[name];` which can be helpful for optimization and syntactic purposes.`

C: Get Interface:

  • This function just returns a type interface representing the object

D: Invoke Object:

  • This allows objects to have their own specific functions such as ORD, LEN, SPLIT etc. Below is a table of common object call functions for different data types

    | SkyLine Data Type | Object Call Function List | ------------------- | -------------------------- | Integer | [methods, ord] | String | [methods, split, index ...]| Boolean | [methods] | Float | [methods] | ... | ...

Object call functions are a ton easier and better to work with than requiring the user to require a data type such as `register(Array)`

to get array object calls. In the further future this may actually be required due to the amount of object call functions that will exist

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Object_IntegerType Extension | .go ( golang source code file ) Purpose | Defines required states for the Integer data type Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This sector of files also known as the 'ObjectType' sector will be defining all of the functions for the current data types within SkyLine.

WARN: This note exists for every single Object file in this directory

These functions include

						A - SkyLine_ObjectFunction_GetDataType
						B - SkyLine_ObjectFunction_GetTrueValue
						C - SkyLine_ObjectFunction_GetInterface
                     D - SkyLine_ObjectFunction_InvokeObject

A: Data Type return

  • This function will tell the SkyLine interpreter to grab or return the data type of the current object. This helps during parsing and evaluation to ensure that the data type is what it is and to make sure that the object being executed has the proper type.

B: Get True Value

  • This function may be confusing at first, but it takes a value such as an array and makes the most syntactic appropriate representation of the data type and then returns it as a string. This function starts by first declaring a byte input and also writing those values of the data types proper specification and returning it as a string. For example, in SkyLine variables are dynamic, this means that everything is `interpreted` and variables have no constant type based values. If you declare a string variable like `set x := "name"; ` then the result of that from the function with lable `B(Get True Value)` will return `TYPE STRING VARIABLE (x) := STRING[name];` which can be helpful for optimization and syntactic purposes.`

C: Get Interface:

  • This function just returns a type interface representing the object

D: Invoke Object:

  • This allows objects to have their own specific functions such as ORD, LEN, SPLIT etc. Below is a table of common object call functions for different data types

    | SkyLine Data Type | Object Call Function List | ------------------- | -------------------------- | Integer | [methods, ord] | String | [methods, split, index ...]| Boolean | [methods] | Float | [methods] | ... | ...

Object call functions are a ton easier and better to work with than requiring the user to require a data type such as `register(Array)`

to get array object calls. In the further future this may actually be required due to the amount of object call functions that will exist

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Object_IntegerType Extension | .go ( golang source code file ) Purpose | Defines required states for the Integer data type Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This sector of files also known as the 'ObjectType' sector will be defining all of the functions for the current data types within SkyLine.

WARN: This note exists for every single Object file in this directory

These functions include

						A - SkyLine_ObjectFunction_GetDataType
						B - SkyLine_ObjectFunction_GetTrueValue
						C - SkyLine_ObjectFunction_GetInterface
                     D - SkyLine_ObjectFunction_InvokeObject

A: Data Type return

  • This function will tell the SkyLine interpreter to grab or return the data type of the current object. This helps during parsing and evaluation to ensure that the data type is what it is and to make sure that the object being executed has the proper type.

B: Get True Value

  • This function may be confusing at first, but it takes a value such as an array and makes the most syntactic appropriate representation of the data type and then returns it as a string. This function starts by first declaring a byte input and also writing those values of the data types proper specification and returning it as a string. For example, in SkyLine variables are dynamic, this means that everything is `interpreted` and variables have no constant type based values. If you declare a string variable like `set x := "name"; ` then the result of that from the function with lable `B(Get True Value)` will return `TYPE STRING VARIABLE (x) := STRING[name];` which can be helpful for optimization and syntactic purposes.`

C: Get Interface:

  • This function just returns a type interface representing the object

D: Invoke Object:

  • This allows objects to have their own specific functions such as ORD, LEN, SPLIT etc. Below is a table of common object call functions for different data types

    | SkyLine Data Type | Object Call Function List | ------------------- | -------------------------- | Integer | [methods, ord] | String | [methods, split, index ...]| Boolean | [methods] | Float | [methods] | ... | ...

Object call functions are a ton easier and better to work with than requiring the user to require a data type such as `register(Array)`

to get array object calls. In the further future this may actually be required due to the amount of object call functions that will exist

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Object_Module Extension | .go ( golang source code file ) Purpose | Defines all functions for a modular definition 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 a function that can set a new enclosed environment. This will create a new environment which is spawned or called

by an outer environmental parameter.

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Object_NullType Extension | .go ( golang source code file ) Purpose | Defines required states for the Null data type Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This sector of files also known as the 'ObjectType' sector will be defining all of the functions for the current data types within SkyLine.

WARN: This note exists for every single Object file in this directory

These functions include

						A - SkyLine_ObjectFunction_GetDataType
						B - SkyLine_ObjectFunction_GetTrueValue
						C - SkyLine_ObjectFunction_GetInterface
                     D - SkyLine_ObjectFunction_InvokeObject

A: Data Type return

  • This function will tell the SkyLine interpreter to grab or return the data type of the current object. This helps during parsing and evaluation to ensure that the data type is what it is and to make sure that the object being executed has the proper type.

B: Get True Value

  • This function may be confusing at first, but it takes a value such as an array and makes the most syntactic appropriate representation of the data type and then returns it as a string. This function starts by first declaring a byte input and also writing those values of the data types proper specification and returning it as a string. For example, in SkyLine variables are dynamic, this means that everything is `interpreted` and variables have no constant type based values. If you declare a string variable like `set x := "name"; ` then the result of that from the function with lable `B(Get True Value)` will return `TYPE STRING VARIABLE (x) := STRING[name];` which can be helpful for optimization and syntactic purposes.`

C: Get Interface:

  • This function just returns a type interface representing the object

D: Invoke Object:

  • This allows objects to have their own specific functions such as ORD, LEN, SPLIT etc. Below is a table of common object call functions for different data types

    | SkyLine Data Type | Object Call Function List | ------------------- | -------------------------- | Integer | [methods, ord] | String | [methods, split, index ...]| Boolean | [methods] | Float | [methods] | ... | ...

Object call functions are a ton easier and better to work with than requiring the user to require a data type such as `register(Array)`

to get array object calls. In the further future this may actually be required due to the amount of object call functions that will exist

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Object_ModuleType Extension | .go ( golang source code file ) Purpose | Defines required states for the Module data type Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This sector of files also known as the 'ObjectType' sector will be defining all of the functions for the current data types within SkyLine.

WARN: This note exists for every single Object file in this directory

These functions include

						A - SkyLine_ObjectFunction_GetDataType
						B - SkyLine_ObjectFunction_GetTrueValue
						C - SkyLine_ObjectFunction_GetInterface
                     D - SkyLine_ObjectFunction_InvokeObject

A: Data Type return

  • This function will tell the SkyLine interpreter to grab or return the data type of the current object. This helps during parsing and evaluation to ensure that the data type is what it is and to make sure that the object being executed has the proper type.

B: Get True Value

  • This function may be confusing at first, but it takes a value such as an array and makes the most syntactic appropriate representation of the data type and then returns it as a string. This function starts by first declaring a byte input and also writing those values of the data types proper specification and returning it as a string. For example, in SkyLine variables are dynamic, this means that everything is `interpreted` and variables have no constant type based values. If you declare a string variable like `set x := "name"; ` then the result of that from the function with lable `B(Get True Value)` will return `TYPE STRING VARIABLE (x) := STRING[name];` which can be helpful for optimization and syntactic purposes.`

C: Get Interface:

  • This function just returns a type interface representing the object

D: Invoke Object:

  • This allows objects to have their own specific functions such as ORD, LEN, SPLIT etc. Below is a table of common object call functions for different data types

    | SkyLine Data Type | Object Call Function List | ------------------- | -------------------------- | Integer | [methods, ord] | String | [methods, split, index ...]| Boolean | [methods] | Float | [methods] | ... | ...

Object call functions are a ton easier and better to work with than requiring the user to require a data type such as `register(Array)`

to get array object calls. In the further future this may actually be required due to the amount of object call functions that will exist

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Object_ReturnType Extension | .go ( golang source code file ) Purpose | Defines required states for the return data type Directory | Modules/Backend/SkyScanner Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyScanner Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This sector of files also known as the 'ObjectType' sector will be defining all of the functions for the current data types within SkyLine.

WARN: This note exists for every single Object file in this directory

These functions include

						A - SkyLine_ObjectFunction_GetDataType
						B - SkyLine_ObjectFunction_GetTrueValue
						C - SkyLine_ObjectFunction_GetInterface
                     D - SkyLine_ObjectFunction_InvokeObject

A: Data Type return

  • This function will tell the SkyLine interpreter to grab or return the data type of the current object. This helps during parsing and evaluation to ensure that the data type is what it is and to make sure that the object being executed has the proper type.

B: Get True Value

  • This function may be confusing at first, but it takes a value such as an array and makes the most syntactic appropriate representation of the data type and then returns it as a string. This function starts by first declaring a byte input and also writing those values of the data types proper specification and returning it as a string. For example, in SkyLine variables are dynamic, this means that everything is `interpreted` and variables have no constant type based values. If you declare a string variable like `set x := "name"; ` then the result of that from the function with lable `B(Get True Value)` will return `TYPE STRING VARIABLE (x) := STRING[name];` which can be helpful for optimization and syntactic purposes.`

C: Get Interface:

  • This function just returns a type interface representing the object

D: Invoke Object:

  • This allows objects to have their own specific functions such as ORD, LEN, SPLIT etc. Below is a table of common object call functions for different data types

    | SkyLine Data Type | Object Call Function List | ------------------- | -------------------------- | Integer | [methods, ord] | String | [methods, split, index ...]| Boolean | [methods] | Float | [methods] | ... | ...

Object call functions are a ton easier and better to work with than requiring the user to require a data type such as `register(Array)`

to get array object calls. In the further future this may actually be required due to the amount of object call functions that will exist

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Object_StringType Extension | .go ( golang source code file ) Purpose | Defines required states for the String data type Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This sector of files also known as the 'ObjectType' sector will be defining all of the functions for the current data types within SkyLine.

WARN: This note exists for every single Object file in this directory

These functions include

						A - SkyLine_ObjectFunction_GetDataType
						B - SkyLine_ObjectFunction_GetTrueValue
						C - SkyLine_ObjectFunction_GetInterface
                     D - SkyLine_ObjectFunction_InvokeObject

A: Data Type return

  • This function will tell the SkyLine interpreter to grab or return the data type of the current object. This helps during parsing and evaluation to ensure that the data type is what it is and to make sure that the object being executed has the proper type.

B: Get True Value

  • This function may be confusing at first, but it takes a value such as an array and makes the most syntactic appropriate representation of the data type and then returns it as a string. This function starts by first declaring a byte input and also writing those values of the data types proper specification and returning it as a string. For example, in SkyLine variables are dynamic, this means that everything is `interpreted` and variables have no constant type based values. If you declare a string variable like `set x := "name"; ` then the result of that from the function with lable `B(Get True Value)` will return `TYPE STRING VARIABLE (x) := STRING[name];` which can be helpful for optimization and syntactic purposes.`

C: Get Interface:

  • This function just returns a type interface representing the object

D: Invoke Object:

  • This allows objects to have their own specific functions such as ORD, LEN, SPLIT etc. Below is a table of common object call functions for different data types

    | SkyLine Data Type | Object Call Function List | ------------------- | -------------------------- | Integer | [methods, ord] | String | [methods, split, index ...]| Boolean | [methods] | Float | [methods] | ... | ...

Object call functions are a ton easier and better to work with than requiring the user to require a data type such as `register(Array)`

to get array object calls. In the further future this may actually be required due to the amount of object call functions that will exist

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

	 ┏━┓
	┃┃ ┃
━━━━┛

Filename | SkyLine_Backend_Module_Environment_Set Extension | .go ( golang source code file ) Purpose | Defines functions to set variables or load variables into the environment Directory | Modules/Backend/SkyEnvironment Modular Directory | github.com/SkyPenguinLabs/SkyLine/Modules/Backend/SkyEnvironment Package Name | SkyLine_Backend_Scanner

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Module Description / Learners Activity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This module defines all of the environmental functions that exist within the language to set or load variables into the VENV ( Virtual Environment ). These functions

allow SkyLine to set and store dynamic objects into the environment that have a name and a value. For example

(10 + 20) / 90 * 20

will not be stored, it has a value but does not have a name

but

set x := 10;

will be stored as `x:10` because x is the variable name and 10 is the value of x. We store variable names and values only to avoid collison and memory corruption when loading

or executing code in the evaluator or virtual machine

Index

Constants

View Source
const (
	SKYLINE_DATATYPE_INTEGER_OBJECT   = "Integer"    // Defines | Integer objects (1)
	SKYLINE_DATATYPE_INTEGER8_OBJECT  = "Integer8"   // Defines | Integer objects (1)
	SKYLINE_DATATYPE_INTEGER16_OBJECT = "Integer16"  // Defines | Integer objects (1)
	SKYLINE_DATATYPE_INTEGER32_OBJECT = "Integer32"  // Defines | Integer objects (1)
	SKYLINE_DATATYPE_INTEGER64_OBJECT = "Integer64"  // Defines | Integer objects (1)
	SKYLINE_DATATYPE_BOOLEAN_OBJECT   = "BOOLEAN"    // Defines | Boolean objects (true, false)
	SKYLINE_DATATYPE_STRING_OBJECT    = "STRING"     // Defines | String objects ("")
	SKYLINE_DATATYPE_FLOAT_OBJECT     = "FLOAT"      // Defines | Float objects (INTEGER.INTEGER)
	SKYLINE_DATATYPE_NULL_OBJECT      = "NULL"       // Defines | Null objects (NULL)
	SKYLINE_DATATYPE_ERROR_OBJECT     = "ERROR"      // Defines | Error objects (_error_)
	SKYLINE_DATATYPE_BUILTIN_OBJECT   = "BUILTIN"    // Defines | Builtin objects (_builtin_)
	SKYLINE_DATATYPE_FUNCTION_OBJECT  = "FUNCTION"   // Defines | Function objects (Func, function)
	SKYLINE_DATATYPE_FILE_OBJECT      = "FILE"       // Defines | File objects (FILE_RETURN)
	SKYLINE_DATATYPE_HASH_OBJECT      = "HASH"       // Defines | Hash objects ( {INTERFACE: INTERFACE} )
	SKYLINE_DATATYPE_ARRAY_OBJECT     = "ARRAY"      // Defines | Array objects ( [...] )
	SKYLINE_DATATYPE_RETURN_OBJECT    = "RETURN_VAR" // Defines | Return objects ( ret, return, <-TYPE )
	SKYLINE_DATATYPE_MODULE_OBJECT    = "MODULE"     // Defines | Module objects ( module 'module' )
	SKYLINE_DATATYPE_REGISTER_OBJECT  = "REGISTER"   // Defines | Register objects ( object )
	SKYLINE_DATATYPE_BYTE_OBJECT      = "BYTE"       // Defines | Byte objects ( ” )
)

Define object data types

Variables

View Source
var (
	SL_InvokeStringMap  = map[string]SL_InvokeMethod_String{}
	SL_InvokeIntegerMap = map[string]SL_InvokeMethod_Integer{}
	SL_InvokeArrayMap   = map[string]SL_IvokeMethod_Array{}
	SL_InvokeHashMapMap = map[string]SL_InvokeMethod_Map{}

	RegisterTypeMap = map[string]func(Name string, data interface{}){
		"string": func(Name string, data interface{}) {
			if conv, ok := data.(func(Value string, Env SkyLineEnvironment, args ...SL_Object) SL_Object); ok {

				SL_InvokeStringMap[Name] = conv
			}
		},
		"integer": func(Name string, data interface{}) {
			if conv, ok := data.(func(Value int, Env SkyLineEnvironment, args ...SL_Object) SL_Object); ok {

				SL_InvokeIntegerMap[Name] = conv
			}
		},
		"array": func(Name string, data interface{}) {
			if conv, ok := data.(func(Values []SL_Object, ArrayObject *SL_Array, Env SkyLineEnvironment, args ...SL_Object) SL_Object); ok {
				SL_InvokeArrayMap[Name] = conv

			}
		},
		"hash": func(Name string, data interface{}) {
			if conv, ok := data.(func(Value string, Env SkyLineEnvironment, HashObject *SL_HashMap, args ...SL_Object) SL_Object); ok {
				SL_InvokeHashMapMap[Name] = conv

			}
		},
	}
)

Functions

func RegisterInvokeString

func RegisterInvokeString(Name, DataType string, data interface{})

Types

type HashKey

type HashKey struct {
	ObjectDataType ObjectDataType
	Value          uint64
}

Hash implementation

type HashPair

type HashPair struct {
	Key   SL_Object
	Value SL_Object
}

type ObjectDataType

type ObjectDataType string

Module dependants

type SL_Array

type SL_Array struct {
	Elements []SL_Object
	Offset   int
}

func (*SL_Array) SkyLine_Next_Itteration

func (SL_ObjectArray *SL_Array) SkyLine_Next_Itteration() (SL_Object, SL_Object, bool)

Itteration call

func (*SL_Array) SkyLine_ObjectFunction_GetDataType

func (SL_ObjectArray *SL_Array) SkyLine_ObjectFunction_GetDataType() ObjectDataType

func (*SL_Array) SkyLine_ObjectFunction_GetInterface

func (SL_ObjectArray *SL_Array) SkyLine_ObjectFunction_GetInterface() interface{}

func (*SL_Array) SkyLine_ObjectFunction_GetTrueValue

func (SL_ObjectArray *SL_Array) SkyLine_ObjectFunction_GetTrueValue() string

func (*SL_Array) SkyLine_ObjectFunction_InvokeObject

func (SL_ObjectArray *SL_Array) SkyLine_ObjectFunction_InvokeObject(Call string, Environ SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object

Invokes

func (*SL_Array) SkyLine_Reset_Offset

func (SL_ObjectArray *SL_Array) SkyLine_Reset_Offset()

type SL_Boolean

type SL_Boolean struct {
	Value bool
}

func (*SL_Boolean) SL_HashKeyType

func (SL_ObjectBoolean *SL_Boolean) SL_HashKeyType() HashKey

Boolean

func (*SL_Boolean) SkyLine_ObjectFunction_GetDataType

func (SL_ObjectBoolean *SL_Boolean) SkyLine_ObjectFunction_GetDataType() ObjectDataType

func (*SL_Boolean) SkyLine_ObjectFunction_GetInterface

func (SL_ObjectBoolean *SL_Boolean) SkyLine_ObjectFunction_GetInterface() interface{}

func (*SL_Boolean) SkyLine_ObjectFunction_GetTrueValue

func (SL_ObjectBoolean *SL_Boolean) SkyLine_ObjectFunction_GetTrueValue() string

func (*SL_Boolean) SkyLine_ObjectFunction_InvokeObject

func (SL_ObjectBoolean *SL_Boolean) SkyLine_ObjectFunction_InvokeObject(Call string, Environ SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object

Invoke

type SL_Builtin

type SL_Builtin struct {
	Function SkyLine_BuiltinFunction
}

func (*SL_Builtin) SkyLine_ObjectFunction_GetDataType

func (SL_ObjectBuiltin *SL_Builtin) SkyLine_ObjectFunction_GetDataType() ObjectDataType

func (*SL_Builtin) SkyLine_ObjectFunction_GetInterface

func (SL_ObjectBuiltin *SL_Builtin) SkyLine_ObjectFunction_GetInterface() interface{}

func (*SL_Builtin) SkyLine_ObjectFunction_GetTrueValue

func (SL_ObjectBuiltin *SL_Builtin) SkyLine_ObjectFunction_GetTrueValue() string

func (*SL_Builtin) SkyLine_ObjectFunction_InvokeObject

func (SL_ObjectBuiltin *SL_Builtin) SkyLine_ObjectFunction_InvokeObject(Call string, Environ SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object

type SL_Byte

type SL_Byte struct {
	Value byte
}

func (*SL_Byte) SL_HashKeyType

func (SL_ObjectByte *SL_Byte) SL_HashKeyType() HashKey

Byte

func (*SL_Byte) SkyLine_ObjectFunction_GetDataType

func (SL_ObjectByte *SL_Byte) SkyLine_ObjectFunction_GetDataType() ObjectDataType

func (*SL_Byte) SkyLine_ObjectFunction_GetInterface

func (SL_ObjectByte *SL_Byte) SkyLine_ObjectFunction_GetInterface() interface{}

func (*SL_Byte) SkyLine_ObjectFunction_GetTrueValue

func (SL_ObjectByte *SL_Byte) SkyLine_ObjectFunction_GetTrueValue() string

func (*SL_Byte) SkyLine_ObjectFunction_InvokeObject

func (SL_ObjectByte *SL_Byte) SkyLine_ObjectFunction_InvokeObject(Call string, Environ SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object

type SL_ENGINE_VALUE

type SL_ENGINE_VALUE struct {
	Value SL_Object
}

type SL_Error

type SL_Error struct {
	Message string
}

func (*SL_Error) SkyLine_ObjectFunction_GetDataType

func (SL_ObjectError *SL_Error) SkyLine_ObjectFunction_GetDataType() ObjectDataType

func (*SL_Error) SkyLine_ObjectFunction_GetInterface

func (SL_ObjectError *SL_Error) SkyLine_ObjectFunction_GetInterface() interface{}

func (*SL_Error) SkyLine_ObjectFunction_GetTrueValue

func (SL_ObjectError *SL_Error) SkyLine_ObjectFunction_GetTrueValue() string

func (*SL_Error) SkyLine_ObjectFunction_InvokeObject

func (SL_ObjectError *SL_Error) SkyLine_ObjectFunction_InvokeObject(Call string, Environ SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object

Invokes

type SL_Float

type SL_Float struct {
	Value float64
}

func (*SL_Float) SL_HashKeyType

func (SL_ObjectFloat *SL_Float) SL_HashKeyType() HashKey

Float

func (*SL_Float) SkyLine_ObjectFunction_GetDataType

func (SL_ObjectFloat *SL_Float) SkyLine_ObjectFunction_GetDataType() ObjectDataType

func (*SL_Float) SkyLine_ObjectFunction_GetInterface

func (SL_ObjectFloat *SL_Float) SkyLine_ObjectFunction_GetInterface() interface{}

func (*SL_Float) SkyLine_ObjectFunction_GetTrueValue

func (SL_ObjectFloat *SL_Float) SkyLine_ObjectFunction_GetTrueValue() string

func (*SL_Float) SkyLine_ObjectFunction_InvokeObject

func (SL_ObjectFloat *SL_Float) SkyLine_ObjectFunction_InvokeObject(Call string, Environ SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object

Invokes

type SL_Functions

type SL_Functions struct {
	Sky_Function_Arguments []*SkyAST.SL_Identifier
	Unit                   *SkyAST.SL_UnitBlockStatement
	Defaults               map[string]SkyAST.SL_Expression
	Env                    *SkyLineEnvironment
}

func (*SL_Functions) SkyLine_ObjectFunction_GetDataType

func (SL_ObjectFunction *SL_Functions) SkyLine_ObjectFunction_GetDataType() ObjectDataType

func (*SL_Functions) SkyLine_ObjectFunction_GetInterface

func (SL_ObjectFunction *SL_Functions) SkyLine_ObjectFunction_GetInterface() interface{}

func (*SL_Functions) SkyLine_ObjectFunction_GetTrueValue

func (SL_ObjectFunction *SL_Functions) SkyLine_ObjectFunction_GetTrueValue() string

func (*SL_Functions) SkyLine_ObjectFunction_InvokeObject

func (SL_ObjectFunction *SL_Functions) SkyLine_ObjectFunction_InvokeObject(Call string, Environ SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object

type SL_HashMap

type SL_HashMap struct {
	Pairs  map[HashKey]HashPair
	Offset int
}

func (*SL_HashMap) Reset

func (SL_ObjectHashMap *SL_HashMap) Reset()

func (*SL_HashMap) SkyLine_Next_Itteration

func (SL_ObjectHashMap *SL_HashMap) SkyLine_Next_Itteration() (SL_Object, SL_Object, bool)

func (*SL_HashMap) SkyLine_ObjectFunction_GetDataType

func (SL_ObjectHashMap *SL_HashMap) SkyLine_ObjectFunction_GetDataType() ObjectDataType

func (*SL_HashMap) SkyLine_ObjectFunction_GetInterface

func (SL_ObjectHashMap *SL_HashMap) SkyLine_ObjectFunction_GetInterface() interface{}

func (*SL_HashMap) SkyLine_ObjectFunction_GetTrueValue

func (SL_ObjectHashMap *SL_HashMap) SkyLine_ObjectFunction_GetTrueValue() string

func (*SL_HashMap) SkyLine_ObjectFunction_InvokeObject

func (SL_ObjectHashMap *SL_HashMap) SkyLine_ObjectFunction_InvokeObject(Call string, Environ SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object

Invokes

type SL_Hashable

type SL_Hashable interface {
	SL_HashKeyType() HashKey
}

type SL_Integer

type SL_Integer struct {
	Value int
}

func (*SL_Integer) SL_HashKeyType

func (SL_ObjectInteger *SL_Integer) SL_HashKeyType() HashKey

Integer

func (*SL_Integer) SkyLine_ObjectFunction_GetDataType

func (SL_ObjectInteger *SL_Integer) SkyLine_ObjectFunction_GetDataType() ObjectDataType

func (*SL_Integer) SkyLine_ObjectFunction_GetInterface

func (SL_ObjectInteger *SL_Integer) SkyLine_ObjectFunction_GetInterface() interface{}

func (*SL_Integer) SkyLine_ObjectFunction_GetTrueValue

func (SL_ObjectInteger *SL_Integer) SkyLine_ObjectFunction_GetTrueValue() string

Syntax

func (*SL_Integer) SkyLine_ObjectFunction_InvokeObject

func (SL_ObjectInteger *SL_Integer) SkyLine_ObjectFunction_InvokeObject(Call string, Environ SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object

type SL_Integer16

type SL_Integer16 struct {
	Value int16
}

func (*SL_Integer16) SL_HashKeyType

func (SL_ObjectInteger16 *SL_Integer16) SL_HashKeyType() HashKey

Integer 16

func (*SL_Integer16) SkyLine_ObjectFunction_GetDataType

func (SL_ObjectInteger *SL_Integer16) SkyLine_ObjectFunction_GetDataType() ObjectDataType

func (*SL_Integer16) SkyLine_ObjectFunction_GetInterface

func (SL_ObjectInteger *SL_Integer16) SkyLine_ObjectFunction_GetInterface() interface{}

func (*SL_Integer16) SkyLine_ObjectFunction_GetTrueValue

func (SL_ObjectInteger *SL_Integer16) SkyLine_ObjectFunction_GetTrueValue() string

func (*SL_Integer16) SkyLine_ObjectFunction_InvokeObject

func (SL_ObjectInteger *SL_Integer16) SkyLine_ObjectFunction_InvokeObject(Call string, Environ SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object

type SL_Integer32

type SL_Integer32 struct {
	Value int32
}

func (*SL_Integer32) SL_HashKeyType

func (SL_ObjectInteger32 *SL_Integer32) SL_HashKeyType() HashKey

func (*SL_Integer32) SkyLine_ObjectFunction_GetDataType

func (SL_ObjectInteger *SL_Integer32) SkyLine_ObjectFunction_GetDataType() ObjectDataType

func (*SL_Integer32) SkyLine_ObjectFunction_GetInterface

func (SL_ObjectInteger *SL_Integer32) SkyLine_ObjectFunction_GetInterface() interface{}

func (*SL_Integer32) SkyLine_ObjectFunction_GetTrueValue

func (SL_ObjectInteger *SL_Integer32) SkyLine_ObjectFunction_GetTrueValue() string

func (*SL_Integer32) SkyLine_ObjectFunction_InvokeObject

func (SL_ObjectInteger *SL_Integer32) SkyLine_ObjectFunction_InvokeObject(Call string, Environ SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object

type SL_Integer64

type SL_Integer64 struct {
	Value int64
}

func (*SL_Integer64) SL_HashKeyType

func (SL_ObjectInteger64 *SL_Integer64) SL_HashKeyType() HashKey

func (*SL_Integer64) SkyLine_ObjectFunction_GetDataType

func (SL_ObjectInteger *SL_Integer64) SkyLine_ObjectFunction_GetDataType() ObjectDataType

func (*SL_Integer64) SkyLine_ObjectFunction_GetInterface

func (SL_ObjectInteger *SL_Integer64) SkyLine_ObjectFunction_GetInterface() interface{}

func (*SL_Integer64) SkyLine_ObjectFunction_GetTrueValue

func (SL_ObjectInteger *SL_Integer64) SkyLine_ObjectFunction_GetTrueValue() string

func (*SL_Integer64) SkyLine_ObjectFunction_InvokeObject

func (SL_ObjectInteger *SL_Integer64) SkyLine_ObjectFunction_InvokeObject(Call string, Environ SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object

type SL_Integer8

type SL_Integer8 struct {
	Value int8
}

func (*SL_Integer8) SL_HashKeyType

func (SL_ObjectInteger8 *SL_Integer8) SL_HashKeyType() HashKey

Integer 8

func (*SL_Integer8) SkyLine_ObjectFunction_GetDataType

func (SL_ObjectInteger *SL_Integer8) SkyLine_ObjectFunction_GetDataType() ObjectDataType

func (*SL_Integer8) SkyLine_ObjectFunction_GetInterface

func (SL_ObjectInteger *SL_Integer8) SkyLine_ObjectFunction_GetInterface() interface{}

func (*SL_Integer8) SkyLine_ObjectFunction_GetTrueValue

func (SL_ObjectInteger *SL_Integer8) SkyLine_ObjectFunction_GetTrueValue() string

func (*SL_Integer8) SkyLine_ObjectFunction_InvokeObject

func (SL_ObjectInteger *SL_Integer8) SkyLine_ObjectFunction_InvokeObject(Call string, Environ SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object

type SL_InvokeMethod_Integer

type SL_InvokeMethod_Integer func(Value int, Env SkyLineEnvironment, args ...SL_Object) SL_Object

type SL_InvokeMethod_Map

type SL_InvokeMethod_Map func(Value string, Env SkyLineEnvironment, HashObject *SL_HashMap, args ...SL_Object) SL_Object

type SL_InvokeMethod_String

type SL_InvokeMethod_String func(Value string, Env SkyLineEnvironment, args ...SL_Object) SL_Object

type SL_Iterable

type SL_Iterable interface {
	SkyLine_Reset_Offset()
	SkyLine_Next_Itteration() (SL_Object, SL_Object, bool)
}

type SL_IvokeMethod_Array

type SL_IvokeMethod_Array func(Values []SL_Object, ArrayObject *SL_Array, Env SkyLineEnvironment, args ...SL_Object) SL_Object

type SL_Module

type SL_Module struct {
	SL_ModuleNames string
	SL_Attributes  SL_Object
}

func (*SL_Module) GetModuleFile

func (SL_ObjectModule *SL_Module) GetModuleFile() string

func (*SL_Module) SkyLine_ObjectFunction_GetDataType

func (SL_ObjectModule *SL_Module) SkyLine_ObjectFunction_GetDataType() ObjectDataType

func (*SL_Module) SkyLine_ObjectFunction_GetInterface

func (SL_ObjectModule *SL_Module) SkyLine_ObjectFunction_GetInterface() interface{}

func (*SL_Module) SkyLine_ObjectFunction_GetTrueValue

func (SL_ObjectModule *SL_Module) SkyLine_ObjectFunction_GetTrueValue() string

func (*SL_Module) SkyLine_ObjectFunction_InvokeObject

func (SL_ObjectModule *SL_Module) SkyLine_ObjectFunction_InvokeObject(Call string, Environ SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object

type SL_NULL

type SL_NULL struct{}

func (*SL_NULL) SkyLine_ObjectFunction_GetDataType

func (SL_ObjectNull *SL_NULL) SkyLine_ObjectFunction_GetDataType() ObjectDataType

func (*SL_NULL) SkyLine_ObjectFunction_GetInterface

func (SL_ObjectNull *SL_NULL) SkyLine_ObjectFunction_GetInterface() interface{}

func (*SL_NULL) SkyLine_ObjectFunction_GetTrueValue

func (SL_ObjectNull *SL_NULL) SkyLine_ObjectFunction_GetTrueValue() string

func (*SL_NULL) SkyLine_ObjectFunction_InvokeObject

func (SL_ObjectNull *SL_NULL) SkyLine_ObjectFunction_InvokeObject(Call string, Environ SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object

type SL_Object

type SL_Object interface {
	SkyLine_ObjectFunction_GetDataType() ObjectDataType                                                             // Get the data type of the Object
	SkyLine_ObjectFunction_GetTrueValue() string                                                                    // Get the value that the interpreter or byte code compiler sees
	SkyLine_ObjectFunction_GetInterface() interface{}                                                               // Convert to interface
	SkyLine_ObjectFunction_InvokeObject(Call string, Environ SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object // Object call functions (TYPE.CALL)
}

Object interfaces

type SL_RegisterType

type SL_RegisterType struct {
	Value SL_Object
}

func (*SL_RegisterType) SkyLine_ObjectFunction_GetDataType

func (SL_RegValue *SL_RegisterType) SkyLine_ObjectFunction_GetDataType() ObjectDataType

func (*SL_RegisterType) SkyLine_ObjectFunction_GetInterface

func (SL_RegValue *SL_RegisterType) SkyLine_ObjectFunction_GetInterface() interface{}

func (*SL_RegisterType) SkyLine_ObjectFunction_GetTrueValue

func (SL_RegValue *SL_RegisterType) SkyLine_ObjectFunction_GetTrueValue() string

func (*SL_RegisterType) SkyLine_ObjectFunction_InvokeObject

func (SL_RegValue *SL_RegisterType) SkyLine_ObjectFunction_InvokeObject(Call string, Environ SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object

type SL_Return

type SL_Return struct {
	Value SL_Object
}

func (*SL_Return) SkyLine_ObjectFunction_GetDataType

func (SL_ObjectReturn *SL_Return) SkyLine_ObjectFunction_GetDataType() ObjectDataType

func (*SL_Return) SkyLine_ObjectFunction_GetInterface

func (SL_ObjectReturn *SL_Return) SkyLine_ObjectFunction_GetInterface() interface{}

func (*SL_Return) SkyLine_ObjectFunction_GetTrueValue

func (SL_ObjectReturn *SL_Return) SkyLine_ObjectFunction_GetTrueValue() string

func (*SL_Return) SkyLine_ObjectFunction_InvokeObject

func (SL_ObjectReturn *SL_Return) SkyLine_ObjectFunction_InvokeObject(Call string, Environ SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object

type SL_String

type SL_String struct {
	Value  string
	Offset int
}

func (*SL_String) SL_HashKeyType

func (SL_ObjectString *SL_String) SL_HashKeyType() HashKey

String

func (*SL_String) SkyLine_Next_Itteration

func (SL_ObjectString *SL_String) SkyLine_Next_Itteration() (SL_Object, SL_Object, bool)

func (*SL_String) SkyLine_ObjectFunction_GetDataType

func (SL_ObjectString *SL_String) SkyLine_ObjectFunction_GetDataType() ObjectDataType

func (*SL_String) SkyLine_ObjectFunction_GetInterface

func (SL_ObjectString *SL_String) SkyLine_ObjectFunction_GetInterface() interface{}

func (*SL_String) SkyLine_ObjectFunction_GetTrueValue

func (SL_ObjectString *SL_String) SkyLine_ObjectFunction_GetTrueValue() string

func (*SL_String) SkyLine_ObjectFunction_InvokeObject

func (SL_ObjectString *SL_String) SkyLine_ObjectFunction_InvokeObject(Call string, Environ SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object

func (*SL_String) SkyLine_Reset_Offset

func (SL_ObjectString *SL_String) SkyLine_Reset_Offset()

type SkyLineEnvironment

type SkyLineEnvironment struct {
	SkyLine_Storage map[string]SL_Object // Map STRING(Object) to the Objects structure
	SkyLine_RO      map[string]bool      // Map an object in storage to read only if its a constant
	SkyLine_Permit  []string             // Stores thre name of an object in storage
	SkyLine_Outer   *SkyLineEnvironment  // Parent environment storage to allow nesting scopes
}

Environment types

func SL_NewEnclosedEnvironment

func SL_NewEnclosedEnvironment(SL_Outer *SkyLineEnvironment) *SkyLineEnvironment

func SL_NewEnvironment

func SL_NewEnvironment() *SkyLineEnvironment

func SL_NewEnvironmentTemporaryScope

func SL_NewEnvironmentTemporaryScope(OuterEnv *SkyLineEnvironment, Keys []string) *SkyLineEnvironment

func (*SkyLineEnvironment) ExportedHash

func (e *SkyLineEnvironment) ExportedHash() *SL_HashMap

func (*SkyLineEnvironment) Get

func (SL_ENV *SkyLineEnvironment) Get(VarName string) (SL_Object, bool)

func (*SkyLineEnvironment) Load

func (SL_ENV *SkyLineEnvironment) Load(VarName string, Value SL_Object) SL_Object

func (*SkyLineEnvironment) LoadConstant

func (SL_ENV *SkyLineEnvironment) LoadConstant(CName string, Value SL_Object) SL_Object

func (*SkyLineEnvironment) LocateNames

func (SL_ENV *SkyLineEnvironment) LocateNames(SL_PREFIX string) []string

func (*SkyLineEnvironment) Names

func (env *SkyLineEnvironment) Names(prefix string) []string

type SkyLine_BuiltinFunction

type SkyLine_BuiltinFunction func(Environ *SkyLineEnvironment, InvokeArgs ...SL_Object) SL_Object

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL