class

YamlScalar

const class YamlScalar : YamlObj

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

constructors make

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

methods val

Content value as a string

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

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

val virtual Str val()

Content value as a string

Haxall 4.0.6 ∙ 21-Jul-2026 09:48 EDT