public final class AndMatcher extends StandardMatcher
Matcher
that tries all of its submatchers in sequence and only succeeds if all submatchers succeed.
This class is not intended to be instantiated or sub-classed by clients.
Matcher.MatchResult
Modifier | Constructor and Description |
---|---|
protected |
AndMatcher(Matcher... matchers) |
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 AndMatcher(Matcher... matchers)
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.