Package org.openrewrite.yaml.tree
Interface Yaml
-
- All Superinterfaces:
java.io.Serializable,org.openrewrite.Tree
- All Known Subinterfaces:
Yaml.Block
- All Known Implementing Classes:
Yaml.Document,Yaml.Document.End,Yaml.Documents,Yaml.Mapping,Yaml.Mapping.Entry,Yaml.Scalar,Yaml.Sequence,Yaml.Sequence.Entry
public interface Yaml extends java.io.Serializable, org.openrewrite.Tree
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceYaml.Blockstatic classYaml.Documentstatic classYaml.Documentsstatic classYaml.Mappingstatic classYaml.Scalarstatic classYaml.Sequence
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <R> Raccept(org.openrewrite.SourceVisitor<R> v)default <R> RacceptYaml(YamlSourceVisitor<R> v)YamlcopyPaste()default java.lang.StringgetTreeType()default java.lang.Stringprint()
-
-
-
Method Detail
-
print
default java.lang.String print()
- Specified by:
printin interfaceorg.openrewrite.Tree
-
accept
default <R> R accept(org.openrewrite.SourceVisitor<R> v)
- Specified by:
acceptin interfaceorg.openrewrite.Tree
-
acceptYaml
default <R> R acceptYaml(YamlSourceVisitor<R> v)
-
getTreeType
default java.lang.String getTreeType()
- Specified by:
getTreeTypein interfaceorg.openrewrite.Tree
-
copyPaste
Yaml copyPaste()
- Returns:
- A new deep copy of this block with different IDs.
-
-