Class Compiler


  • public class Compiler
    extends Object
    A compiler for a single template.
    • Constructor Detail

      • Compiler

        public Compiler()
      • Compiler

        public Compiler​(STGroup group)
    • Method Detail

      • compile

        public CompiledST compile​(String name,
                                  String template)
        Compile full template with unknown formal arguments.
      • defineBlankRegion

        public static CompiledST defineBlankRegion​(CompiledST outermostImpl,
                                                   org.antlr.runtime.Token nameToken)
      • getNewSubtemplateName

        public static String getNewSubtemplateName()
      • reportMessageAndThrowSTException

        protected void reportMessageAndThrowSTException​(org.antlr.runtime.TokenStream tokens,
                                                        org.antlr.runtime.Token templateToken,
                                                        org.antlr.runtime.Parser parser,
                                                        org.antlr.runtime.RecognitionException re)