public class JJDoc extends Task
description, location, project
Constructor and Description |
---|
JJDoc()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Do the task.
|
void |
setJavacchome(java.io.File javaccHome)
The directory containing the JavaCC distribution.
|
void |
setMaxmemory(java.lang.String max)
Corresponds -Xmx.
|
void |
setOnetable(boolean oneTable)
Sets the ONE_TABLE documentation option.
|
void |
setOutputfile(java.lang.String outputFile)
The outputfile to write the generated BNF documentation file to.
|
void |
setTarget(java.io.File target)
The javacc grammar file to process.
|
void |
setText(boolean plainText)
Sets the TEXT BNF documentation option.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
public void setText(boolean plainText)
plainText
- a boolean
value.public void setOnetable(boolean oneTable)
oneTable
- a boolean
value.public void setOutputfile(java.lang.String outputFile)
outputFile
- the name of the output file.public void setTarget(java.io.File target)
target
- the grammar file.public void setJavacchome(java.io.File javaccHome)
javaccHome
- the home directory.public void setMaxmemory(java.lang.String max)
max
- max memory parameter.public void execute() throws BuildException
execute
in class Task
BuildException
- if there is an error.