Home > @jsplumbtoolkit/templates > Knockle > compile
Knockle.compile() method
Signature:
compile(ast: any, precompileOnly?: boolean, functionBodyOnly?: boolean, isCustomScope?: boolean): string | Function;
Parameters
| Parameter | Type | Description |
|---|---|---|
| ast | any | |
| precompileOnly | boolean | |
| functionBodyOnly | boolean | |
| isCustomScope | boolean |
Returns:
string | Function