Skip navigation links

javalang 4.8.8 API

This package contains a Java 1.7 Parser with AST (Abstract Syntax Tree) generation and visitor support.

See: Description

Packages 
Package Description
org.walkmod.javalang
Parsers of Java source files.
org.walkmod.javalang.actions  
org.walkmod.javalang.ast
AST root nodes of Java source files.
org.walkmod.javalang.ast.body
AST nodes for types' members (e.g methods, fields, other types..).
org.walkmod.javalang.ast.expr
AST nodes for expressions (e.g values applied as arguments in method calls)
org.walkmod.javalang.ast.stmt
AST nodes for statements (e.g methods' body)
org.walkmod.javalang.ast.type
AST nodes for types (e.g methods' type)
org.walkmod.javalang.comparators
Identity comparators for AST nodes.
org.walkmod.javalang.constraints  
org.walkmod.javalang.javadoclinks  
org.walkmod.javalang.merger
Specific merge policies for Java AST nodes.
org.walkmod.javalang.tags
AST nodes to parse Javadoc tags.
org.walkmod.javalang.util
Common utilities to process source files.
org.walkmod.javalang.visitors
Generic and simple visitors to process source files.

This package contains a Java 1.7 Parser with AST (Abstract Syntax Tree) generation and visitor support. The AST records the source code structure, javadoc and comments.

This parser is based on Sreenivasa Viswanadha's Java 1.5 parser. The project was originally hosted at http://code.google.com/p/javaparser/ but seemed dead. This repository at https://github.com/rpau/javalang keeps the code alive for walkmod because it is modified according the walkmod needs.

Javadoc texts can be also parseable to process Javadoc tags.

The Java AST nodes can be merged to simplify code transformations, using a semantic merge engine.

Skip navigation links

Copyright © 2018. All rights reserved.