Method Summary |
|
protected void | addClasspathEntry(String resource) Search for the given resource and add the directory or archive
that contains it to the classpath. |
public Path | createClasspath() Adds a classpath to be set
because a directory might be given for Antlr debug. |
public Commandline.Argument | createJvmarg() Adds a new JVM argument. |
public void | execute() Execute the task. |
public void | init() Adds the jars or directories containing Antlr
this should make the forked JVM work without having to
specify it directly. |
protected boolean | is272() Whether the antlr version is 2.7.2 (or higher). |
public void | setDebug(boolean enable) |
public void | setDiagnostic(boolean enable) |
public void | setDir(File d) |
public void | setFork(boolean s) |
public void | setGlib(String superGrammar) Sets an optional super grammar file. |
public void | setGlib(File superGrammar) |
public void | setHtml(boolean enable) |
public void | setOutputdirectory(File outputDirectory) The directory to write the generated files to. |
public void | setTarget(File target) The grammar file to process. |
public void | setTrace(boolean enable) If true, enables all tracing. |
public void | setTraceLexer(boolean enable) If true, enables lexer tracing. |
public void | setTraceParser(boolean enable) If true, enables parser tracing. |
public void | setTraceTreeWalker(boolean enable) |