antlr.build
Class ANTLR

java.lang.Object
  extended by antlr.build.ANTLR

public class ANTLR
extends Object

Simple class that uses build.Tool to compile ANTLR's Java stuff


Field Summary
static String compiler
           
static String jarName
           
static String root
           
static String[] srcdir
           
 
Constructor Summary
ANTLR()
           
 
Method Summary
 void build(Tool tool)
          Build ANTLR.
 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 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...