Generate source code from ANTLRv3 grammar specifications.
Mojo Attributes:
generate-sources| Name | Type | Description |
|---|---|---|
| outputDirectory | File |
Location for generated Java files. |
| project | MavenProject |
No description. |
| sourceDirectory | File |
Specifies the Antlr directory containing grammar files. |
| Name | Type | Description |
|---|---|---|
| conversionTimeout | int |
The number of milliseconds ANTLR will wait for analysis of each alternative in the grammar to complete before giving up. |
| debug | boolean |
Enables ANTLR-specific network debugging. Requires a tool able to talk this protocol e.g. ANTLRWorks |
| excludes | Set |
Set of exclude patterns |
| includes | Set |
A set of patterns matching files from the sourceDirectory that should be processed as grammers. |
| profile | boolean |
Generate a parser that computes profiling information. |
| trace | boolean |
Generate a parser that logs rule entry/exit messages. |
The number of milliseconds ANTLR will wait for analysis of each alternative in the grammar to complete before giving up.
intNobooleanNojava.util.SetNojava.util.SetNojava.io.FileYes${project.build.directory}/generated-sources/antlrbooleanNoorg.apache.maven.project.MavenProjectYes${project}java.io.FileYes${basedir}/src/main/antlrbooleanNo