Constructor and Description |
---|
TokenQueue() |
TokenQueue(List<Token> tokenList) |
Modifier and Type | Method and Description |
---|---|
void |
add(Token token) |
boolean |
isNextTokenValue(String expectedValue) |
Iterator<Token> |
iterator() |
Token |
peek()
Retrieves, but does not remove, token from this queue.
|
Token |
poll()
Retrieves and removes token from this queue.
|
void |
pushForward(List<Token> matchedTokenList) |
int |
size() |
public TokenQueue(List<Token> tokenList)
public TokenQueue()
public Token peek()
public Token poll()
public int size()
public boolean isNextTokenValue(String expectedValue)
public void pushForward(List<Token> matchedTokenList)
Copyright © 2009-2012 SonarSource. All Rights Reserved.