Class TransformingVisitor<T>
- java.lang.Object
-
- com.pressassociation.pr.ast.visitor.AstVisitor
-
- com.pressassociation.pr.ast.visitor.TransformingVisitor<T>
-
- Type Parameters:
T- The result type
- Direct Known Subclasses:
CopyVisitor,ExpandingVisitor,FindFieldsVisitor,MatchesParentVisitor,MatchesPathVisitor,PathPostfixingVisitor,PathPrefixingVisitor,ToStringVisitor
public abstract class TransformingVisitor<T> extends AstVisitor
A visitor that produces some kind of output from the visitation of the ast.- Author:
- Matt Nathan
-
-
Constructor Summary
Constructors Constructor Description TransformingVisitor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description TapplyTo(AstNode node)Apply this visitor to the given AST returning the result.abstract TgetResult()Return the result of visiting the AST.StringtoString()-
Methods inherited from class com.pressassociation.pr.ast.visitor.AstVisitor
afterSubSelectionFields, beforeFieldsNext, beforePathField, beforeSubSelectionFields, visitFields, visitPath, visitSubSelection, visitWildcard, visitWord
-
-