SubPackage.fromYAML

Given a YAML parser, recurses into recipe or use path depending on the node type.

Two formats are supported for sub-packages: a string format, which is just the path to the sub-package, and embedding the full sub-package recipe into the parent package recipe.

To support such a dual syntax, Configy requires the use of a fromYAML method, as it exposes the underlying format.

struct SubPackage
static
fromYAML
(
scope ConfigParser!SubPackage p
)

Meta