mustachex library

MUSTACHE EXtended library

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.
MissingInverseSectionTagException
Indicates that the request value wasn't provided in a {{^foo}} tag
MissingNestedVariableException
A wrapper for a MissingVariableException that alerts in a friendly manner the specific error it represents
MissingSectionTagException
Indicates that the request value wasn't provided
MissingVariableException
Indicates that the request value wasn't provided Note that request is automatically decomposed from varName(_recasing)?
MustachexProcessor
Template
A Template can be efficiently rendered multiple times with different values.
TemplateException
TemplateException is used to obtain the line and column numbers of the token which caused parse or render to fail.
VariablesResolver
Will hold a bunch of variables and provide tools for obtaining them

Typedefs

FulfillmentFunction = FutureOr<String> Function(MissingVariableException variable)
LambdaFunction = Object Function(LambdaContext context)
PartialResolver = Template? Function(String)
PartialResolverFunction = FutureOr<String>? Function(MissingPartialException missingPartial)
ValueProcessFunc = dynamic Function(dynamic)