org.apache.tools.ant.taskdefs.optional.javacc
public class JJTree extends Task
Constructor Summary | |
---|---|
JJTree()
Constructor |
Method Summary | |
---|---|
void | execute()
Run the task. |
void | setBuildnodefiles(boolean buildNodeFiles)
Sets the BUILD_NODE_FILES grammar option. |
void | setJavacchome(File javaccHome)
The directory containing the JavaCC distribution. |
void | setMaxmemory(String max)
Corresponds -Xmx.
|
void | setMulti(boolean multi)
Sets the MULTI grammar option. |
void | setNodedefaultvoid(boolean nodeDefaultVoid)
Sets the NODE_DEFAULT_VOID grammar option. |
void | setNodefactory(boolean nodeFactory)
Sets the NODE_FACTORY grammar option. |
void | setNodepackage(String nodePackage)
Sets the NODE_PACKAGE grammar option. |
void | setNodeprefix(String nodePrefix)
Sets the NODE_PREFIX grammar option. |
void | setNodescopehook(boolean nodeScopeHook)
Sets the NODE_SCOPE_HOOK grammar option. |
void | setNodeusesparser(boolean nodeUsesParser)
Sets the NODE_USES_PARSER grammar option. |
void | setOutputdirectory(File outputDirectory)
The directory to write the generated JavaCC grammar and node files to.
|
void | setOutputfile(String outputFile)
The outputfile to write the generated JavaCC grammar file to.
|
void | setStatic(boolean staticParser)
Sets the STATIC grammar option. |
void | setTarget(File targetFile)
The jjtree grammar file to process. |
void | setVisitor(boolean visitor)
Sets the VISITOR grammar option. |
void | setVisitorException(String visitorException)
Sets the VISITOR_EXCEPTION grammar option. |
Throws: BuildException on error.
Parameters: buildNodeFiles a boolean
value.
Parameters: javaccHome the directory containing JavaCC.
Parameters: max max memory parameter.
Since: Ant 1.8.3
Parameters: multi a boolean
value.
Parameters: nodeDefaultVoid a boolean
value.
Parameters: nodeFactory a boolean
value.
Parameters: nodePackage the option to use.
Parameters: nodePrefix the option to use.
Parameters: nodeScopeHook a boolean
value.
Parameters: nodeUsesParser a boolean
value.
Parameters: outputDirectory the output directory.
Parameters: outputFile the output file name.
Parameters: staticParser a boolean
value.
Parameters: targetFile the grammar file.
Parameters: visitor a boolean
value.
Parameters: visitorException the option to use.