Interface CodeGenerator

All Superinterfaces:
TemplateParserVisitor
All Known Implementing Classes:
JavaCodeGenerator

public interface CodeGenerator extends TemplateParserVisitor
  • Method Details

    • getCode

      String getCode()
    • getBinaryTextParts

      List<byte[]> getBinaryTextParts()
    • getCurrentTemplateLine

      int getCurrentTemplateLine()
    • writeAttributeMap

      static void writeAttributeMap(CodeBuilder code, TemplateParser.HtmlTag htmlTag)
    • extractSingleOutputTemplateExpression

      static String extractSingleOutputTemplateExpression(String value)
      In case the given value was previously checked to contain only a single template expression, this method could be used instead of a more expensive call to extractTemplateExpressionParts.
    • extractTemplateExpressionParts

      static List<CodeGenerator.TemplateExpressionPart> extractTemplateExpressionParts(String value)
    • getParamInfo

      List<ParamInfo> getParamInfo()
    • getImports

      List<String> getImports()