Package | Description |
---|---|
provided.abcParser | |
provided.token | |
provided.token.tokenizer |
Modifier and Type | Method and Description |
---|---|
private Token |
ABCParser.swapToken(Token t)
Swap the given token for the next token in the tokenizer, returning the
next token.
|
Modifier and Type | Method and Description |
---|---|
private Note |
ABCParser.makeNote(Token host)
Parse a Note from the given Token
|
private Token |
ABCParser.swapToken(Token t)
Swap the given token for the next token in the tokenizer, returning the
next token.
|
Modifier and Type | Method and Description |
---|---|
Token |
TokenFactory.makeToken(java.lang.String name,
java.lang.String lexeme)
Creates Tokens from the given name and lexeme.
|
Token |
ITokenFactory.makeToken(java.lang.String name,
java.lang.String lexeme)
Creates an instance of an Token from the given name and lexeme values
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
ITokVisitorCmd.apply(java.lang.String id,
Token host,
java.lang.Object... params)
The ATokVisitor delegates its caseAt call to this method
|
java.lang.Object |
ITokVisitor.caseAt(java.lang.String id,
Token host,
java.lang.Object... params)
Host Token calls this method with its ID to run its associated processing.
|
java.lang.Object |
ATokVisitor.caseAt(java.lang.String id,
Token host,
java.lang.Object... params)
Delegates to the ITokVisitorCmd associated with the given host id (name),
or if nothing is associated with the id, use the default cmd.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Stack<Token> |
ABCTokenizer.stack
Push-back stack for tokens.
|
Modifier and Type | Method and Description |
---|---|
Token |
ITokenizer.getNextToken()
Return the next token.
|
Token |
ABCTokenizer.getNextToken()
Return the next token, either from the stream or the last token if it was
pushed back
|
private Token |
ABCTokenizer.makeNextToken()
Parse the strings down from the getNextStringToken further, separating
out the abc keywords into tokens.
|
Modifier and Type | Method and Description |
---|---|
void |
ITokenizer.putBack(Token t)
Put the previously consumed token back into the token stream.
|
void |
ABCTokenizer.putBack(Token t)
Push token back into the stream
|