Creates a new Renderer instance. This is called internally by the compiler.
the result of the .tokenize()
function
some options for customizing the rendering process
Replaces every path inside the template with values from the scope parameter.
An object containing values for paths from the the template. If it's omitted, we default to an empty object.
Same as render but accepts a resolver function which returns a promise that resolves to a value for every path.
This class does the heavy lifting of interpolation (putting the actual values in the template). This is created by the
.compile()
method and is used under the hood by.render()
,renderFn()
andrenderFnAsync()
functions.