blob: 6d31cf82229c8e8c9f5c3e8178d45f51fb26828c [file] [log] [blame] [view]
matozoid2cab70d2013-09-16 13:31:33 +02001# Java 1.7 parser and Abstract Syntax Tree.
2
3Copyright (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/>.
matozoid2d4deca2011-10-30 14:35:59 +010017
Donny Nadolny19c23382013-09-14 14:33:45 -040018This package contains a Java 1.7 Parser with AST generation and visitor support.
matozoid2cab70d2013-09-16 13:31:33 +020019The AST records the source code structure, javadoc and comments.
matozoid2d4deca2011-10-30 14:35:59 +010020
Federico Tomassetticf8d7b12014-07-30 19:00:26 +010021## 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'''
34mvn javacc:javacc
35mvn clean install
36'''
37
38If you have problems, please feel free to open an issue.
39
40## Javadoc
41
42Javadoc is available at [http://matozoid.github.io/javaparser/javadoc-current/](http://matozoid.github.io/javaparser/javadoc-current/)
43
44## History
45
matozoid2cab70d2013-09-16 13:31:33 +020046This parser is based on Sreenivasa Viswanadha's Java 1.5 parser.
matozoid2d4deca2011-10-30 14:35:59 +010047
matozoid2cab70d2013-09-16 13:31:33 +020048The project was originally hosted at http://code.google.com/p/javaparser/ but
49seemed dead. This repository at https://github.com/matozoid/javaparser keeps
50the code alive.