Package org.openrewrite.json
Class JsonVisitor<P>
java.lang.Object
org.openrewrite.TreeVisitor<Json,P>
org.openrewrite.json.JsonVisitor<P>
- Direct Known Subclasses:
CountLinesVisitor
,JsonIsoVisitor
,JsonPrinter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isAcceptable
(org.openrewrite.SourceFile sourceFile, P p) visitArray
(Json.Array array, P p) visitDocument
(Json.Document document, P p) visitEmpty
(Json.Empty empty, P p) visitIdentifier
(Json.Identifier identifier, P p) visitLiteral
(Json.Literal literal, P p) visitMember
(Json.Member member, P p) visitObject
(Json.JsonObject obj, P p) <T> JsonRightPadded<T>
visitRightPadded
(@Nullable JsonRightPadded<T> right, P p) visitSpace
(Space space, P p) Methods inherited from class org.openrewrite.TreeVisitor
adapt, collect, collect, defaultValue, doAfterVisit, doAfterVisit, getAfterVisit, getCursor, isAdaptableTo, noop, postVisit, preVisit, reduce, reduce, reduce, setCursor, visit, visit, visit, visitAndCast, visitAndCast, visitMarker, visitMarkers, visitNonNull, visitNonNull, visitSourceFile
-
Constructor Details
-
JsonVisitor
public JsonVisitor()
-
-
Method Details