humdrum-js

A Javascript parser for musical data in the Humdrum syntax

The HumdrumToken object is an interface for managing a single token. This can be a data token, an interpretation, a path manipulator, or even a global comment or reference record.


Functions

clear — Intialize variables for object.
stringify — Convert object to plain text.
getText — Return the string representation of the token.


Variables

text — The raw text of the token.
tabCount — The number of tab characters after the tokoen in the parsed line.
subTokens — An array of subtokens in the token.
owner — The HumdrumLine object that the HumdrumToken object is contained in.