|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TokenMatcher | |
---|---|
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 |
Uses of TokenMatcher in org.sonar.duplications.java |
---|
Subclasses of TokenMatcher in org.sonar.duplications.java | |
---|---|
class |
BridgeWithExceptionTokenMatcher
|
Uses of TokenMatcher in org.sonar.duplications.statement |
---|
Methods in org.sonar.duplications.statement that return TokenMatcher | |
---|---|
static TokenMatcher |
TokenMatcherFactory.anyToken()
|
static TokenMatcher |
TokenMatcherFactory.bridge(String lToken,
String rToken)
|
static TokenMatcher |
TokenMatcherFactory.forgetLastToken()
|
static TokenMatcher |
TokenMatcherFactory.from(String token)
|
static TokenMatcher |
TokenMatcherFactory.opt(TokenMatcher optMatcher)
|
static TokenMatcher |
TokenMatcherFactory.to(String... tokens)
|
static TokenMatcher |
TokenMatcherFactory.token(String token)
|
Methods in org.sonar.duplications.statement with parameters of type TokenMatcher | |
---|---|
static StatementChannel |
StatementChannel.create(TokenMatcher... tokenMatchers)
|
static StatementChannel |
StatementChannel.createBlackHole(TokenMatcher... tokenMatchers)
|
StatementChunker.Builder |
StatementChunker.Builder.ignore(TokenMatcher... matchers)
Defines that sequence of tokens must be ignored, if it matches specified list of matchers. |
static TokenMatcher |
TokenMatcherFactory.opt(TokenMatcher optMatcher)
|
StatementChunker.Builder |
StatementChunker.Builder.statement(TokenMatcher... matchers)
Defines that sequence of tokens, which is matched specified list of matchers, is a statement. |
Uses of TokenMatcher in org.sonar.duplications.statement.matcher |
---|
Subclasses of TokenMatcher in org.sonar.duplications.statement.matcher | |
---|---|
class |
AnyTokenMatcher
Consumes any token, but only one. |
class |
BridgeTokenMatcher
Consumes everything between pair of tokens. |
class |
ExactTokenMatcher
Consumes only one specified token. |
class |
ForgetLastTokenMatcher
Last token would be returned to the queue. |
class |
OptTokenMatcher
Delegates consumption to another matcher. |
class |
UptoTokenMatcher
Consumes everything up to one of the specified tokens. |
Constructors in org.sonar.duplications.statement.matcher with parameters of type TokenMatcher | |
---|---|
OptTokenMatcher(TokenMatcher matcher)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |