Package antlr.build

Class ANTLR

java.lang.Object
antlr.build.ANTLR

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

    • compiler

      public static String compiler
    • jarName

      public static String jarName
    • root

      public static String root
    • srcdir

      public static String[] srcdir
  • Constructor Details

    • ANTLR

      public ANTLR()
  • Method Details

    • 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...