Libraries.Language.Compile.Symbol.Action Documentation
Inherits from: Libraries.Language.Compile.Location, Libraries.Language.Object, Libraries.Language.Compile.Symbol.Symbol
Summary
Actions Summary Table
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)
Parameters
Return
Libraries.Language.Compile.CompilerError
Compare(Libraries.Language.Object object)
Parameters
Return
integer
ConvertActionToBytecodeParameterInterfaceSignature()
Return
text
ConvertActionToBytecodeParameterSignature()
Return
text
ConvertActionToJavaScriptName()
add on a value corresponding to the parent of this action (e.g., integer, numbe
Return
text:
ConvertPrimitiveActionToBytecodeParameterInterfaceSignature()
Return
text
CreateLocationCopy()
This action is a helper action to get copies of the location.
Return
Libraries.Language.Compile.Location:
Equals(Libraries.Language.Object object)
This action determines if two objects are equal based on their hash code values.
Example Code
use Libraries.Language.Object
use Libraries.Language.Types.Text
Object o
Text t
boolean result = o:Equals(t)
Parameters
- Libraries.Language.Object: The to be compared.
Return
boolean: True if the hash codes are equal and false if they are not equal.
GetActionCalls()
This action receives any action calls that exist inside of this action.
Return
Libraries.Containers.Iterator:
GetAllLocalVariables()
Return
GetBlock()
Return
Libraries.Language.Compile.Symbol.Block
GetBytecodeLocation()
Return
integer
GetCallLocationIterator(Libraries.System.File file)
Parameters
Return
GetCodeCompletionItem()
Return
Libraries.Language.Compile.CodeCompletionItem
GetCodeCompletionItem(Libraries.Language.Compile.Symbol.Variable variable)
if mapp
Parameters
Return
Libraries.Language.Compile.CodeCompletionItem:
GetColumnNumber()
Return
integer
GetColumnNumberEnd()
Return
integer
GetDisplayName()
Return
text
GetDisplayNameNoReturn()
Return
text
GetDisplayNameNoReturnAsWeb()
Return
text
GetDocumentation()
Return
Libraries.Language.Compile.Symbol.Documentation
GetFile()
Return
GetHashCode()
This action gets the hash code for an object.
Example Code
Object o
integer hash = o:GetHashCode()
Return
integer: The integer hash code of the object.
GetHeaderLocation()
Return
Libraries.Language.Compile.Location
GetIndex()
Return
integer
GetIndexEnd()
Return
integer
GetLineNumber()
Return
integer
GetLineNumberEnd()
Return
integer
GetName()
Return
text
GetNameLocation()
Return
Libraries.Language.Compile.Location
GetParameter(text key)
Parameters
Return
Libraries.Language.Compile.Symbol.Variable
GetParameterIterator()
This Iterator returns the parameters in the action in the order in which they are declared.
Return
Libraries.Containers.Iterator:
GetParametersSize()
Return
integer
GetParentClass()
Return
Libraries.Language.Compile.Symbol.Class
GetReturnLocation()
Return
Libraries.Language.Compile.Location
GetReturnType()
Return
Libraries.Language.Compile.Symbol.Type
GetStaticKey()
Return
text
HasParameter(text key)
Parameters
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.
Example Code
use Libraries.Language.Compile.Symbol.Action
Action act
boolean test = act:IsMain() //would be false by default
Return
boolean: whether or not the action is a main action.
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
SetColumnNumberEnd(integer column)
Parameters
SetDocumentation(Libraries.Language.Compile.Symbol.Documentation documentation)
Parameters
SetFile(Libraries.System.File file)
Parameters
SetHeaderLocation(Libraries.Language.Compile.Location location)
Parameters
SetIndex(integer index)
Parameters
SetIndexEnd(integer index)
Parameters
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.
Example Code
use Libraries.Language.Compile.Symbol.Action
Action act
boolean test = act:IsMain() //would be false by default
Parameters
SetIsSystem(boolean isSystem)
Parameters
SetLineNumber(integer line)
Parameters
SetLineNumberEnd(integer line)
Parameters
SetLocation(Libraries.Language.Compile.Location location)
This action uses the location and resets the current error's data.
Parameters
SetName(text name)
Parameters
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: