Interface Yaml

All Superinterfaces:
org.openrewrite.Tree
All Known Subinterfaces:
Yaml.Block, YamlKey
All Known Implementing Classes:
Yaml.Alias, Yaml.Anchor, Yaml.Document, Yaml.Document.End, Yaml.Documents, Yaml.Mapping, Yaml.Mapping.Entry, Yaml.Scalar, Yaml.Sequence, Yaml.Sequence.Entry

public interface Yaml extends org.openrewrite.Tree
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
    static class 
     
    static interface 
     
    static class 
     
    static class 
     
    static class 
     
    static class 
     
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default <R extends org.openrewrite.Tree, P>
    R
    accept(org.openrewrite.TreeVisitor<R,P> v, P p)
     
    default <P> @Nullable Yaml
    acceptYaml(YamlVisitor<P> v, P p)
     
     
    org.openrewrite.marker.Markers
     
     
    default <P> boolean
    isAcceptable(org.openrewrite.TreeVisitor<?,P> v, P p)
     
    <Y extends Yaml>
    Y
    withMarkers(org.openrewrite.marker.Markers markers)
     
     

    Methods inherited from interface org.openrewrite.Tree

    cast, getId, getJacksonPolymorphicTypeTag, isScope, print, print, print, print, printer, printTrimmed, printTrimmed, printTrimmed, safeCast, withExceptionMarker, withId
  • Method Details

    • accept

      default <R extends org.openrewrite.Tree, P> R accept(org.openrewrite.TreeVisitor<R,P> v, P p)
      Specified by:
      accept in interface org.openrewrite.Tree
    • isAcceptable

      default <P> boolean isAcceptable(org.openrewrite.TreeVisitor<?,P> v, P p)
      Specified by:
      isAcceptable in interface org.openrewrite.Tree
    • acceptYaml

      @Nullable default <P> @Nullable Yaml acceptYaml(YamlVisitor<P> v, P p)
    • copyPaste

      Yaml copyPaste()
      Returns:
      A new deep copy of this block with different IDs.
    • getPrefix

      String getPrefix()
    • withPrefix

      Yaml withPrefix(String prefix)
    • withMarkers

      <Y extends Yaml> Y withMarkers(org.openrewrite.marker.Markers markers)
    • getMarkers

      org.openrewrite.marker.Markers getMarkers()