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