Package antlr.build

Class ANTLR


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

      Fields 
      Modifier and Type Field Description
      static java.lang.String compiler  
      static java.lang.String jarName  
      static java.lang.String root  
      static java.lang.String[] srcdir  
    • Constructor Summary

      Constructors 
      Constructor Description
      ANTLR()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void build​(Tool tool)
      Build ANTLR.
      java.lang.String getName()  
      void jar​(Tool tool)
      Jar up all the .class files
      protected boolean rootIsValidANTLRDir​(Tool tool)
      ANTLR root dir must contain an "antlr" dir and must have java files underneath etc...
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • compiler

        public static java.lang.String compiler
      • jarName

        public static java.lang.String jarName
      • root

        public static java.lang.String root
      • srcdir

        public static java.lang.String[] srcdir
    • Constructor Detail

      • ANTLR

        public ANTLR()
    • Method Detail

      • getName

        public java.lang.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...