Package org.openrewrite.yaml.format
Class MinimumViableSpacingVisitor<P>
- java.lang.Object
-
- org.openrewrite.TreeVisitor<Yaml,P>
-
- org.openrewrite.yaml.YamlVisitor<P>
-
- org.openrewrite.yaml.YamlIsoVisitor<P>
-
- org.openrewrite.yaml.format.MinimumViableSpacingVisitor<P>
-
public class MinimumViableSpacingVisitor<P> extends YamlIsoVisitor<P>
-
-
Constructor Summary
Constructors Constructor Description MinimumViableSpacingVisitor()
-
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)Yaml.Mapping.EntryvisitMappingEntry(Yaml.Mapping.Entry entry, P p)Yaml.Sequence.EntryvisitSequenceEntry(Yaml.Sequence.Entry entry, P p)-
Methods inherited from class org.openrewrite.yaml.YamlIsoVisitor
visitDocument, visitDocuments, visitMapping, visitScalar, visitSequence
-
Methods inherited from class org.openrewrite.yaml.YamlVisitor
autoFormat, autoFormat, autoFormat, getLanguage, isAcceptable, maybeAutoFormat, maybeAutoFormat, maybeAutoFormat, maybeCoalesceProperties, removeUnused, visitAlias, visitAnchor
-
-
-
-
Method Detail
-
visitMappingEntry
public Yaml.Mapping.Entry visitMappingEntry(Yaml.Mapping.Entry entry, P p)
- Overrides:
visitMappingEntryin classYamlIsoVisitor<P>
-
visitSequenceEntry
public Yaml.Sequence.Entry visitSequenceEntry(Yaml.Sequence.Entry entry, P p)
- Overrides:
visitSequenceEntryin classYamlIsoVisitor<P>
-
-