Package org.openrewrite.yaml.tree
Class Yaml.Sequence
java.lang.Object
org.openrewrite.yaml.tree.Yaml.Sequence
- All Implemented Interfaces:
org.openrewrite.Tree,Yaml,Yaml.Block
- Enclosing interface:
- Yaml
-
Nested Class Summary
Nested ClassesNested 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 -
Method Summary
Modifier and TypeMethodDescription<P> YamlacceptYaml(YamlVisitor<P> v, P p) withPrefix(String prefix) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openrewrite.Tree
cast, getId, getJacksonPolymorphicTypeTag, isScope, print, print, print, print, printer, printTrimmed, printTrimmed, printTrimmed, safeCast, withExceptionMarker, withIdMethods inherited from interface org.openrewrite.yaml.tree.Yaml
accept, getMarkers, isAcceptable, withMarkers
-
Constructor Details
-
Sequence
public Sequence()
-
-
Method Details
-
acceptYaml
- Specified by:
acceptYamlin interfaceYaml
-
copyPaste
- Specified by:
copyPastein interfaceYaml- Specified by:
copyPastein interfaceYaml.Block- Returns:
- A new deep copy of this block with different IDs.
-
getPrefix
-
withPrefix
- Specified by:
withPrefixin interfaceYaml- Specified by:
withPrefixin interfaceYaml.Block
-