| matozoid | 2cab70d | 2013-09-16 13:31:33 +0200 | [diff] [blame] | 1 | # Java 1.7 parser and Abstract Syntax Tree.
|
| 2 |
|
| 3 | Copyright (C) 2007 Júlio Vilmar Gesser
|
| 4 |
|
| 5 | This program is free software: you can redistribute it and/or modify
|
| 6 | it under the terms of the GNU Lesser General Public License as published by
|
| 7 | the Free Software Foundation, either version 3 of the License, or
|
| 8 | (at your option) any later version.
|
| 9 |
|
| 10 | This program is distributed in the hope that it will be useful,
|
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 13 | GNU Lesser General Public License for more details.
|
| 14 |
|
| 15 | You should have received a copy of the GNU Lesser General Public License
|
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| matozoid | 2d4deca | 2011-10-30 14:35:59 +0100 | [diff] [blame] | 17 |
|
| Donny Nadolny | 19c2338 | 2013-09-14 14:33:45 -0400 | [diff] [blame] | 18 | This package contains a Java 1.7 Parser with AST generation and visitor support.
|
| matozoid | 2cab70d | 2013-09-16 13:31:33 +0200 | [diff] [blame] | 19 | The AST records the source code structure, javadoc and comments.
|
| matozoid | 2d4deca | 2011-10-30 14:35:59 +0100 | [diff] [blame] | 20 |
|
| Federico Tomassetti | cf8d7b1 | 2014-07-30 19:00:26 +0100 | [diff] [blame^] | 21 | ## Use JavaParser in my Maven-based project
|
| 22 |
|
| 23 | '''
|
| 24 | <dependency>
|
| 25 | <groupId>com.google.code.javaparser</groupId>
|
| 26 | <artifactId>javaparser</artifactId>
|
| 27 | <version>1.0.11</version>
|
| 28 | </dependency>
|
| 29 | '''
|
| 30 |
|
| 31 | ## How to build
|
| 32 |
|
| 33 | '''
|
| 34 | mvn javacc:javacc
|
| 35 | mvn clean install
|
| 36 | '''
|
| 37 |
|
| 38 | If you have problems, please feel free to open an issue.
|
| 39 |
|
| 40 | ## Javadoc
|
| 41 |
|
| 42 | Javadoc is available at [http://matozoid.github.io/javaparser/javadoc-current/](http://matozoid.github.io/javaparser/javadoc-current/)
|
| 43 |
|
| 44 | ## History
|
| 45 |
|
| matozoid | 2cab70d | 2013-09-16 13:31:33 +0200 | [diff] [blame] | 46 | This parser is based on Sreenivasa Viswanadha's Java 1.5 parser.
|
| matozoid | 2d4deca | 2011-10-30 14:35:59 +0100 | [diff] [blame] | 47 |
|
| matozoid | 2cab70d | 2013-09-16 13:31:33 +0200 | [diff] [blame] | 48 | The project was originally hosted at http://code.google.com/p/javaparser/ but
|
| 49 | seemed dead. This repository at https://github.com/matozoid/javaparser keeps
|
| 50 | the code alive.
|