blob: f1f7d404f54f97e621b3235b014cb9efa2510029 [file] [log] [blame] [view]
Nicholas Smithdcee6ce2014-09-24 15:27:47 +01001# Java 1.7 japa.parser and Abstract Syntax Tree.
Sebastian Kirschf8ed0d22014-09-10 13:27:13 +02002[![Build Status](https://drone.io/github.com/matozoid/javaparser/status.png)](https://drone.io/github.com/matozoid/javaparser)
matozoid2cab70d2013-09-16 13:31:33 +02003
4Copyright (C) 2007 Júlio Vilmar Gesser
5
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU Lesser General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU Lesser General Public License for more details.
15
16 You should have received a copy of the GNU Lesser General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
matozoid2d4deca2011-10-30 14:35:59 +010018
Donny Nadolny19c23382013-09-14 14:33:45 -040019This package contains a Java 1.7 Parser with AST generation and visitor support.
matozoid2cab70d2013-09-16 13:31:33 +020020The AST records the source code structure, javadoc and comments.
matozoid2d4deca2011-10-30 14:35:59 +010021
Federico Tomassetticf8d7b12014-07-30 19:00:26 +010022## Use JavaParser in my Maven-based project
23
Federico Tomassetti2051f042014-07-30 19:01:19 +010024```
Federico Tomassetticf8d7b12014-07-30 19:00:26 +010025<dependency>
26 <groupId>com.google.code.javaparser</groupId>
27 <artifactId>javaparser</artifactId>
28 <version>1.0.11</version>
29</dependency>
Federico Tomassetti2051f042014-07-30 19:01:19 +010030```
Federico Tomassetticf8d7b12014-07-30 19:00:26 +010031
32## How to build
33
Federico Tomassetti2051f042014-07-30 19:01:19 +010034```
Federico Tomassetticf8d7b12014-07-30 19:00:26 +010035mvn javacc:javacc
36mvn clean install
Federico Tomassetti2051f042014-07-30 19:01:19 +010037```
Federico Tomassetticf8d7b12014-07-30 19:00:26 +010038
39If you have problems, please feel free to open an issue.
40
41## Javadoc
42
43Javadoc is available at [http://matozoid.github.io/javaparser/javadoc-current/](http://matozoid.github.io/javaparser/javadoc-current/)
44
45## History
46
Nicholas Smithdcee6ce2014-09-24 15:27:47 +010047This japa.parser is based on Sreenivasa Viswanadha's Java 1.5 japa.parser.
matozoid2d4deca2011-10-30 14:35:59 +010048
matozoid2cab70d2013-09-16 13:31:33 +020049The project was originally hosted at http://code.google.com/p/javaparser/ but
50seemed dead. This repository at https://github.com/matozoid/javaparser keeps
51the code alive.