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 MatcherContext. getMatcher()Returns the Matcher of this context or null, if this context is not valid anymore.MatcherMatcherContext. getMatcher()MatcherNode. 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)voidMatcherContext. 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 classAbstractMatcherAbstract base class of most regularMatchers.classActionMatcherclassAnyMatcherAMatchermatching any single character except EOI.classAnyOfMatcherAMatchermatching a single character out of a givenCharactersset.classCharIgnoreCaseMatcherAMatchermatching a single character case-independently.classCharMatcherAMatchermatching a single given character.classCharRangeMatcherAMatchermatching a single character out of a given range of characters.classCustomMatcherBase class of custom matcher implementations.classEmptyMatcherAMatcherthat always successfully matches nothing.classFirstOfMatcherAMatchertrying all of its submatchers in sequence and succeeding when the first submatcher succeeds.classFirstOfStringsMatcherA specialized FirstOfMatcher that handles FirstOf(string, string, ...) rules much faster that the regular FirstOfMatcher.classMemoMismatchesMatcherSpecial wrapping matcher that performs memoization of the last mismatch of the wrapped sub rule.classNothingMatcherAMatcherthat never matches anything.classOneOrMoreMatcherAMatcherthat repeatedly tries its submatcher against the input.classOptionalMatcherAMatcherthat tries its submatcher once against the input and always succeeds.classProxyMatcherclassSequenceMatcherAMatcherthat executes all of its submatchers in sequence and only succeeds if all submatchers succeed.classStringMatcherASequenceMatcherspecialization for sequences of CharMatchers.classTestMatcherA specialMatchernot actually matching any input but rather trying its submatcher against the current input position.classTestNotMatcherA specialMatchernot actually matching any input but rather trying its submatcher against the current input position.classVarFramingMatcherSpecial wrapping matcher that manages the creation and destruction of execution frames for a number of action vars.classZeroOrMoreMatcherAMatcherthat repeatedly tries its submatcher against the input.Fields in org.parboiled.matchers declared as Matcher Modifier and Type Field Description MatcherOneOrMoreMatcher. subMatcherMatcherOptionalMatcher. subMatcherMatcherTestMatcher. subMatcherMatcherTestNotMatcher. subMatcherMatcherZeroOrMoreMatcher. subMatcherMethods in org.parboiled.matchers that return Matcher Modifier and Type Method Description static MatcherMatcherUtils. unwrap(Matcher matcher)static MatcherMemoMismatchesMatcher. unwrap(Matcher matcher)Retrieves the innermost Matcher that is not a MemoMismatchesMatcher.static MatcherProxyMatcher. unwrap(Matcher matcher)Retrieves the innermost Matcher that is not a ProxyMatcher.static MatcherVarFramingMatcher. 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 voidProxyMatcher. arm(Matcher target)Supplies this ProxyMatcher with its underlying delegate.static MatcherMatcherUtils. unwrap(Matcher matcher)static MatcherMemoMismatchesMatcher. unwrap(Matcher matcher)Retrieves the innermost Matcher that is not a MemoMismatchesMatcher.static MatcherProxyMatcher. unwrap(Matcher matcher)Retrieves the innermost Matcher that is not a ProxyMatcher.static MatcherVarFramingMatcher. 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 voidDoWithMatcherVisitor.Action. process(Matcher matcher) -
Uses of Matcher in org.parboiled.parserunners
Methods in org.parboiled.parserunners that return Matcher Modifier and Type Method Description MatcherProfilingParseRunner.RuleReport. getMatcher()MatcherAbstractParseRunner. 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 MatcherMatcherPath.Element. matcherMethods 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 MatcherPositionMatcherPosition. at(Matcher matcher, java.lang.Integer index)booleanMatcherPath. 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)
-