public class FirstOfStringsMatcher extends FirstOfMatcher
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
FirstOfStringsMatcher.Record |
| Modifier and Type | Field and Description |
|---|---|
private FirstOfStringsMatcher.Record |
root |
char[][] |
strings |
| Constructor and Description |
|---|
FirstOfStringsMatcher(Rule[] subRules,
char[][] strings) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static FirstOfStringsMatcher.Record |
createRecord(int pos,
char[][] strings) |
boolean |
match(MatcherContext context)
Tries a match on the given MatcherContext.
|
private static void |
verify(char[][] strings) |
acceptdefaultLabel, getLabel, hasCustomLabelareMismatchesMemoed, areSubnodesSuppressed, getSubContext, getTag, isNodeSkipped, isNodeSuppressed, label, memoMismatches, setTag, skipNode, suppressNode, suppressSubnodes, toStringgetChildrenclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildrenprivate final FirstOfStringsMatcher.Record root
public final char[][] strings
public FirstOfStringsMatcher(Rule[] subRules, char[][] strings)
public boolean match(MatcherContext context)
Matchermatch in interface Matchermatch in class FirstOfMatchercontext - the MatcherContextstatic FirstOfStringsMatcher.Record createRecord(int pos, char[][] strings)
private static void verify(char[][] strings)