Package antlr.build

Class ANTLR


  • public class ANTLR
    extends Object
    Simple class that uses build.Tool to compile ANTLR's Java stuff
    • Field Detail

      • compiler

        public static String compiler
      • jarName

        public static String jarName
      • root

        public static String root
      • srcdir

        public static String[] srcdir
    • Constructor Detail

      • ANTLR

        public ANTLR()
    • Method Detail

      • getName

        public String getName()
      • build

        public void build​(Tool tool)
        Build ANTLR. action on cmd-line matches method name
      • jar

        public void jar​(Tool tool)
        Jar up all the .class files
      • rootIsValidANTLRDir

        protected boolean rootIsValidANTLRDir​(Tool tool)
        ANTLR root dir must contain an "antlr" dir and must have java files underneath etc...