Public Member Functions | |
| ANTLR () | |
| String | getName () |
| void | build (Tool tool) |
| void | jar (Tool tool) |
Static Public Attributes | |
| static String | compiler = "javac" |
| static String | jarName = "antlr.jar" |
| static String | root = "." |
| static String[] | srcdir |
Protected Member Functions | |
| boolean | rootIsValidANTLRDir (Tool tool) |
Simple class that uses build.Tool to compile ANTLR's Java stuff
| antlr.build.ANTLR.ANTLR | ( | ) |
References antlr.build.ANTLR.compiler, and antlr.build.ANTLR.root.
| void antlr.build.ANTLR.build | ( | Tool | tool | ) |
Build ANTLR. action on cmd-line matches method name
References antlr.build.Tool.antlr(), antlr.build.ANTLR.compiler, antlr.build.ANTLR.root, antlr.build.ANTLR.rootIsValidANTLRDir(), antlr.build.ANTLR.srcdir, and antlr.build.Tool.system().
| String antlr.build.ANTLR.getName | ( | ) |
| void antlr.build.ANTLR.jar | ( | Tool | tool | ) |
Jar up all the .class files
References antlr.build.ANTLR.jarName, antlr.build.ANTLR.root, antlr.build.ANTLR.rootIsValidANTLRDir(), antlr.build.ANTLR.srcdir, and antlr.build.Tool.system().
| boolean antlr.build.ANTLR.rootIsValidANTLRDir | ( | Tool | tool | ) | [protected] |
ANTLR root dir must contain an "antlr" dir and must have java files underneath etc...
References antlr.build.Tool.error(), and antlr.build.ANTLR.root.
Referenced by antlr.build.ANTLR.build(), and antlr.build.ANTLR.jar().
String antlr.build.ANTLR.compiler = "javac" [static] |
Referenced by antlr.build.ANTLR.ANTLR(), and antlr.build.ANTLR.build().
String antlr.build.ANTLR.jarName = "antlr.jar" [static] |
Referenced by antlr.build.ANTLR.jar().
String antlr.build.ANTLR.root = "." [static] |
String [] antlr.build.ANTLR.srcdir [static] |
{
"antlr",
"antlr/actions/cpp",
"antlr/actions/java",
"antlr/actions/csharp",
"antlr/collections",
"antlr/collections/impl",
"antlr/debug",
"antlr/ASdebug",
"antlr/debug/misc",
"antlr/preprocessor"
}
Referenced by antlr.build.ANTLR.build(), and antlr.build.ANTLR.jar().
1.7.0