mustache library

Mustache template documentation

Classes

LambdaContext
Passed as an argument to a mustache lambda function. The methods on this object may only be called before the lambda function returns. If a method is called after it has returned an exception will be thrown.
MustacheMirrorsUsedAnnotation
Template
A Template can be efficiently rendered multiple times with different values.

Constants

mustache → const MustacheMirrorsUsedAnnotation

Functions

parse(String source, { bool lenient: false }) Template
Use new Template(source) instead.

Typedefs

LambdaFunction(LambdaContext context) → Object
PartialResolver(String templateName) Template

Exceptions / Errors

TemplateException
TemplateException is used to obtain the line and column numbers of the token which caused parse or render to fail.