const class yaml::YamlList

sys::Obj
  yaml::YamlObj
    yaml::YamlList

Source

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

- - a
  - b
  - c
- [a, b, c]
each

Void each(|YamlObj| f)

Source

Iterate the list items

make

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

Source

Creates a YamlList with the list val as content, found at location loc, with tag as its tag.

val

virtual override YamlObj[] val()

Source

Content value as a list