parseDocument

private fnbool parseDocument(Builder)(ref SdlCdmParser!Builder p) @safe

Parse a complete SDL document via the builder.

An SDL document consists of zero or more top-level tags. If there is a single top-level tag, it becomes the root (CdmBuilder). If there are multiple top-level tags, they are wrapped (CdmBuilder). For VarBuilder, all top-level tags become members of a root object.