| Package | Description |
|---|---|
| org.sonar.duplications.java | |
| org.sonar.duplications.statement |
Provides a basic framework to create list of statements from list of tokens.
|
| org.sonar.duplications.statement.matcher | |
| org.sonar.duplications.token |
Provides a basic framework to sequentially read any kind of character stream and create list of tokens.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
BridgeWithExceptionTokenMatcher.matchToken(TokenQueue tokenQueue,
List<Token> matchedTokenList) |
| Constructor and Description |
|---|
Statement(List<Token> tokens) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
UptoTokenMatcher.matchToken(TokenQueue tokenQueue,
List<Token> matchedTokenList) |
abstract boolean |
TokenMatcher.matchToken(TokenQueue tokenQueue,
List<Token> matchedTokenList) |
boolean |
OptTokenMatcher.matchToken(TokenQueue tokenQueue,
List<Token> matchedTokenList) |
boolean |
ForgetLastTokenMatcher.matchToken(TokenQueue tokenQueue,
List<Token> matchedTokenList) |
boolean |
ExactTokenMatcher.matchToken(TokenQueue tokenQueue,
List<Token> matchedTokenList) |
boolean |
BridgeTokenMatcher.matchToken(TokenQueue tokenQueue,
List<Token> matchedTokenList) |
boolean |
AnyTokenMatcher.matchToken(TokenQueue tokenQueue,
List<Token> matchedTokenList) |
| Modifier and Type | Method and Description |
|---|---|
Token |
TokenQueue.peek()
Retrieves, but does not remove, token from this queue.
|
Token |
TokenQueue.poll()
Retrieves and removes token from this queue.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Token> |
TokenQueue.iterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
TokenQueue.add(Token token) |
| Modifier and Type | Method and Description |
|---|---|
void |
TokenQueue.pushForward(List<Token> matchedTokenList) |
| Constructor and Description |
|---|
TokenQueue(List<Token> tokenList) |
Copyright © 2009-2012 SonarSource. All Rights Reserved.