Constructor
new ParsedHedString(hedString, parsedTags)
Constructor.
Parameters:
Name | Type | Description |
---|---|---|
hedString |
string | The original HED string. |
parsedTags |
Array.<ParsedHedSubstring> | The nested list of parsed HED tags and groups. |
- Source:
Classes
Members
columnSplices :Array.<ParsedHedColumnSplice>
All the column splices in the string at all levels.
Type:
- Array.<ParsedHedColumnSplice>
- Source:
definitions :Array.<ParsedHedGroup>
The top-level definition tag groups in the string.
Type:
- Array.<ParsedHedGroup>
- Source:
hedString :string
The original HED string.
Type:
- string
- Source:
parseTree :Array.<ParsedHedSubstring>
The parsed substring data in unfiltered form.
Type:
- Array.<ParsedHedSubstring>
- Source:
tagGroups :Array.<ParsedHedGroup>
The tag groups in the string (top-level).
Type:
- Array.<ParsedHedGroup>
- Source:
tags :Array.<ParsedHedTag>
All the tags in the string at all levels
Type:
- Array.<ParsedHedTag>
- Source:
topLevelGroupTags :Array.<Array.<ParsedHedTag>>
The tags in the top-level tag groups in the string, split into arrays.
Type:
- Array.<Array.<ParsedHedTag>>
- Source:
topLevelTags :Array.<ParsedHedTag>
All the top-level tags in the string.
Type:
- Array.<ParsedHedTag>
- Source:
Methods
_getNormalized() → {string}
Return a normalized string representation
- Source:
Returns:
- Type
- string
format(long) → {string}
Nicely format this HED string. (Doesn't allow column splices).
Parameters:
Name | Type | Default | Description |
---|---|---|---|
long |
boolean | true | Whether the tags should be in long form. |
- Source:
Returns:
- Type
- string
toString() → {string}
Override of Object.prototype.toString.
- Source:
Returns:
- Type
- string