Package org.openrewrite.yaml.tree
Class Yaml.Document
- java.lang.Object
-
- org.openrewrite.yaml.tree.Yaml.Document
-
- All Implemented Interfaces:
java.io.Serializable,org.openrewrite.Tree,Yaml
- Enclosing interface:
- Yaml
public static class Yaml.Document extends java.lang.Object implements Yaml
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classYaml.Document.Endhttps://yaml.org/spec/1.1/#c-document-end-
Nested classes/interfaces inherited from interface org.openrewrite.yaml.tree.Yaml
Yaml.Block, Yaml.Document, Yaml.Documents, Yaml.Mapping, Yaml.Scalar, Yaml.Sequence
-
-
Constructor Summary
Constructors Constructor Description Document()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> RacceptYaml(YamlSourceVisitor<R> v)Yaml.DocumentcopyPaste()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openrewrite.Tree
getFormatting, getId, isScope, printTrimmed, whenType, withFormatting, withPrefix, withSuffix
-
Methods inherited from interface org.openrewrite.yaml.tree.Yaml
accept, getTreeType, print
-
-
-
-
Method Detail
-
acceptYaml
public <R> R acceptYaml(YamlSourceVisitor<R> v)
- Specified by:
acceptYamlin interfaceYaml
-
copyPaste
public Yaml.Document copyPaste()
-
-