Class: ParsedHedSubstring

ParsedHedSubstring(originalTag, originalBounds)

A parsed HED substring.

Constructor

new ParsedHedSubstring(originalTag, originalBounds)

Constructor.
Parameters:
Name Type Description
originalTag string The original HED tag.
originalBounds Array.<number> The bounds of the HED tag in the original HED string.
Source:

Classes

ParsedHedSubstring

Members

(abstract) normalized

Get the normalized version of the object.
Source:

originalBounds :Array.<int>

The bounds of the HED tag in the original HED string.
Type:
  • Array.<int>
Source:

originalTag :string

The original pre-parsed version of the HED tag.
Type:
  • string
Source:

Methods

(abstract) format(long) → {string}

Nicely format this substring. This is left blank for the subclasses to override. This is left blank for the subclasses to override.
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:
The original form of this HED substring.
Type
string