Uses of Interface
org.parboiled.matchers.Matcher
-
Packages that use Matcher Package Description org.parboiled org.parboiled.errors org.parboiled.matchers org.parboiled.matchervisitors org.parboiled.parserunners org.parboiled.support -
-
Uses of Matcher in org.parboiled
Methods in org.parboiled that return Matcher Modifier and Type Method Description Matcher
Context. getMatcher()
Returns the Matcher of this context or null, if this context is not valid anymore.Matcher
MatcherContext. getMatcher()
Matcher
Node. getMatcher()
Returns the matcher that created this node.Methods in org.parboiled with parameters of type Matcher Modifier and Type Method Description MatcherContext<V>
MatcherContext. getSubContext(Matcher matcher)
void
MatcherContext. setMatcher(Matcher matcher)
Constructors in org.parboiled with parameters of type Matcher Constructor Description MatcherContext(InputBuffer inputBuffer, ValueStack<V> valueStack, java.util.List<ParseError> parseErrors, MatchHandler matchHandler, Matcher matcher, boolean fastStringMatching)
Initializes a new root MatcherContext. -
Uses of Matcher in org.parboiled.errors
Methods in org.parboiled.errors with parameters of type Matcher Modifier and Type Method Description java.lang.String[]
DefaultInvalidInputErrorFormatter. getLabels(Matcher matcher)
Gets the labels corresponding to the given matcher, AnyOfMatchers are treated specially in that their label is constructed as a list of their contents -
Uses of Matcher in org.parboiled.matchers
Classes in org.parboiled.matchers that implement Matcher Modifier and Type Class Description class
AbstractMatcher
Abstract base class of most regularMatcher
s.class
ActionMatcher
class
AnyMatcher
AMatcher
matching any single character except EOI.class
AnyOfMatcher
AMatcher
matching a single character out of a givenCharacters
set.class
CharIgnoreCaseMatcher
AMatcher
matching a single character case-independently.class
CharMatcher
AMatcher
matching a single given character.class
CharRangeMatcher
AMatcher
matching a single character out of a given range of characters.class
CustomMatcher
Base class of custom matcher implementations.class
EmptyMatcher
AMatcher
that always successfully matches nothing.class
FirstOfMatcher
AMatcher
trying all of its submatchers in sequence and succeeding when the first submatcher succeeds.class
FirstOfStringsMatcher
A specialized FirstOfMatcher that handles FirstOf(string, string, ...) rules much faster that the regular FirstOfMatcher.class
MemoMismatchesMatcher
Special wrapping matcher that performs memoization of the last mismatch of the wrapped sub rule.class
NothingMatcher
AMatcher
that never matches anything.class
OneOrMoreMatcher
AMatcher
that repeatedly tries its submatcher against the input.class
OptionalMatcher
AMatcher
that tries its submatcher once against the input and always succeeds.class
ProxyMatcher
class
SequenceMatcher
AMatcher
that executes all of its submatchers in sequence and only succeeds if all submatchers succeed.class
StringMatcher
ASequenceMatcher
specialization for sequences of CharMatchers.class
TestMatcher
A specialMatcher
not actually matching any input but rather trying its submatcher against the current input position.class
TestNotMatcher
A specialMatcher
not actually matching any input but rather trying its submatcher against the current input position.class
VarFramingMatcher
Special wrapping matcher that manages the creation and destruction of execution frames for a number of action vars.class
ZeroOrMoreMatcher
AMatcher
that repeatedly tries its submatcher against the input.Fields in org.parboiled.matchers declared as Matcher Modifier and Type Field Description Matcher
OneOrMoreMatcher. subMatcher
Matcher
OptionalMatcher. subMatcher
Matcher
TestMatcher. subMatcher
Matcher
TestNotMatcher. subMatcher
Matcher
ZeroOrMoreMatcher. subMatcher
Methods in org.parboiled.matchers that return Matcher Modifier and Type Method Description static Matcher
MatcherUtils. unwrap(Matcher matcher)
static Matcher
MemoMismatchesMatcher. unwrap(Matcher matcher)
Retrieves the innermost Matcher that is not a MemoMismatchesMatcher.static Matcher
ProxyMatcher. unwrap(Matcher matcher)
Retrieves the innermost Matcher that is not a ProxyMatcher.static Matcher
VarFramingMatcher. unwrap(Matcher matcher)
Retrieves the innermost Matcher that is not a VarFramingMatcher.Methods in org.parboiled.matchers that return types with arguments of type Matcher Modifier and Type Method Description java.util.List<Matcher>
MemoMismatchesMatcher. getChildren()
java.util.List<Matcher>
ProxyMatcher. getChildren()
java.util.List<Matcher>
VarFramingMatcher. getChildren()
Methods in org.parboiled.matchers with parameters of type Matcher Modifier and Type Method Description void
ProxyMatcher. arm(Matcher target)
Supplies this ProxyMatcher with its underlying delegate.static Matcher
MatcherUtils. unwrap(Matcher matcher)
static Matcher
MemoMismatchesMatcher. unwrap(Matcher matcher)
Retrieves the innermost Matcher that is not a MemoMismatchesMatcher.static Matcher
ProxyMatcher. unwrap(Matcher matcher)
Retrieves the innermost Matcher that is not a ProxyMatcher.static Matcher
VarFramingMatcher. unwrap(Matcher matcher)
Retrieves the innermost Matcher that is not a VarFramingMatcher. -
Uses of Matcher in org.parboiled.matchervisitors
Methods in org.parboiled.matchervisitors that return types with arguments of type Matcher Modifier and Type Method Description java.util.List<Matcher>
FollowMatchersVisitor. getFollowMatchers(MatcherContext currentContext)
Methods in org.parboiled.matchervisitors with parameters of type Matcher Modifier and Type Method Description void
DoWithMatcherVisitor.Action. process(Matcher matcher)
-
Uses of Matcher in org.parboiled.parserunners
Methods in org.parboiled.parserunners that return Matcher Modifier and Type Method Description Matcher
ProfilingParseRunner.RuleReport. getMatcher()
Matcher
AbstractParseRunner. getRootMatcher()
Constructors in org.parboiled.parserunners with parameters of type Matcher Constructor Description RuleReport(Matcher matcher)
-
Uses of Matcher in org.parboiled.support
Fields in org.parboiled.support declared as Matcher Modifier and Type Field Description Matcher
MatcherPath.Element. matcher
Methods in org.parboiled.support that return types with arguments of type Matcher Modifier and Type Method Description static Predicate<Matcher>
Filters. preventLoops()
A predicate for rule tree printing.Methods in org.parboiled.support with parameters of type Matcher Modifier and Type Method Description static MatcherPosition
MatcherPosition. at(Matcher matcher, java.lang.Integer index)
boolean
MatcherPath. contains(Matcher matcher)
Determines whether the given matcher is contained in this path.Constructors in org.parboiled.support with parameters of type Matcher Constructor Description Element(Matcher matcher, int startIndex, int level)
MatcherPosition(Matcher matcher, java.lang.Integer index)
-