public interface Subparser
| Modifier and Type | Method and Description | 
|---|---|
Token.TokenType | 
getTokenType(java.lang.String tokenString)
Asks the subparser to provide a TokenType for the given token. 
 | 
boolean | 
matches(java.lang.String music)
Indicates whether the subparser should be responsible for parsing the given music string. 
 | 
int | 
parse(java.lang.String music,
     StaccatoParserContext context)
Parses the given music string. 
 | 
boolean matches(java.lang.String music)
music - The Staccato music string to considerToken.TokenType getTokenType(java.lang.String tokenString)
tokenString - The Staccato token to map to a typeint parse(java.lang.String music,
          StaccatoParserContext context)
music - The Staccato music string to parsepacket - context -