HED JavaScript Library
    Preparing search index...
    Index

    Properties

    defContents: ParsedHedGroup

    The definition contents group

    defGroup: ParsedHedGroup

    The parsed HED group representing the definition

    defTag: ParsedHedTag

    The name of the definition.

    name: string

    The name of the definition.

    placeholder: any

    Methods

    • Return the evaluated definition contents and any issues.

      Parameters

      • tag: ParsedHedTag

        The parsed HEd tag whose details should be checked.

      • hedSchema: Schemas

        The HED schemas used to validate against.

      • placeholderAllowed: boolean

        If true then placeholder is allowed in the def tag.

      Returns any[]

      • Returns [string, Issue[], Issue[]] containing the evaluated normalized definition string and any issues in the evaluation,
    • Create a list of Definition objects from a list of strings.

      Parameters

      • hedString: string

        A string representing a definition.

      • hedSchemas: Schemas

        The HED schemas to use in creation.

      Returns any[]

      • Returns [Definition, Issue[], Issue[]] with the definition and any issues.
    • Create a definition from a ParsedHedGroup.

      Parameters

      • group: ParsedHedGroup

        The group to create a definition from.

      Returns any[]

      • Returns [Definition, Issue[], Issue[]] with the definition and any issues. (The definition will be null if issues.)