Package org.openrewrite.yaml.tree
Class Yaml.Documents
- java.lang.Object
-
- org.openrewrite.yaml.tree.Yaml.Documents
-
- All Implemented Interfaces:
java.io.Serializable,org.openrewrite.SourceFile,org.openrewrite.Tree,Yaml
- Enclosing interface:
- Yaml
public static class Yaml.Documents extends java.lang.Object implements Yaml, org.openrewrite.SourceFile
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
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 Documents()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <P> YamlacceptYaml(YamlVisitor<P> v, P p)Yaml.DocumentscopyPaste()java.lang.StringgetPrefix()Prefixes will always be onYaml.Mapping.Entry.Yaml.DocumentswithPrefix(java.lang.String prefix)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openrewrite.SourceFile
getJacksonPolymorphicTypeTag, getMarkers, getSourcePath, getStyle, withMarkers
-
Methods inherited from interface org.openrewrite.Tree
getId, isScope, print, printTrimmed, printTrimmed
-
Methods inherited from interface org.openrewrite.yaml.tree.Yaml
accept, getMarkers, isAcceptable, print, print, printTrimmed, withMarkers
-
-
-
-
Method Detail
-
acceptYaml
public <P> Yaml acceptYaml(YamlVisitor<P> v, P p)
- Specified by:
acceptYamlin interfaceYaml
-
copyPaste
public Yaml.Documents copyPaste()
-
getPrefix
public java.lang.String getPrefix()
Prefixes will always be onYaml.Mapping.Entry.
-
withPrefix
public Yaml.Documents withPrefix(java.lang.String prefix)
- Specified by:
withPrefixin interfaceYaml
-
-