hed-typescript API
    Preparing search index...

    Class SchemaEntryWithAttributesParser<T>Abstract

    A parser for a specific SchemaEntry subtype.

    Type Parameters

    Hierarchy (View Summary)

    Index
    attributes: default<default>
    entryTypeMap: Map<string, T>

    The map of names to entry objects for this entry type.

    xmlCollection: HedSchemaXMLCollection

    The collection of XML data for a given prefix.

    • Give the elements of an unmerged library schema the inLibrary attribute that its merged file carries.

      Parameters

      • schemaXml: HedSchemaXMLObject

        The XML of the schema being parsed.

      • valueAttributeDefinitions: Map<string, Map<default, string[]>>

        The value attributes by name, modified in place.

      • isDeclared: (name: string) => boolean

        Whether an earlier schema of the group declared the named element.

      Returns void

      An unmerged file holds only its library's elements, except that it may name an element of an earlier schema of the group again to extend it (a partner unit class it adds units to); such an element keeps its declarer.