Full name:
org.codehaus.mojo:javacc-maven-plugin:2.4.1:jtb
This plugin goal has been deprecated:
jtb-javacc goal instead.Description:
Attributes:
2.2.generate-sources.| Name | Type | Since | Description |
|---|---|---|---|
| descriptiveFieldNames | Boolean |
2.2 |
Setting this option to true causes JTB to generate
field names that reflect the structure of the tree instead of
generic names like f0, f1 etc. Default
value is false. |
| excludes | String[] |
2.2 |
A set of Ant-like exclusion patterns used to prevent certain files from being processed. By default, this set if empty such that no files are excluded. |
| includes | String[] |
2.2 |
A set of Ant-like inclusion patterns used to select files from the
source directory for processing. By default, the patterns
**/*.jtb and **/*.JTB are used to select
grammar files. |
| javadocFriendlyComments | Boolean |
2.2 |
If true, all generated comments will be wrapped in
<pre> tags so that they are formatted correctly
in API docs. Default value is false. |
| nodePackageName | String |
2.2 |
This option specifies the package for the generated AST nodes. This
value may use a leading asterisk to reference the package of the
corresponding parser. For example, if the parser package is
org.apache and this parameter is set to
*.demo, the tree node classes will be located in the
package org.apache.demo. Default value is
*.syntaxtree. |
| nodeParentClass | String |
2.2 |
The qualified name of a user-defined class from which all AST nodes
will inherit. By default, AST nodes will inherit from the generated
class Node. |
| outputDirectory | File |
2.2 |
The directory where the output Java files will be located. Default value is: ${project.build.directory}/generated-sources/jtb. |
| packageName | String |
2.2 |
This option is short for nodePackageName =
<packageName>.syntaxtree and
visitorPackageName =
<packageName>.visitor. Note that this option
takes precedence over nodePackageName and
visitorPackageName if specified. |
| parentPointers | Boolean |
2.2 |
If true, all nodes will contain fields for its parent
node. Default value is false. |
| printer | Boolean |
2.2 |
If true, JTB will generate a syntax tree dumping
visitor. Default value is false. |
| scheme | Boolean |
2.2 |
If true, JTB will generate the following files to
support the Schema programming language:
false. |
| sourceDirectory | File |
2.2 |
The directory where the JavaCC grammar files (*.jtb)
are located. It will be recursively scanned for input files to pass
to JTB. Default value is: ${basedir}/src/main/jtb. |
| specialTokens | Boolean |
2.2 |
If true, JTB will include JavaCC "special tokens" in
the AST. Default value is false. |
| staleMillis | int |
2.2 |
The granularity in milliseconds of the last modification date for
testing whether a source needs recompilation. Default value is: 0. |
| supressErrorChecking | Boolean |
2.2 |
If true, JTB will suppress its semantic error
checking. Default value is false. |
| timestampDirectory | File |
2.2 |
The directory to store the processed input files for later
detection of stale sources. Default value is: ${project.build.directory}/generated-sources/jtb-timestamp. |
| visitorPackageName | String |
2.2 |
This option specifies the package for the generated visitors. This
value may use a leading asterisk to reference the package of the
corresponding parser. For example, if the parser package is
org.apache and this parameter is set to
*.demo, the visitor classes will be located in the
package org.apache.demo. Default value is
*.visitor. |
true causes JTB to generate
field names that reflect the structure of the tree instead of
generic names like f0, f1 etc. Default
value is false.java.lang.Boolean2.2No${descriptiveFieldNames}excludes :
java.lang.String[]2.2Noincludes :
**/*.jtb and **/*.JTB are used to select
grammar files.java.lang.String[]2.2Notrue, all generated comments will be wrapped in
<pre> tags so that they are formatted correctly
in API docs. Default value is false.java.lang.Boolean2.2No${javadocFriendlyComments}org.apache and this parameter is set to
*.demo, the tree node classes will be located in the
package org.apache.demo. Default value is
*.syntaxtree.java.lang.String2.2No${nodePackageName}Node.java.lang.String2.2No${nodeParentClass}java.io.File2.2No${outputDirectory}${project.build.directory}/generated-sources/jtbnodePackageName =
<packageName>.syntaxtree and
visitorPackageName =
<packageName>.visitor. Note that this option
takes precedence over nodePackageName and
visitorPackageName if specified.java.lang.String2.2No${package}true, all nodes will contain fields for its parent
node. Default value is false.java.lang.Boolean2.2No${parentPointers}printer :
true, JTB will generate a syntax tree dumping
visitor. Default value is false.java.lang.Boolean2.2No${printer}scheme :
true, JTB will generate the following files to
support the Schema programming language:
false.java.lang.Boolean2.2No${scheme}*.jtb)
are located. It will be recursively scanned for input files to pass
to JTB.java.io.File2.2No${sourceDirectory}${basedir}/src/main/jtbtrue, JTB will include JavaCC "special tokens" in
the AST. Default value is false.java.lang.Boolean2.2No${specialTokens}int2.2No${lastModGranularityMs}0true, JTB will suppress its semantic error
checking. Default value is false.java.lang.Boolean2.2No${supressErrorChecking}java.io.File2.2No${timestampDirectory}${project.build.directory}/generated-sources/jtb-timestamporg.apache and this parameter is set to
*.demo, the visitor classes will be located in the
package org.apache.demo. Default value is
*.visitor.java.lang.String2.2No${visitorPackageName}