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 JavaScript
  • boolean outputPython

Actions

AddListener(Libraries.Language.Compile.CompilerListener listener)

Parameters

Empty()

Error(Libraries.System.ProcessEvent event)

Parameters

GetLexer(text file)

Parameters

  • file text

Returns

Libraries.Language.Compile.Lexer

GetLocation()

Returns

Libraries.System.File

GetOpcode(text staticKey)

Parameters

  • staticKey text

Returns

Libraries.Language.Compile.Translate.ClassOpcode

GetOpcodes()

Returns

Libraries.Containers.Iterator<Libraries.Language.Compile.Translate.ClassOpcode>

GetOutputFolder()

Returns

Libraries.System.File

GetPluginsFolder()

This gets the location of Quorum's plugins, to be compiled when the library script is run.

Returns

Libraries.System.File

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

  • addSpacing boolean

Returns

text

GetSymbolTable()

Returns

Libraries.Language.Compile.Symbol.SymbolTable

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

Libraries.Language.Compile.CompilerErrorManager

SetCachingLibraryOpcodes(boolean cache)

Parameters

  • cache boolean

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

  • regeneratePlugins boolean

SetScanningFromPrecompute(boolean scanningFromPrecompute)

Parameters

  • scanningFromPrecompute boolean

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

Inherited Actions

3 actions from Libraries.Language.Object