Library
Package: Libraries.Language.Compile · Inherits from: Libraries.System.ProcessListener, Libraries.Language.Object
Variables
boolean outputJavaScript: This flag says whether or not to output the standard library as JavaScriptboolean outputPython
Actions
AddListener(Libraries.Language.Compile.CompilerListener listener)
Parameters
Empty()
Error(Libraries.System.ProcessEvent event)
Parameters
GetLexer(text file)
Parameters
filetext
Returns
GetLocation()
Returns
GetOpcode(text staticKey)
Parameters
staticKeytext
Returns
GetOpcodes()
Returns
Libraries.Containers.Iterator<Libraries.Language.Compile.Translate.ClassOpcode>
GetOutputFolder()
Returns
GetPluginsFolder()
This gets the location of Quorum's plugins, to be compiled when the library script is run.
Returns
GetPythonPath()
This action returns the raw text to prevent the user from changing this, which they should not.
Returns
text
GetRegeneratePlugins()
Returns
boolean
GetStandardLibraryClasspathValuesOnly(boolean addSpacing)
Parameters
addSpacingboolean
Returns
text
GetSymbolTable()
Returns
IsCachingLibraryOpcodes()
Returns
boolean
IsScanned()
This action states whether the library has been scanned.
Returns
boolean
IsScanningFromPrecompute()
Returns
boolean
Main()
This main will regenerate the standard library from its current state
Output(Libraries.System.ProcessEvent event)
Parameters
ProcessStarted(Libraries.System.ProcessEvent event)
This writes the standard plugins for Quorum. In Quorum-10, this was changed to use the gradle build system to generate all the compilation info and
Parameters
ProcessStopped(Libraries.System.ProcessEvent event)
Parameters
RemoveListener(Libraries.Language.Compile.CompilerListener listener)
Parameters
Scan()
This action states whether the library has been scanned.
Returns
SetCachingLibraryOpcodes(boolean cache)
Parameters
cacheboolean
SetLocation(Libraries.System.File file)
Parameters
SetOutputFolder(Libraries.System.File file)
This action returns the raw text to prevent the user from changing this, which they should not.
Parameters
SetPluginsFolder(Libraries.System.File file)
This sets the location of Quorum's plugins, to be compiled when the library script is run.
Parameters
SetRegeneratePlugins(boolean regeneratePlugins)
Parameters
regeneratePluginsboolean
SetScanningFromPrecompute(boolean scanningFromPrecompute)
Parameters
scanningFromPrecomputeboolean
Write()
(see Libraries.Language.Compile.Translate.WaitAnalysis)
WriteJavaScriptOpcode(Libraries.Language.Compile.Translate.ClassOpcode code)
Parameters
Returns
text
WritePythonOpcode(Libraries.Language.Compile.Translate.ClassOpcode code)
Parameters
Returns
text
WriteStandardLibrary()
WriteStandardPlugins()
This writes the standard plugins for Quorum. In Quorum-10, this was changed to use the gradle build system to generate all the compilation info and