Class MustacheGenerator

java.lang.Object
de.spraener.nxtgen.MustacheGenerator
All Implemented Interfaces:
CodeGenerator

public class MustacheGenerator extends Object implements CodeGenerator
  • Constructor Details

  • Method Details

    • resolve

      public CodeBlock resolve(ModelElement modelElement, String templateName)
      Description copied from interface: CodeGenerator
      Apply the requested Template to the model Element.
      Specified by:
      resolve in interface CodeGenerator
      Parameters:
      modelElement - a instance of ModelElement to generate code for
      templateName - a Template to apply on the model element.
      Returns:
      a not null instance of CodeBlock the can write the code.