Loader.opApply

Foreach over YAML documents.

Parses documents lazily, when they are needed.

Foreach over a Loader can only be used once; this is enforced by contract.

  1. int opApply(int delegate(ref Node) @safe dg)
  2. int opApply(int delegate(ref Node) @system dg)
    struct Loader
    int
    opApply
    @system
    (
    int delegate(
    ref Node
    ) @system
    dg
    )

Throws

YAMLException on a parsing error.

Meta