public final class AndPredicate extends MatchPredicate
Constructor and Description |
---|
AndPredicate(MatchPredicate first,
MatchPredicate second) |
Modifier and Type | Method and Description |
---|---|
MatchPredicate |
getFirst() |
MatchPredicate |
getSecond() |
boolean |
match(PsiElement matchedNode,
int start,
int end,
MatchContext context)
Matches given node against this predicate.
|
match
public AndPredicate(MatchPredicate first, MatchPredicate second)
public boolean match(PsiElement matchedNode, int start, int end, MatchContext context)
MatchPredicate
match
in class MatchPredicate
matchedNode
- for matchingcontext
- of the matchingpublic MatchPredicate getFirst()
public MatchPredicate getSecond()