Package-level declarations
Provides the model classes, which represents a keyboard3 file in-memory, after parsing and compilation.
Types
Link copied to clipboard
Base interface for a model compilation result.
Link copied to clipboard
Contract interface for resolving scoped import paths encountered during model compilation.
Link copied to clipboard
Generic compilation failed exception. The report list contains detailed errors and descriptions.
Link copied to clipboard
class K3Model(val conformsTo: CldrVersion, val xmlns: String?, val locales: List<String>, val version: String?, val info: K3Info, val settings: K3Settings?, val displays: K3Displays, val keys: K3Keys, val flicks: K3Flicks, val forms: K3Forms, val layersByForm: K3LayersByForm, val variables: K3Variables, val transforms: K3Transforms, val markerPool: K3MarkerPool)
A compiled and immutable keyboard3 model.
Link copied to clipboard
interface K3ModelComponent
Base interface for all components in a compiled model.
Functions
Link copied to clipboard
suspend fun TextSourceFile.compileToModel(importResolver: K3ImportResolver = K3ImportResolver.Noop, impliedImports: K3ImpliedImports = K3ImpliedImports.None, markerPool: K3MutableMarkerPool = mutableK3MarkerPoolOf()): K3CompileResult