Package org.openrewrite.polyglot
Class PolyglotVisitor<T>
- java.lang.Object
-
- org.openrewrite.TreeVisitor<Polyglot,T>
-
- org.openrewrite.polyglot.PolyglotVisitor<T>
-
public class PolyglotVisitor<T> extends TreeVisitor<Polyglot,T>
-
-
Constructor Summary
Constructors Constructor Description PolyglotVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable Polyglotvisit(@Nullable Tree tree, T ctx)PolyglotvisitArrayElement(Polyglot.ArrayElement arrayElement, T ctx)PolyglotvisitArrayElements(Polyglot.ArrayElements arrayElements, T ctx)PolyglotvisitError(Polyglot.Error error, T ctx)PolyglotvisitExecutable(Polyglot.Executable executable, T ctx)PolyglotvisitHashEntries(Polyglot.HashEntries hashEntries, T ctx)PolyglotvisitHashEntry(Polyglot.HashEntry hashEntry, T ctx)PolyglotvisitInstance(Polyglot.Instance instance, T ctx)PolyglotvisitInstantiable(Polyglot.Instantiable instantiable, T ctx)PolyglotvisitMember(Polyglot.Member member, T ctx)PolyglotvisitMembers(Polyglot.Members members, T ctx)PolyglotvisitNumberValue(Polyglot.NumberValue numberValue, T ctx)PolyglotvisitSource(Polyglot.Source source, T ctx)PolyglotvisitStringValue(Polyglot.StringValue stringValue, T ctx)-
Methods inherited from class org.openrewrite.TreeVisitor
debugOnChange, defaultValue, doAfterVisit, doAfterVisit, getAfterVisit, getCursor, getLanguage, isAcceptable, noop, postVisit, preVisit, setCursor, visit, visit, visitAndCast, visitAndCast, visitMarker, visitMarkers, visitNonNull, visitNonNull
-
-
-
-
Method Detail
-
visit
@Nullable public @Nullable Polyglot visit(@Nullable @Nullable Tree tree, T ctx)
- Overrides:
visitin classTreeVisitor<Polyglot,T>
-
visitSource
public Polyglot visitSource(Polyglot.Source source, T ctx)
-
visitMembers
public Polyglot visitMembers(Polyglot.Members members, T ctx)
-
visitMember
public Polyglot visitMember(Polyglot.Member member, T ctx)
-
visitStringValue
public Polyglot visitStringValue(Polyglot.StringValue stringValue, T ctx)
-
visitNumberValue
public Polyglot visitNumberValue(Polyglot.NumberValue numberValue, T ctx)
-
visitInstantiable
public Polyglot visitInstantiable(Polyglot.Instantiable instantiable, T ctx)
-
visitHashEntries
public Polyglot visitHashEntries(Polyglot.HashEntries hashEntries, T ctx)
-
visitHashEntry
public Polyglot visitHashEntry(Polyglot.HashEntry hashEntry, T ctx)
-
visitArrayElements
public Polyglot visitArrayElements(Polyglot.ArrayElements arrayElements, T ctx)
-
visitArrayElement
public Polyglot visitArrayElement(Polyglot.ArrayElement arrayElement, T ctx)
-
visitExecutable
public Polyglot visitExecutable(Polyglot.Executable executable, T ctx)
-
visitError
public Polyglot visitError(Polyglot.Error error, T ctx)
-
visitInstance
public Polyglot visitInstance(Polyglot.Instance instance, T ctx)
-
-