allow easier comparison of the javacc files
2 files changed
tree: 34af1f996e5f6f60ba6a6a3d6bac4a008cbad0c1
  1. javaparser-core/
  2. javaparser-testing/
  3. .gitignore
  4. COPYING
  5. COPYING.LESSER
  6. pom.xml
  7. readme.md
readme.md

Java Parser and Abstract Syntax Tree for Java 8.

This package contains a Java 1.8 Parser with AST generation and visitor support. The AST records the source code structure, javadoc and comments.

Build Status

Use JavaParser in my Maven-based project

Current 1.8 Release

<dependency>
    <groupId>com.github.javaparser</groupId>
    <artifactId>javaparser-core</artifactId>
    <version>2.0.0</version>
</dependency>

Final 1.7 Release

<dependency>
    <groupId>com.google.code.javaparser</groupId>
    <artifactId>javaparser</artifactId>
    <version>1.0.11</version>
</dependency>

How to build

mvn javacc:javacc
mvn clean install

Troubleshooting

In the first instance try colsulting the Wiki

In the second instance please feel free to open an issue.

Javadoc

Javadoc can be found here

History

This parser is based on Sreenivasa Viswanadha's Java 1.5 parser.

The project was originally hosted at Google Code, however support there dwindled.

This repository aims to provide support for issues and add the new Java language features.

Licence

Offered under the GNU GENERAL PUBLIC LICENSE that can be found here