SingletonLibrary
SingletonLibrary refines Library to ensure that libraries in this format are configured only once within the environment.
Extends
Section titled “Extends”Properties
Section titled “Properties”compileOptions
Section titled “compileOptions”
readonlycompileOptions:EnvOptions
compileOptions contains options for configuring the parse and check environment.
Inherited from
Section titled “Inherited from”libraryName
Section titled “libraryName”
readonlylibraryName:string
libraryName is a namespaced name used to check whether the library was already configured in the environment.
programOptions
Section titled “programOptions”
readonlyprogramOptions:ProgramOptions
programOptions contains options included in every program generated by the environment.
Library costTracking options configure the tracker. Only a costTracking option passed directly to Env.program enables runtime cost tracking.
Inherited from
Section titled “Inherited from”requiredLibraries?
Section titled “requiredLibraries?”
readonlyoptionalrequiredLibraries?: readonlystring[]
requiredLibraries lists singleton libraries which must already be configured before this library is applied.