|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Token | |
---|---|
provided.abcParser | |
provided.token | |
provided.token.tokenizer |
Uses of Token in provided.abcParser |
---|
Methods in provided.abcParser that return Token | |
---|---|
private Token |
ABCParser.swapToken(Token t)
Swap the given token for the next token in the tokenizer, returning the next token. |
Methods in provided.abcParser with parameters of type Token | |
---|---|
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. |
Uses of Token in provided.token |
---|
Methods in provided.token that return Token | |
---|---|
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 |
Methods in provided.token with parameters of type Token | |
---|---|
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. |
Uses of Token in provided.token.tokenizer |
---|
Fields in provided.token.tokenizer with type parameters of type Token | |
---|---|
private java.util.Stack<Token> |
ABCTokenizer.stack
Push-back stack for tokens. |
Methods in provided.token.tokenizer that return Token | |
---|---|
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. |
Methods in provided.token.tokenizer with parameters of type Token | |
---|---|
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 |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |