Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
Java.g | H A D | 25-Apr-2025 | 52.8 KiB | 2,542 | 2,261 | |
JavaLexer.java | H A D | 25-Apr-2025 | 757.1 KiB | 16,741 | 13,867 | |
JavaParser.java | H A D | 25-Apr-2025 | 765.9 KiB | 20,719 | 15,575 | |
README.txt | H A D | 25-Apr-2025 | 773 | 16 | 13 |
README.txt
1The JavaParser and JavaLexer classes were built using ANTLR. 2To regenerate these classes, download the ANTLR java binaries 3JAR file from http://www.antlr.org/download.html. 4Then run that JAR from the command line 5("How do I use ANTLR v3 from the command line" - 6http://www.antlr.org/wiki/pages/viewpage.action?pageId=729) 7using the -debug flag so that a parse tree is generated 8(see "How can I build parse trees not ASTs" on the ANTLR FAQ - http://www.antlr.org/wiki/pages/viewpage.action?pageId=1760). 9 10When this step was last done, there were some extra files generated, 11these were ignored and discarded. For use, see the Parse Trees link 12above for a basic example. 13 14Steps: 15java -Xmx1G -jar ~/Downloads/antlr-3.3-complete.jar -debug src/com/google/doclava/parser/Java.g 16