Modifier and Type | Field and Description |
---|---|
char |
character |
Constructor and Description |
---|
CharMatcher(char character) |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(MatcherVisitor<R> visitor)
Accepts the given matcher visitor.
|
private static java.lang.String |
getLabel(char c) |
boolean |
match(MatcherContext context)
Tries a match on the given MatcherContext.
|
areMismatchesMemoed, areSubnodesSuppressed, getLabel, getSubContext, getTag, hasCustomLabel, isNodeSkipped, isNodeSuppressed, label, memoMismatches, setTag, skipNode, suppressNode, suppressSubnodes, toString
getChildren
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildren
private static java.lang.String getLabel(char c)
public boolean match(MatcherContext context)
Matcher
context
- the MatcherContextpublic <R> R accept(MatcherVisitor<R> visitor)
Matcher
visitor
- the visitor