hed-typescript API
    Preparing search index...

    Class SchemaEntryParser<T>Abstract

    A parser for a specific SchemaEntry subtype.

    Type Parameters

    Hierarchy (View Summary)

    Index
    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.

    • Add a new entry while checking for duplicates.

      Parameters

      • newEntryName: string

        The entry name.

      • newEntry: T

        The new entry object to add.

      Returns void