This class is entity for MML token. This class has token type, token data and token value if token is number.
This argument is string that identifies MML token.
This argument is one of 'TEMPO', 'OCTAVE', 'NOTE', 'REST', 'NUMBER', 'TIE', 'SPACE', 'EOS', 'UNKNOWN'.
This argument is string that constructs of token.
This method is getter for token.
This method is getter for token type.
This method is getter for token value if token is number.
This method returns fields that Token has as JSON.
Token
This class is entity for MML token. This class has token type, token data and token value if token is number.