void resolveInheritByDocument(String name, ParsedSchema parsed) {
        verifyThat(inheritedByDocument.contains(name),
                   "resolveInheritByDocument for non-inherited name", name);
        var old = allResolvedInherits.put("document " + name, parsed);
        verifyThat(old == null || old == parsed, "conflicting resolveInheritByDocument for", name);
    }
This class holds the extracted information after parsing
one schema (.sd) file, using simple data structures
as far as possible.

Do not put complicated logic here!

@author arnej27959
config-model/src/main/java/com/yahoo/schema/parser/ParsedSchema.java