- substituteCharacters()¶
Substitute certain illegal characters and report warnings when found.
- countTagGroupParentheses()¶
Check if group parentheses match. Pushes an issue if they don’t match.
- isCommaMissingAfterClosingParenthesis()¶
Check if a comma is missing after an opening parenthesis.
- findDelimiterIssuesInHedString()¶
Check for delimiter issues in a HED string (e.g. missing commas adjacent to groups, extra commas or tildes).
- validateFullUnparsedHedString(hedString)¶
Validate the full unparsed HED string.
- Arguments:
hedString (string) – The unparsed HED string.
- Returns:
Object.<string, Array.<Issue>> – String substitution issues and other issues.
- parseHedString(hedString, hedSchemas)¶
Parse a full HED string into an object of tag types.
- Arguments:
hedString (string) – The full HED string to parse.
hedSchemas (Schemas) – The collection of HED schemas.
- Returns:
- parseHedStrings(hedStrings, hedSchemas)¶
Parse a set of HED strings.
- Arguments:
hedStrings (Array.<string>) – A set of HED strings.
hedSchemas (Schemas) – The collection of HED schemas.
- Returns: