
japa.parser.ast.TreeVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javaparser Show documentation
Show all versions of javaparser Show documentation
This package contains a Java 1.7 Parser with AST generation and visitor support.
The AST records the source code structure, javadoc and comments. Soon will be
possible change the AST nodes or create new ones to modify source code like refactoring.
This parser is based on Sreenivasa Viswanadha Java 1.5 parser.
The newest version!
package japa.parser.ast;
public abstract class TreeVisitor {
public void visitDepthFirst(Node node){
process(node);
for (Node child : node.getChildrenNodes()){
visitDepthFirst(child);
}
}
public abstract void process(Node node);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy