Flags.fromYAML

Reads a list of flags from a JSON/YAML document and converts them to our internal representation.

Flags inside of dub code are stored as a BitFlags, but they are specified in the recipe using an array of their name. This routine handles the conversion from string[] to BitFlags!T.

struct Flags(T)
static
fromYAML
(
scope ConfigParser!(Flags!T) p
)

Meta