parsedHedString

class ParsedHedString(hedString, parsedTags)

A parsed HED string.

Constructor.

Arguments:
  • hedString (string) – The original HED string.

  • parsedTags (Array.<ParsedHedSubstring>) – The nested list of parsed HED tags and groups.

ParsedHedString.ParsedHedString

Constructor.

ParsedHedString.definitionGroups

type: Array.<ParsedHedGroup>

The definition tag groups in the string.

ParsedHedString.hedString

type: string

The original HED string.

ParsedHedString.tagGroups

type: Array.<ParsedHedGroup>

The tag groups in the string.

ParsedHedString.tags

type: Array.<ParsedHedTag>

All the tags in the string.

ParsedHedString.topLevelTagGroups

type: Array.<Array.<ParsedHedTag>>

The top-level tag groups in the string, split into arrays.

ParsedHedString.topLevelTags

type: Array.<ParsedHedTag>

All the top-level tags in the string.