org.apache.tools.ant .Task org.apache.tools.ant.taskdefs.optional.javacc .JJDoc JJDoc public class JJDoc extends Task (Code) Runs the JJDoc compiler compiler.
Constructor Summary public JJDoc ()
Method Summary public voidexecute () Do the task.public voidsetJavacchome (File javaccHome) The directory containing the JavaCC distribution.public voidsetOnetable (boolean oneTable) Sets the ONE_TABLE documentation option.public voidsetOutputfile (String outputFile) The outputfile to write the generated BNF documentation file to.public voidsetTarget (File target) The javacc grammar file to process.public voidsetText (boolean plainText) Sets the TEXT BNF documentation option.
JJDoc public JJDoc()(Code) Constructor
setJavacchome public void setJavacchome(File javaccHome)(Code) The directory containing the JavaCC distribution.
Parameters: javaccHome - the home directory.
setOnetable public void setOnetable(boolean oneTable)(Code) Sets the ONE_TABLE documentation option.
Parameters: oneTable - a boolean
value.
setOutputfile public void setOutputfile(String outputFile)(Code) The outputfile to write the generated BNF documentation file to.
If not set, the file is written with the same name as
the JavaCC grammar file with a suffix .html or .txt.
Parameters: outputFile - the name of the output file.
setTarget public void setTarget(File target)(Code) The javacc grammar file to process.
Parameters: target - the grammar file.
setText public void setText(boolean plainText)(Code) Sets the TEXT BNF documentation option.
Parameters: plainText - a boolean
value.