Global

Methods

compile(source:, optionsopt, options["parser:debug"]opt, options["compiler:debug"]opt) → {Object}

Compile a Jazz template into an executable program.
Source:
Parameters:
Name Type Attributes Description
source: string template source text
options Object <optional>
optional compiler and parser options
Name Type Attributes Description
filename string <optional>
filename used for error reporting
options["parser:debug"] boolean <optional>
enable parser debug mode
options["compiler:debug"] boolean <optional>
enable compiler debug mode
Returns:
Type:
Object
compiled program with process(namespace, cb)