public final class NextMatcher extends StandardMatcher
Matcher
not actually matching any input but rather trying its submatcher against the current input
position. Succeeds if the submatcher would succeed.
This class is not intended to be instantiated or sub-classed by clients.
Matcher.MatchResult
Modifier | Constructor and Description |
---|---|
protected |
NextMatcher(Matcher matcher) |
Modifier and Type | Method and Description |
---|---|
protected Matcher.MatchResult |
doMatch(ParsingState parsingState) |
java.lang.String |
toString() |
equals, hashCode, match, matchWorker
getMemoizedAst, memoizeAst
enterEvent, exitWithMatchEvent, exitWithoutMatchEvent, isMatching, matchToIndex
protected NextMatcher(Matcher matcher)
protected Matcher.MatchResult doMatch(ParsingState parsingState)
doMatch
in class StandardMatcher
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2012 SonarSource. All Rights Reserved.