Interface Mustache.Lambda

All Known Subinterfaces:
Mustache.InvertibleLambda
Enclosing class:
Mustache

public static interface Mustache.Lambda
Handles lambdas.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Executes this lambda on the supplied template fragment.
  • Method Details

    • execute

      void execute(Template.Fragment frag, Writer out) throws IOException
      Executes this lambda on the supplied template fragment. The lambda should write its results to out.
      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