Skip to main content

Home > @jsplumbtoolkit/templates > Knockle > compile

Knockle.compile() method#

Signature:

compile(ast: any, precompileOnly?: boolean, functionBodyOnly?: boolean, isCustomScope?: boolean): string | Function;

Parameters#

ParameterTypeDescription
astany
precompileOnlyboolean
functionBodyOnlyboolean
isCustomScopeboolean

Returns:

string | Function