|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.parboiled.trees.ImmutableGraphNode<Matcher>
org.parboiled.matchers.AbstractMatcher
org.parboiled.matchers.CharRangeMatcher
public class CharRangeMatcher
A Matcher
matching a single character out of a given range of characters.
Field Summary | |
---|---|
char |
cHigh
|
char |
cLow
|
Constructor Summary | |
---|---|
CharRangeMatcher(char cLow,
char cHigh)
|
Method Summary | ||
---|---|---|
|
accept(MatcherVisitor<R> visitor)
Accepts the given matcher visitor. |
|
boolean |
match(MatcherContext context)
Tries a match on the given MatcherContext. |
Methods inherited from class org.parboiled.matchers.AbstractMatcher |
---|
areMismatchesMemoed, areSubnodesSuppressed, getLabel, getSubContext, getTag, hasCustomLabel, isNodeSkipped, isNodeSuppressed, label, memoMismatches, setTag, skipNode, suppressNode, suppressSubnodes, toString |
Methods inherited from class org.parboiled.trees.ImmutableGraphNode |
---|
getChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.parboiled.trees.GraphNode |
---|
getChildren |
Field Detail |
---|
public final char cLow
public final char cHigh
Constructor Detail |
---|
public CharRangeMatcher(char cLow, char cHigh)
Method Detail |
---|
public boolean match(MatcherContext context)
Matcher
context
- the MatcherContext
public <R> R accept(MatcherVisitor<R> visitor)
Matcher
visitor
- the visitor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |