Translation Context
class TranslationContext(val config: TranslationConfiguration, val scopeManager: ScopeManager, val typeManager: TypeManager)
The translation context holds all necessary managers and configurations needed during the translation process.
Properties
Link copied to clipboard
The configuration for this translation.
Link copied to clipboard
The scope manager which comprises the complete translation result. In case of sequential parsing, this scope manager is passed to the individual frontends one after another. In case of sequential parsing, individual scope managers will be passed to each language frontend (through individual contexts) and then finally merged into a final one.
Link copied to clipboard
The type manager is responsible for managing type information. Currently, we have one instance of a TypeManager for the overall TranslationResult.