Package org.openrewrite.yaml.format
Class AutoFormatVisitor<P>
- java.lang.Object
-
- org.openrewrite.TreeVisitor<Yaml,P>
-
- org.openrewrite.yaml.YamlVisitor<P>
-
- org.openrewrite.yaml.YamlIsoVisitor<P>
-
- org.openrewrite.yaml.format.AutoFormatVisitor<P>
-
public class AutoFormatVisitor<P> extends YamlIsoVisitor<P>
-
-
Constructor Summary
Constructors Constructor Description AutoFormatVisitor(@Nullable org.openrewrite.Tree stopAfter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable YamlpostVisit(Yaml tree, P p)@Nullable Yamlvisit(@Nullable org.openrewrite.Tree tree, P p)@Nullable Yamlvisit(@Nullable org.openrewrite.Tree tree, P p, org.openrewrite.Cursor cursor)Yaml.DocumentsvisitDocuments(Yaml.Documents documents, P p)-
Methods inherited from class org.openrewrite.yaml.YamlIsoVisitor
visitDocument, visitMapping, visitMappingEntry, visitScalar, visitSequence, visitSequenceEntry
-
Methods inherited from class org.openrewrite.yaml.YamlVisitor
autoFormat, autoFormat, autoFormat, getLanguage, isAcceptable, maybeAutoFormat, maybeAutoFormat, maybeAutoFormat, maybeCoalesceProperties, removeUnused, visitAlias, visitAnchor
-
-
-
-
Method Detail
-
visit
@Nullable public @Nullable Yaml visit(@Nullable @Nullable org.openrewrite.Tree tree, P p, org.openrewrite.Cursor cursor)
-
visitDocuments
public Yaml.Documents visitDocuments(Yaml.Documents documents, P p)
- Overrides:
visitDocumentsin classYamlIsoVisitor<P>
-
-