const class yaml::YamlScalar

sys::Obj
  yaml::YamlObj
    yaml::YamlScalar

Source

A YamlObj whose content always has the type Str. For example, each item on the list below is a scalar:

- This is a plain scalar
- "This is a string"
- !!int 5
make

new make(Str val, Str tag := "?", FileLoc loc := FileLoc.unknown)

Source

Creates a YamlScalar with the string val as content, found at location loc, with tag as its tag.

val

virtual override Str val()

Source

Content value as a string