Skip to content

TranslationLibrary

One named singleton addition to a profile’s translatable fragment.

Translation

readonly compileOptions: EnvOptions

compileOptions contains options for configuring the parse and check environment.

CelLibrary.compileOptions


readonly functions: readonly TranslationFunction<Translation>[]

Resolved overload declarations and their target translations.


readonly libraryName: string

libraryName is a namespaced name used to check whether the library was already configured in the environment.

CelLibrary.libraryName


readonly libraryVersion: number

libraryVersion contains the configured library version.

CelLibrary.libraryVersion


readonly profile: ProfileReference

Profile name and major version supported by this library binding.


readonly programOptions: 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.

CelLibrary.programOptions


readonly reference: LibraryReference

Stable semantic library identity.


readonly optional requiredLibraries?: readonly string[]

requiredLibraries lists singleton libraries which must already be configured before this library is applied.

CelLibrary.requiredLibraries


readonly optional requiredTranslationLibraries?: readonly LibraryReference[]

Versioned translation libraries that the caller must also select.