Scalar Node
class ScalarNode @JvmOverloads constructor(var tag: Tag, val value: String, val scalarStyle: ScalarStyle, resolved: Boolean = true, val startMark: Mark? = null, var endMark: Mark? = null) : Node
Represents a scalar node.
Scalar nodes form the leaves in the node graph.
Parameters
tag
resolved
value
Value of this scalar
scalar Style
style of this scalar node
Flow styles - https://yaml.org/spec/1.2/spec.html.id2786942
Block styles - https://yaml.org/spec/1.2/spec.html.id2793652
See also
Constructors
Properties
Link copied to clipboard
The ordered list of blank lines and block comments (full line) that appear before this node.
Link copied to clipboard
The ordered list of blank lines and block comments (full line) that appear AFTER this node.
Link copied to clipboard
The ordered list of in-line comments. The first of which appears at the end of the line represented by this node. The rest are in the following lines, indented per the Spec to indicate they are continuation of the inline comment.
Link copied to clipboard
Indicates if this node must be constructed in two steps.
Link copied to clipboard