Name: antlr4test-maven-plugin
Owner: Antlr Project
Description: A maven plugin used to test the grammars-v4 repo grammars
Created: 2017-05-15 18:01:54.0
Updated: 2017-06-05 15:24:23.0
Pushed: 2017-12-15 18:11:46.0
Homepage: null
Size: 64
Language: Java
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Maven Mojo for testing Antlr4 Grammars
upId>com.khubla.antlr</groupId>
ifactId>antlr4test-maven-plugin</artifactId>
sion>1.6</version>
kaging>jar</packaging>
gin>
<groupId>org.antlr</groupId>
<artifactId>antlr4test-maven-plugin</artifactId>
<configuration>
<verbose>true</verbose>
<showTree>true</showTree>
<entryPoint>equation</entryPoint>
<grammarName>tnt</grammarName>
<packageName></packageName>
<testFileExtension>.txt</testFileExtension>
<exampleFiles>src/test/resources/examples</exampleFiles>
</configuration>
ugin>
Required name of the grammar. This should match the name of the grammar defined in the grammar “.g4” file.
mmarName>PHP</grammarName>
An optional enum parameter used to enable a caseInsensitive lexer for case-insensitive languages such as PHP, Pascal, T-SQL, etc.
Available values:
None
- does not activate a case insensitive mode (by default).lower
- all token values should be written in lower-case: TOKEN: 'asdf'
.UPPER
- all token values should be written in UPPER-case: TOKEN: 'ASDF'
.eInsensitiveType>UPPER</caseInsensitiveType>
Required name of the grammar rule to use as the test entry point
ryPoint>htmlDocument</entryPoint>
Optional boolean enable-disable flag
bled>true<\enabled>
Optionally produce verbose output
bose>true</verbose>
Optionally show the LISP grammar tree
wTree>false</showTree>
Required relative path to the example files
mpleFiles>src/test/resources/examples/</exampleFiles>
Optional package name to find the Lexer and Parser classes in
kageName></packageName>
Optional file extension of test files
tFileExtension>.php</testFileExtension>
Optional file encoding. The default value if UTF-8.
eEncoding>Shift_JIS</fileEncoding>