Uses of Enum Class
eu.bandm.tools.ramus.ogma.Parser.Pragma
Packages that use Parser.Pragma
Package
Description
Dynamic building blocks for recursive-descent parsers.
-
Uses of Parser.Pragma in eu.bandm.tools.ramus.ogma
Fields in eu.bandm.tools.ramus.ogma declared as Parser.PragmaMethods in eu.bandm.tools.ramus.ogma that return Parser.PragmaModifier and TypeMethodDescriptionParser.Pragma.excludeFrom(Parser.Pragma... pragmas) Returns a modified copy of a given array of pragmas that excludes this pragma.ReadingFactory.OperatorTemplate.getPragmas()Returns the parser pragmas.static Parser.PragmaReturns the enum constant of this class with the specified name.static Parser.Pragma[]Parser.Pragma.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in eu.bandm.tools.ramus.ogma that return types with arguments of type Parser.PragmaModifier and TypeMethodDescriptionFactory.Configuration.getGlobalPragmas()Returns the parsing pragmas that are in effect globally.Methods in eu.bandm.tools.ramus.ogma with parameters of type Parser.PragmaModifier and TypeMethodDescriptionParser.andThen(Parser<D, T> other, Parser.Pragma... pragmas) Follows the behavior of this parser sequentially with another.Parser.andThenCombining(Parser<D, T> other, Action.BiContinuation<Data, Data, Data, SimpleMessage<D>, State> combiner, Parser.Pragma... pragmas) Follows the behavior of this parser sequentially with another, combining the result values.final <D,T> Parser <D, T> ParserFactory.andThenCombining(Parser<D, T> first, Parser<D, T> second, Action.BiContinuation<Data, Data, Data, SimpleMessage<D>, State> combiner, Parser.Pragma... pragmas) Follows the behavior of one parser sequentially with another, combining the result values.Parser.closeAndRepeat(Parser.Pragma... pragmas) Returns a parser that behaves like this parser if consumed input is followed by more input of the same syntax.Reading.closeAndRepeat(Parser.Pragma... pragmas) Parser.closeAndTerminate(T endType, Parser.Pragma... pragmas) Returns a parser that behaves like this parser if consumed input is followed by the specified token type.Reading.closeAndTerminate(T endType, Parser.Pragma... pragmas) Parser.Pragma.excludeFrom(Parser.Pragma... pragmas) Returns a modified copy of a given array of pragmas that excludes this pragma.static <D,T> Parser <D, T> Parser.fix(UnaryOperator<Parser<D, T>> loop, Parser.Pragma... pragmas) Deprecated.final <D,T> Parser <D, T> ParserFactory.fix(UnaryOperator<Parser<D, T>> loop, Parser.Pragma... pragmas) Computes the fixpoint of a recursive parser definition.final <D,T> Parser <D, T> ParserFactory.fix(UnaryOperator<Parser<D, T>> loop, UnaryOperator<Parser<D, T>> polish, Parser.Pragma... pragmas) booleanParser.Pragma.isOneOf(Parser.Pragma... pragmas) Checks whether this pragma is included in the given array.booleanParser.Pragma.isOneOf(Collection<Parser.Pragma> globalPragmas, Parser.Pragma... localPragmas) static <D,T, A> Reading <D, T, A> Reading.lookahead(Map<T, Reading<D, T, ? extends A>> map, Parser.Pragma... pragmas) Deprecated.UseReadingFactory.lookahead(Map, Parser.Pragma[])instead.final <D,T, A> Reading <D, T, A> ReadingFactory.lookahead(Map<T, Reading<D, T, ? extends A>> map, Parser.Pragma... pragmas) Returns a reading that chooses from the given readings according to the type of the next token.static <D,T> Parser <D, T> Parser.lookup(Map<T, Parser<D, T>> alts, Parser.Pragma... pragmas) Deprecated.UseParserFactory.lookup(Map, Pragma[])instead.static <D,T> Parser <D, T> Parser.lookup(Map<T, Parser<D, T>> alts, Parser<D, T> otherwise, Parser.Pragma... pragmas) Deprecated.UseParserFactory.lookup(Map, Parser, Pragma[])instead.final <D,T> Parser <D, T> ParserFactory.lookup(Map<T, Parser<D, T>> alts, Parser.Pragma... pragmas) Alternates the behavior of several parsers in deterministic choice, depending on the next input token.final <D,T> Parser <D, T> ParserFactory.lookup(Map<T, Parser<D, T>> alts, Parser<D, T> otherwise, Parser.Pragma... pragmas) Alternates the behavior of several parsers in deterministic choice, depending on the next input token.Parser.optional(Parser.Pragma... pragmas) Returns a parser that behaves like this parser, or alternatively does nothing.Reading.optional(Parser.Pragma... pragmas) Returns a reading that matches the syntax of this reading with optional interpretation, or otherwise matches no input.Reading.optionalOrElse(Parser<D, T> defaultSyntax, Parser.Pragma... pragmas) Returns a reading that matches the syntax of this reading with optional interpretation, or otherwise match some alternative syntax.Reading.optionalOrElse(T defaultType, Parser.Pragma... pragmas) Returns a reading that matches the syntax of this reading with optional interpretation, or otherwise match a single token.Parser.optionalTagged(Parser.Pragma... pragmas) Returns a parser that behaves like this parser, or alternatively does nothing, setting a corresponding result value.Parser.optionalTagged(Parser<D, T> defaultBranch, Parser.Pragma... pragmas) Returns a parser that behaves like this parser, or some alternative without result value.Parser.orElse(Parser<D, T> other, Parser.Pragma... pragmas) Alternates the behavior of this parser with another in nondeterministic choice.Reading.orElse(A defaultValue, Parser.Pragma... pragmas) Returns a reading that matches the syntax of this reading with the same interpretation, or otherwise matches no input with the given default result value.Returns a reading that matches alternatively the syntax of this or another reading, with the respective interpretation result.Reading.orElseGet(Supplier<? extends A> defaultValue, Parser.Pragma... pragmas) Returns a reading that matches the syntax of this reading with the same interpretation, or otherwise matches no input with the given default result value.Parser.plus(Parser.Pragma... pragmas) Returns a parser that behaves as the sequential iteration of this parser, one or more times.Reading.plus(Parser.Pragma... pragmas) Returns a reading that matches one or more repetitions of this reading.Reading.plus(Parser<D, T> sep, Parser.Pragma... pragmas) Returns a reading that matches one or more repetitions of this reading with intervening separator syntax.Reading.plus(T sep, Parser.Pragma... pragmas) Returns a reading that matches one or more repetitions of this reading with intervening simple separator syntax.Parser.plusSequence(Parser.Pragma... pragmas) Returns a parser that behaves as the sequential iteration of this parser, one or more times, and collects the result values in a sequence.Parser.plusSequence(Parser<D, T> separator, Parser.Pragma... pragmas) Returns a parser that behaves as the sequential iteration of this parser, one or more times, interspersed with a separator parser, and collects the result values in a sequence.ReadingFactory.OperatorTemplate.setPragmas(Parser.Pragma... pragmas) Sets the parser pragmas.Parser.star(Parser.Pragma... pragmas) Returns a parser that behaves as the sequential iteration of this parser, zero or more times.Reading.star(Parser.Pragma... pragmas) Returns a reading that matches zero or more repetitions of this reading.Reading.star(Parser<D, T> sep, Parser.Pragma... pragmas) Returns a reading that matches zero or more repetitions of this reading with intervening separator syntax.Reading.star(T sep, Parser.Pragma... pragmas) Returns a reading that matches zero or more repetitions of this reading with intervening simple separator syntax.Parser.starSequence(Parser.Pragma... pragmas) Returns a parser that behaves as the sequential iteration of this parser, zero or more times, and collects the result values in a sequence.Parser.starSequence(Parser<D, T> separator, Parser.Pragma... pragmas) Returns a parser that behaves as the sequential iteration of this parser, zero or more times, interspersed with a separator parser, and collects the result values in a sequence.Parser.whenFollowedBy(Predictor<T> following, Parser.Pragma... pragmas) Returns a parser that behaves like this parser if consumed input is followed by the specified token types.default Factory.ConfigurationFactory.Configuration.withAddedGlobalPragmas(Parser.Pragma... pragmas) Returns a variant of this configuration with also the given global parsing pragmas.default Factory.ConfigurationFactory.Configuration.withGlobalPragmas(Parser.Pragma... pragmas) Returns a variant of this configuration with just the given global parsing pragmas.Method parameters in eu.bandm.tools.ramus.ogma with type arguments of type Parser.PragmaModifier and TypeMethodDescriptionbooleanParser.Pragma.isOneOf(Collection<Parser.Pragma> pragmas) Checks whether this pragma is included in the given collection.booleanParser.Pragma.isOneOf(Collection<Parser.Pragma> globalPragmas, Parser.Pragma... localPragmas)
ParserFactory.fix(UnaryOperator, Pragma[])instead.