public final class OneToNMatcher extends StandardMatcher
Matcher
that repeatedly tries its submatcher against the input.
Succeeds if its submatcher succeeds at least once.
This class is not intended to be instantiated or sub-classed by clients.
Matcher.MatchResult
Modifier | Constructor and Description |
---|---|
protected |
OneToNMatcher(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 OneToNMatcher(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.