antlr.build

Class ANTLR

public class ANTLR extends Object

Simple class that uses build.Tool to compile ANTLR's Java stuff
Field Summary
static Stringcompiler
static StringjarName
static Stringroot
static String[]srcdir
Constructor Summary
ANTLR()
Method Summary
voidbuild(Tool tool)
Build ANTLR. action on cmd-line matches method name
StringgetName()
voidjar(Tool tool)
Jar up all the .class files
protected booleanrootIsValidANTLRDir(Tool tool)
ANTLR root dir must contain an "antlr" dir and must have java files underneath etc...

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

build

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

getName

public String getName()

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