Package org.openrewrite.yaml.tree
Class Yaml.Scalar
- java.lang.Object
-
- org.openrewrite.yaml.tree.Yaml.Scalar
-
- All Implemented Interfaces:
java.io.Serializable,org.openrewrite.marker.Markable,org.openrewrite.Tree,Yaml,Yaml.Block
- Enclosing interface:
- Yaml
public static class Yaml.Scalar extends java.lang.Object implements Yaml.Block
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classYaml.Scalar.Style-
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 Scalar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <P> YamlacceptYaml(YamlVisitor<P> v, P p)Yaml.ScalarcopyPaste()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openrewrite.marker.Markable
getMarkers, withMarker, withMarkers
-
Methods inherited from interface org.openrewrite.Tree
getId, getStyle, isScope, print, printTrimmed, printTrimmed
-
Methods inherited from interface org.openrewrite.yaml.tree.Yaml
accept, getPrefix, isAcceptable, print, print, printTrimmed
-
Methods inherited from interface org.openrewrite.yaml.tree.Yaml.Block
withPrefix
-
-
-
-
Method Detail
-
acceptYaml
public <P> Yaml acceptYaml(YamlVisitor<P> v, P p)
- Specified by:
acceptYamlin interfaceYaml
-
copyPaste
public Yaml.Scalar copyPaste()
- Specified by:
copyPastein interfaceYaml- Specified by:
copyPastein interfaceYaml.Block- Returns:
- A new deep copy of this block with different IDs.
-
-