LexicalModelCompiler.init() method
Home > @keymanapp/kmc-model > LexicalModelCompiler > init
LexicalModelCompiler.init() method
Initialize the compiler. There are currently no options specific to the lexical model compiler
Signature:
init(callbacks: CompilerCallbacks, _options: CompilerOptions): Promise<boolean>;
Parameters
Parameter | Type | Description |
---|---|---|
callbacks | CompilerCallbacks | Callbacks for external interfaces, including message reporting and file io |
_options | CompilerOptions |
Returns:
Promise<boolean>
always succeeds and returns true