TranslationLibrary
One named singleton addition to a profile’s translatable fragment.
Extends
Section titled “Extends”Type Parameters
Section titled “Type Parameters”Translation
Section titled “Translation”Translation
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”CelLibrary.compileOptions
functions
Section titled “functions”
readonlyfunctions: readonlyTranslationFunction<Translation>[]
Resolved overload declarations and their target translations.
libraryName
Section titled “libraryName”
readonlylibraryName:string
libraryName is a namespaced name used to check whether the library was already configured in the environment.
Inherited from
Section titled “Inherited from”CelLibrary.libraryName
libraryVersion
Section titled “libraryVersion”
readonlylibraryVersion:number
libraryVersion contains the configured library version.
Inherited from
Section titled “Inherited from”CelLibrary.libraryVersion
profile
Section titled “profile”
readonlyprofile:ProfileReference
Profile name and major version supported by this library binding.
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”CelLibrary.programOptions
reference
Section titled “reference”
readonlyreference:LibraryReference
Stable semantic library identity.
requiredLibraries?
Section titled “requiredLibraries?”
readonlyoptionalrequiredLibraries?: readonlystring[]
requiredLibraries lists singleton libraries which must already be configured before this library is applied.
Inherited from
Section titled “Inherited from”CelLibrary.requiredLibraries
requiredTranslationLibraries?
Section titled “requiredTranslationLibraries?”
readonlyoptionalrequiredTranslationLibraries?: readonlyLibraryReference[]
Versioned translation libraries that the caller must also select.