Top Interfaces Classes
[default module]

Package com.github.javaparser.ast.visitor


Interface Summary

Modifier and TypeInterface and Description
public interface
GenericVisitor<R, A>

A visitor that has a return value.

public interface
public interface
VoidVisitor<A>

A visitor that does not return anything.

Class Summary

Modifier and TypeClass and Description
public class
CloneVisitor

A visitor that clones (copies) a node and all its children.

public class
EqualsVisitor

A visitor that calculates deep node equality by comparing all properties and child nodes of the node.

public abstract class
GenericListVisitorAdapter<R, A>

A visitor that has a return value of (List<R>), and has a default implementation for all its visit methods that visits their children in an unspecified order, and all visit methods that returns a value be added to a flattened List<R>.

public abstract class
GenericVisitorAdapter<R, A>

A visitor that has a return value (R), and has a default implementation for all its visit methods that visits their children in an unspecified order, and the first visit method that returns a value will stop the visitation and be the end result.

public abstract class
GenericVisitorWithDefaults<R, A>

A visitor that has a return value (R), and has default methods that are used when a specific visit method is not overridden.

public class
HashCodeVisitor

A visitor that calculates a deep hash code for a node by using the hash codes of all its properties, and the hash codes of all its child nodes (by visiting those too.)

public class
ModifierVisitor<A>

This visitor can be used to save time when some specific nodes needs to be changed.

public class
public class
public class
ObjectIdentityEqualsVisitor

A visitor that calculates deep node equality by comparing all properties and child nodes of the node.

public class
ObjectIdentityHashCodeVisitor

A visitor that calculates a deep hash code for a node by using the hash codes of all its properties, and the hash codes of all its child nodes (by visiting those too.)

public abstract class
TreeVisitor

Iterate over all the nodes in (a part of) the AST.

public abstract class
VoidVisitorAdapter<A>

A visitor that returns nothing, and has a default implementation for all its visit methods that simply visit their children in an unspecified order.

public abstract class
VoidVisitorWithDefaults<A>

A visitor that returns nothing, and has default methods that are used when a specific visit method is not overridden.