Package org.openrewrite.yaml.tree
Class Yaml.Documents
- java.lang.Object
-
- org.openrewrite.yaml.tree.Yaml.Documents
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openrewrite.yaml.tree.Yaml
Yaml.Alias, Yaml.Anchor, 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.<P> org.openrewrite.TreeVisitor<?,org.openrewrite.PrintOutputCapture<P>>printer(org.openrewrite.Cursor cursor)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
getMarkers, getSourcePath, getStyle, printAll, printAll, printAllTrimmed, printAllTrimmed, withMarkers, withSourcePath
-
Methods inherited from interface org.openrewrite.Tree
getId, getJacksonPolymorphicTypeTag, isScope, print, print, print, print, printTrimmed, printTrimmed, printTrimmed
-
Methods inherited from interface org.openrewrite.yaml.tree.Yaml
accept, getMarkers, isAcceptable, 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
-
printer
public <P> org.openrewrite.TreeVisitor<?,org.openrewrite.PrintOutputCapture<P>> printer(org.openrewrite.Cursor cursor)
- Specified by:
printerin interfaceorg.openrewrite.SourceFile- Specified by:
printerin interfaceorg.openrewrite.Tree
-
-