public final class TokenMatcherFactory extends Object
Modifier and Type | Method and Description |
---|---|
static TokenMatcher |
anyToken() |
static TokenMatcher |
bridge(String lToken,
String rToken) |
static TokenMatcher |
forgetLastToken() |
static TokenMatcher |
from(String token) |
static TokenMatcher |
opt(TokenMatcher optMatcher) |
static TokenMatcher |
to(String... tokens) |
static TokenMatcher |
token(String token) |
public static TokenMatcher from(String token)
public static TokenMatcher to(String... tokens)
public static TokenMatcher bridge(String lToken, String rToken)
public static TokenMatcher anyToken()
public static TokenMatcher opt(TokenMatcher optMatcher)
public static TokenMatcher forgetLastToken()
public static TokenMatcher token(String token)
Copyright © 2009-2012 SonarSource. All Rights Reserved.