antlr.build
Class ANTLR
java.lang.Object
antlr.build.ANTLR
- public class ANTLR
- extends java.lang.Object
Simple class that uses build.Tool to compile ANTLR's Java stuff
Field Summary |
static java.lang.String |
compiler
|
static java.lang.String |
jarName
|
static java.lang.String |
root
|
static java.lang.String[] |
srcdir
|
Constructor Summary |
ANTLR()
|
Method Summary |
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 |
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
ANTLR
public ANTLR()
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...