- All Known Subinterfaces:
Mustache.InvertibleLambda
- Enclosing class:
Mustache
public static interface Mustache.Lambda
Handles lambdas.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(Template.Fragment frag, Writer out) Executes this lambda on the supplied template fragment.
-
Method Details
-
execute
Executes this lambda on the supplied template fragment. The lambda should write its results toout
.- Parameters:
frag
- the fragment of the template that was passed to the lambda.out
- the writer to which the lambda should write its output.- Throws:
IOException
-