antlr.build

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

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

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