Libraries.Language.Compile.Symbol.Action Documentation
Inherits from: Libraries.Language.Compile.Location, Libraries.Language.Object, Libraries.Language.Compile.Symbol.Symbol
Actions Documentation
AddActionCalls(Libraries.Language.Compile.Symbol.ActionCallResolution call)
This action receives any action calls that exist inside of this action.
Parameters
AddCallLocation(Libraries.Language.Compile.Location location)
Parameters
AddParameter(Libraries.Language.Compile.Symbol.Variable parameter)
Compare(Libraries.Language.Object object)
ConvertActionToBytecodeParameterInterfaceSignature()
Return
text
ConvertActionToBytecodeParameterSignature()
Return
text
ConvertActionToJavaScriptName()
add on a value corresponding to the parent of this action (e.g., integer, number)
Return
text:
ConvertActionToPythonName()
Return
text
ConvertPrimitiveActionToBytecodeParameterInterfaceSignature()
Return
text
CreateLocationCopy()
This action is a helper action to get copies of the location.
Return
Equals(Libraries.Language.Object object)
This action determines if two objects are equal based on their hash code values.
Parameters
- Libraries.Language.Object: The to be compared.
Return
boolean: True if the hash codes are equal and false if they are not equal.
Example
use Libraries.Language.Object
use Libraries.Language.Types.Text
Object o
Text t
boolean result = o:Equals(t)
GetActionCalls()
This action receives any action calls that exist inside of this action.
Return
GetAllLocalVariables()
GetBlock()
GetBytecodeLocation()
Return
integer
GetCallLocationIterator(Libraries.System.File file)
GetCodeCompletionItem()
GetCodeCompletionItem(Libraries.Language.Compile.Symbol.Variable variable)
if mapped
Parameters
Return
GetColumnNumber()
Return
integer
GetColumnNumberEnd()
Return
integer
GetDisplayName()
Return
text
GetDisplayNameNoReturn()
Return
text
GetDisplayNameNoReturnAsWeb()
Return
text
GetDocumentation()
GetFile()
Return
GetHashCode()
This action gets the hash code for an object.
Return
integer: The integer hash code of the object.
Example
Object o
integer hash = o:GetHashCode()
GetHeaderLocation()
GetIndex()
Return
integer
GetIndexEnd()
Return
integer
GetLineNumber()
Return
integer
GetLineNumberEnd()
Return
integer
GetName()
Return
text
GetNameLocation()
GetParameter(text key)
GetParameterIterator()
This Iterator returns the parameters in the action in the order in which they are declared.
Return
GetParametersSize()
Return
integer
GetParentClass()
GetReturnLocation()
GetReturnType()
GetStaticKey()
Return
text
HasParameter(text key)
Parameters
- text key
Return
boolean
IsBlueprint()
This Iterator returns the parameters in the action in the order in which they are declared.
Return
boolean:
IsMain()
This action returns true if this is a Main action and false otherwise. The rules for determinining this are that 1) it may not be a blueprint action, 2) it may not be a system action, 3) it must be named either main or Main.
Return
boolean: whether or not the action is a main action.
Example
use Libraries.Language.Compile.Symbol.Action
Action act
boolean test = act:IsMain() //would be false by default
IsPrivate()
Return
boolean
IsPublic()
Return
boolean
IsSystem()
Return
boolean
RemoveCallLocations(Libraries.System.File file)
Parameters
SetBlock(Libraries.Language.Compile.Symbol.Block block)
Parameters
SetColumnNumber(integer column)
Parameters
- integer column
SetColumnNumberEnd(integer column)
Parameters
- integer column
SetDocumentation(Libraries.Language.Compile.Symbol.Documentation documentation)
SetFile(Libraries.System.File file)
Parameters
SetHeaderLocation(Libraries.Language.Compile.Location location)
Parameters
SetIndex(integer index)
Parameters
- integer index
SetIndexEnd(integer index)
Parameters
- integer index
SetIsBluePrint(boolean isBlueprint)
This action returns true if this is a Main action and false otherwise. The rules for determinining this are that 1) it may not be a blueprint action, 2) it may not be a system action, 3) it must be named either main or Main.
Parameters
- boolean isBlueprint
Example
use Libraries.Language.Compile.Symbol.Action
Action act
boolean test = act:IsMain() //would be false by default
SetIsSystem(boolean isSystem)
Parameters
- boolean isSystem
SetLineNumber(integer line)
Parameters
- integer line
SetLineNumberEnd(integer line)
Parameters
- integer line
SetLocation(Libraries.Language.Compile.Location location)
This action uses the location and resets the current error's data.
Parameters
SetName(text name)
Parameters
- text name
SetNameLocation(Libraries.Language.Compile.Location location)
Parameters
SetParentClass(Libraries.Language.Compile.Symbol.Class clazz)
Parameters
SetPrivate()
SetPublic()
SetReturnLocation(Libraries.Language.Compile.Location location)
Parameters
SetReturnType(Libraries.Language.Compile.Symbol.Type type)
Parameters
ToText()
This action is a helper action to get copies of the location.
Return
text:
On this page
Variables TableAction Documentation- AddActionCalls(Libraries.Language.Compile.Symbol.ActionCallResolution call)
- AddCallLocation(Libraries.Language.Compile.Location location)
- AddParameter(Libraries.Language.Compile.Symbol.Variable parameter)
- Compare(Libraries.Language.Object object)
- ConvertActionToBytecodeParameterInterfaceSignature()
- ConvertActionToBytecodeParameterSignature()
- ConvertActionToJavaScriptName()
- ConvertActionToPythonName()
- ConvertPrimitiveActionToBytecodeParameterInterfaceSignature()
- CreateLocationCopy()
- Equals(Libraries.Language.Object object)
- GetActionCalls()
- GetAllLocalVariables()
- GetBlock()
- GetBytecodeLocation()
- GetCallLocationIterator(Libraries.System.File file)
- GetCodeCompletionItem()
- GetCodeCompletionItem(Libraries.Language.Compile.Symbol.Variable variable)
- GetColumnNumber()
- GetColumnNumberEnd()
- GetDisplayName()
- GetDisplayNameNoReturn()
- GetDisplayNameNoReturnAsWeb()
- GetDocumentation()
- GetFile()
- GetHashCode()
- GetHeaderLocation()
- GetIndex()
- GetIndexEnd()
- GetLineNumber()
- GetLineNumberEnd()
- GetName()
- GetNameLocation()
- GetParameter(text key)
- GetParameterIterator()
- GetParametersSize()
- GetParentClass()
- GetReturnLocation()
- GetReturnType()
- GetStaticKey()
- HasParameter(text key)
- IsBlueprint()
- IsMain()
- IsPrivate()
- IsPublic()
- IsSystem()
- RemoveCallLocations(Libraries.System.File file)
- SetBlock(Libraries.Language.Compile.Symbol.Block block)
- SetColumnNumber(integer column)
- SetColumnNumberEnd(integer column)
- SetDocumentation(Libraries.Language.Compile.Symbol.Documentation documentation)
- SetFile(Libraries.System.File file)
- SetHeaderLocation(Libraries.Language.Compile.Location location)
- SetIndex(integer index)
- SetIndexEnd(integer index)
- SetIsBluePrint(boolean isBlueprint)
- SetIsSystem(boolean isSystem)
- SetLineNumber(integer line)
- SetLineNumberEnd(integer line)
- SetLocation(Libraries.Language.Compile.Location location)
- SetName(text name)
- SetNameLocation(Libraries.Language.Compile.Location location)
- SetParentClass(Libraries.Language.Compile.Symbol.Class clazz)
- SetPrivate()
- SetPublic()
- SetReturnLocation(Libraries.Language.Compile.Location location)
- SetReturnType(Libraries.Language.Compile.Symbol.Type type)
- ToText()