Optional options: { Optional collectionOptional constraints?: { enumKey?: EnumKeyConstraint<KotlinOptions> | undefined; enumValue?: EnumValueConstraint<KotlinOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional defaultOptional dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional presets?: (undefined | ({ class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; enum?: { ...; } | undefined; }) | ({ preset?: { class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; enum?: { ...; } | undefined; } | undefined; options?: any; }))[]Optional processorOptional typeReadonly languageReadonly optionsStatic defaultOptional collectionOptional constraints?: { enumKey?: EnumKeyConstraint<KotlinOptions> | undefined; enumValue?: EnumValueConstraint<KotlinOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional defaultOptional dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional presets?: (undefined | ({ class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; enum?: { ...; } | undefined; }) | ({ preset?: { class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; enum?: { ...; } | undefined; } | undefined; options?: any; }))[]Optional processorOptional typeGenerates a scattered model where dependencies and rendered results are separated.
Generates the full output of a model, instead of a scattered model.
OutputModels result is no longer the model itself, but including package, package dependencies and model dependencies.
Wrapper to get an instance of the dependency manager
Protected getThis function returns an instance of the dependency manager which is either a factory or an instance.
Protected getProtected processProcess any of the input formats to the appropriate InputMetaModel type and split out the meta models based on the requirements of the generators
Render a scattered model, where the source code and library and model dependencies are separated.
Optional options: { Optional collectionOptional constraints?: { enumKey?: EnumKeyConstraint<KotlinOptions> | undefined; enumValue?: EnumValueConstraint<KotlinOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional defaultOptional dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional presets?: (undefined | ({ class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; enum?: { ...; } | undefined; }) | ({ preset?: { class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; enum?: { ...; } | undefined; } | undefined; options?: any; }))[]Optional processorOptional typeRender a complete model result where the model code, library and model dependencies are all bundled appropriately.
For Kotlin you need to specify which package the model is placed under.
Optional options: { Optional collectionOptional constraints?: { enumKey?: EnumKeyConstraint<KotlinOptions> | undefined; enumValue?: EnumValueConstraint<KotlinOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional defaultOptional dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional presets?: (undefined | ({ class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; enum?: { ...; } | undefined; }) | ({ preset?: { class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; enum?: { ...; } | undefined; } | undefined; options?: any; }))[]Optional processorOptional typePrivate sanitizeStatic getReturns the Kotlin options by merging custom options with default ones.
Optional options: { Optional collectionOptional constraints?: { enumKey?: EnumKeyConstraint<KotlinOptions> | undefined; enumValue?: EnumValueConstraint<KotlinOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional defaultOptional dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional presets?: (undefined | ({ class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; enum?: { ...; } | undefined; }) | ({ preset?: { class?: { ctor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel>) => string | Promise<string>) | undefined; ... 4 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; enum?: { ...; } | undefined; } | undefined; options?: any; }))[]Optional processorOptional typeGenerated using TypeDoc
Abstract generator which must be implemented by each language