type

YamlMap

src const class YamlMap : YamlObj

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

- foo: bar
  a: b
- {foo: bar, a: b}

constructors

make

Creates a YamlMap with the map val as content, found at location loc, with tag as its tag.

methods

val

Content value as a map

Slot Details

make

src new make(YamlObj:YamlObj val, Str tag := "!", FileLoc loc := FileLoc.unknown)

Creates a YamlMap with the map val as content, found at location loc, with tag as its tag.

val

src virtual override YamlObj:YamlObj val()

Content value as a map