Class: ParserOutput

ParserOutput(alphaTexStructure)

Encapsulates functions to convert am A;phaTexStructure into a ParsedOutputPackage for more efficient storage in the database

Constructor

new ParserOutput(alphaTexStructure)

Creates a new ParserOutput
Parameters:
Name Type Description
alphaTexStructure AlphaTexStructure The main AlphaTexStructure to be converted
Source:

Methods

parse(lyricsPerStaff)

Parses the AlphaTexStructure into a ParsedOutputPackage
Parameters:
Name Type Description
lyricsPerStaff object Relates Staff indexes to lyric strings.
Source:

toPrettyString() → {string}

Creates a pretty String representation of the ParsedOutputPackage
Source:
Returns:
The pretty String representation of the ParsedOutputPackage
Type
string

toString() → {string}

Returns the result of stringifing the ParsedOutputPackage
Source:
Returns:
The result of stringifing the ParsedOutputPackage
Type
string