Package org.openrewrite.text
Class PlainTextPrinter<P>
java.lang.Object
org.openrewrite.TreeVisitor<Tree,P>
org.openrewrite.text.PlainTextVisitor<PrintOutputCapture<P>>
org.openrewrite.text.PlainTextPrinter<P>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvisitSnippet
(PlainText.Snippet text, PrintOutputCapture<P> p) visitText
(PlainText text, PrintOutputCapture<P> p) Methods inherited from class org.openrewrite.text.PlainTextVisitor
isAcceptable, isAdaptableTo
Methods inherited from class org.openrewrite.TreeVisitor
adapt, collect, collect, defaultValue, doAfterVisit, getAfterVisit, getCursor, getLanguage, noop, postVisit, preVisit, reduce, reduce, reduce, setCursor, stopAfterPreVisit, updateCursor, visit, visit, visit, visitAndCast, visitAndCast, visitMarker, visitMarkers, visitNonNull, visitNonNull, visitorTreeType
-
Constructor Details
-
PlainTextPrinter
public PlainTextPrinter()
-
-
Method Details
-
visitText
- Overrides:
visitText
in classPlainTextVisitor<PrintOutputCapture<P>>
-
visitSnippet
- Overrides:
visitSnippet
in classPlainTextVisitor<PrintOutputCapture<P>>
-