Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
Java.g | 05-Aug-2015 | 52.8K | |
JavaLexer.java | 05-Aug-2015 | 757.1K | |
JavaParser.java | 05-Aug-2015 | 765.9K | |
README.txt | 05-Aug-2015 | 773 |
1 The JavaParser and JavaLexer classes were built using ANTLR. 2 To regenerate these classes, download the ANTLR java binaries 3 JAR file from http://www.antlr.org/download.html. 4 Then run that JAR from the command line 5 ("How do I use ANTLR v3 from the command line" - 6 http://www.antlr.org/wiki/pages/viewpage.action?pageId=729) 7 using 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 10 When this step was last done, there were some extra files generated, 11 these were ignored and discarded. For use, see the Parse Trees link 12 above for a basic example. 13 14 Steps: 15 java -Xmx1G -jar ~/Downloads/antlr-3.3-complete.jar -debug src/com/google/doclava/parser/Java.g 16