public class FirstOfStringsMatcher extends FirstOfMatcher
| Modifier and Type | Field and Description |
|---|---|
char[][] |
strings |
| Constructor and Description |
|---|
FirstOfStringsMatcher(Rule[] subRules,
char[][] strings) |
| Modifier and Type | Method and Description |
|---|---|
T |
defaultLabel(java.lang.String defaultLabel) |
java.lang.String |
getLabel() |
boolean |
hasCustomLabel() |
boolean |
match(MatcherContext context)
Tries a match on the given MatcherContext.
|
acceptareMismatchesMemoed, areSubnodesSuppressed, getSubContext, getTag, isNodeSkipped, isNodeSuppressed, label, memoMismatches, setTag, skipNode, suppressNode, suppressSubnodes, toStringgetChildrenequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildrenpublic FirstOfStringsMatcher(Rule[] subRules, char[][] strings)
public boolean match(MatcherContext context)
Matchermatch in interface Matchermatch in class FirstOfMatchercontext - the MatcherContextpublic java.lang.String getLabel()
getLabel in interface MatchergetLabel in class AbstractMatcherpublic boolean hasCustomLabel()
hasCustomLabel in interface MatcherhasCustomLabel in class AbstractMatcherpublic T defaultLabel(java.lang.String defaultLabel)