Uses of Class
org.jparsec.Matcher
Packages that use Matcher
-
Uses of Matcher in org.jparsec
Methods in org.jparsec that return MatcherModifier and TypeMethodDescriptionstatic <U> Matcher<U> Takes the first one of the succeeding matchers.Succeds if any of the matchers succeeds.Succeds if any of the matchers succeeds.Succeds if any of the matchers succeeds.Succeds if any of the matchers succeeds.Api.choice(Matcher<T> c1, Matcher<U> c2, Matcher<W> c3, Matcher<Z> c4, Matcher<X> c5, Matcher<G> c6) Succeds if any of the matchers succeeds.Api.choice(Matcher<T> c1, Matcher<U> c2, Matcher<W> c3, Matcher<Z> c4, Matcher<X> c5, Matcher<G> c6, Matcher<H> c7) Succeds if any of the matchers succeeds.<U> Matcher<U> <U> Matcher<U> <U> Matcher<U> Matcher.mapOrError(Function<MatchResult<T>, MatchResult<U>> fn) Fails if matcher succeeds.Zero or more occurences of first rule separated by second rule.Matcher.setErrorMessage(String message) Matcher.setInternalDescription(String message) Methods in org.jparsec with parameters of type MatcherModifier and TypeMethodDescriptionstatic <U> Matcher<U> Takes the first one of the succeeding matchers.Succeds if any of the matchers succeeds.Succeds if any of the matchers succeeds.Succeds if any of the matchers succeeds.Succeds if any of the matchers succeeds.Api.choice(Matcher<T> c1, Matcher<U> c2, Matcher<W> c3, Matcher<Z> c4, Matcher<X> c5, Matcher<G> c6) Succeds if any of the matchers succeeds.Api.choice(Matcher<T> c1, Matcher<U> c2, Matcher<W> c3, Matcher<Z> c4, Matcher<X> c5, Matcher<G> c6, Matcher<H> c7) Succeds if any of the matchers succeeds.<U> Matcher<U> static <T> Indent<T> Applies scope of to inner rule and increments the indentation.static <T> Lexeme<T> Wraps first rule and takes up second rule to exhaustion.static <U> Many<U> Zero or more occurences of matcher.Fails if matcher succeeds.static <T> Opt<T> Optional occurence of the matcher.Zero or more occurences of first rule separated by second rule.Asserts all matchers succeed in order.Asserts all matchers succeed in order.Asserts all matchers succeed in order.Asserts all matchers succeed in order.Api.seq(Matcher<T> one, Matcher<U> two, Matcher<W> three, Matcher<Z> four, Matcher<Y> five, Matcher<X> six) Asserts all matchers succeed in order.Api.seq(Matcher<T> one, Matcher<U> two, Matcher<W> three, Matcher<Z> four, Matcher<Y> five, Matcher<X> six, Matcher<G> seven) Asserts all matchers succeed in order.static <U> Many<U> One or more occurences of matcher.static <U> Times<U> Matches exactly X occurences of matcher.static <U> Times<U> For success matcher has to be matched between from and to times. -
Uses of Matcher in org.jparsec.combinator
Subclasses of Matcher in org.jparsec.combinatorModifier and TypeClassDescriptionclassDropLeft<T,U> classDropRight<T,U> classclassFailIf<U>classIndent<T>classLexeme<T>classMany<T>classMap<T,U> classMapOrFail<T,U> classclassclassclassOpt<T>classOr<T,U> classRecursive<T>classclassSep<T,U> static classclassSeq2<T,U> classclassclassclassTakeWhile<T>classTimes<T>Methods in org.jparsec.combinator that return MatcherModifier and TypeMethodDescriptionChoice.choice(Matcher<T> c1, Matcher<U> c2, Matcher<W> c3, Matcher<Z> c4, Matcher<X> c5, Matcher<G> c6) Choice.choice(Matcher<T> c1, Matcher<U> c2, Matcher<W> c3, Matcher<Z> c4, Matcher<X> c5, Matcher<G> c6, Matcher<H> c7) <U> Matcher<U> Many.reduce(U init, BiFunction<T, U, U> reducer) <U> Matcher<U> Times.reduce(U init, BiFunction<T, U, U> reducer) Seq2.s()Many.str()Satisfy.str()Seq.SeqX.str()TakeWhile.str()Times.str()Methods in org.jparsec.combinator with parameters of type MatcherModifier and TypeMethodDescriptionChoice.choice(Matcher<T> c1, Matcher<U> c2, Matcher<W> c3, Matcher<Z> c4, Matcher<X> c5, Matcher<G> c6) Choice.choice(Matcher<T> c1, Matcher<U> c2, Matcher<W> c3, Matcher<Z> c4, Matcher<X> c5, Matcher<G> c6, Matcher<H> c7) static <U> Many<U> static <T> Opt<T> Seq.seq(Matcher<T> one, Matcher<U> two, Matcher<W> three, Matcher<Z> four, Matcher<Y> five, Matcher<X> six) Seq.seq(Matcher<T> one, Matcher<U> two, Matcher<W> three, Matcher<Z> four, Matcher<Y> five, Matcher<X> six, Matcher<G> seven) voidstatic <U> Many<U> Constructors in org.jparsec.combinator with parameters of type MatcherModifierConstructorDescriptionMapOrFail(Matcher<T> that, Function<MatchResult<T>, MatchResult<U>> fn)