public final class TokenValueMatcher extends TokenMatcher
This class is not intended to be instantiated or sub-classed by clients.
Matcher.MatchResult
Modifier | Constructor and Description |
---|---|
protected |
TokenValueMatcher(java.lang.String tokenValue) |
protected |
TokenValueMatcher(java.lang.String tokenValue,
boolean hasToBeSkippedFromAst) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTokenValue() |
int |
hashCode() |
protected boolean |
isExpectedToken(Token token) |
java.lang.String |
toString() |
doMatch
match, matchWorker
getMemoizedAst, memoizeAst
enterEvent, exitWithMatchEvent, exitWithoutMatchEvent, isMatching, matchToIndex
protected TokenValueMatcher(java.lang.String tokenValue)
protected TokenValueMatcher(java.lang.String tokenValue, boolean hasToBeSkippedFromAst)
public java.lang.String getTokenValue()
protected boolean isExpectedToken(Token token)
isExpectedToken
in class TokenMatcher
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class StandardMatcher
public boolean equals(java.lang.Object obj)
equals
in class StandardMatcher
Copyright © 2012 SonarSource. All Rights Reserved.