Uses of Class
eu.bandm.tools.ramus.ogma.Update
Packages that use Update
Package
Description
Dynamic building blocks for recursive-descent parsers.
-
Uses of Update in eu.bandm.tools.ramus.ogma
Methods in eu.bandm.tools.ramus.ogma that return UpdateModifier and TypeMethodDescriptionstatic <M> Update<M> Returns an update that copies the value currently assigned to the given key to the accumulator.static <M> Update<M> Returns an update that adds the current accumulator value as an element to the sequence assigned to the given key.Returns an update that performs the effect of this and a given other update in sequence.static <M> Update<M> Returns an update that assigns the current accumulator value to the given key.static <M> Update<M> Returns an update that tries the given alternatives in order.static <M> Update<M> Update.diagnose(M... messages) Returns an update that attaches the given messages.Output.getEffect()Returns the effect on semantic parsing state of this output.static <M> Update<M> Update.identity()Returns an update that has no effect.Update.ignoringResult()Returns an update that behaves like this update, but does not change the accumulator value.static <M> Update<M> Update.lift(Action.Continuation<? super State, State, M, State> cont) Returns an update that performs the given continuation.static <M> Update<M> Returns an update that performs the given continuation.static <M> Update<M> Update.lift(Action.Continuation<? super State, State, M, State> cont, Supplier<@Opt String> description) Returns an update that performs the given continuation.static <M> Update<M> Update.map(UnaryOperator<Data> op) Returns an update that purely transforms the accumulator value with a given function.static <M> Update<M> Returns an update that performs a pair of updates, and combines their resulting accumulator values.static <M> Update<M> Update.merge(BinaryOperator<Data> op, Update<M> first, Update<M> second) Returns an update that performs a pair of updates, and combines their resulting accumulator values.static <M> Update<M> Update.pop()Returns an update that leaves and discards the most recent scope.static <M> Update<M> Update.push()Returns an update that enters a new scope.static <M> Update<M> Update.pushEntries(Map<?, ? extends Data> entries) Returns an update that enters a new scope and maps the given keys to the given values simultaneously.static <M> Update<M> Returns an update that enters a new scope and maps the given key to the given value.static <M> Update<M> Update.reject()Returns an update that fails and refers to the current state as obstruction.static <M> Update<M> Returns an update that removes the assignment to the given key.static <M> Update<M> Returns an update that removes the assignments to the given keys.static <M> Update<M> Update.removeAll(Collection<?> keys) Returns an update that removes the assignments to the given keys.static <M> Update<M> Update.setEntries(Map<Object, ? extends Data> entries) Returns an update that maps the given keys to the given values simultaneously.static <M> Update<M> Returns an update that maps the given key to the given value.static <M> Update<M> Returns an update that sets the accumulator to the given value.Update.withCallerLocation(@Opt Location<String> callerLocation) Sets the caller location for the construction context of this update.Methods in eu.bandm.tools.ramus.ogma with parameters of type UpdateModifier and TypeMethodDescriptionReturns an update that performs the effect of this and a given other update in sequence.static <M> Update<M> Returns an update that tries the given alternatives in order.static <M> Update<M> Returns an update that performs a pair of updates, and combines their resulting accumulator values.static <M> Update<M> Update.merge(BinaryOperator<Data> op, Update<M> first, Update<M> second) Returns an update that performs a pair of updates, and combines their resulting accumulator values.Parser.postprocess(Update<SimpleMessage<D>> effect) Appends to the semantic effect of this parser.final <D,T> Parser <D, T> ParserFactory.postprocess(Parser<D, T> body, Update<SimpleMessage<D>> effect) Appends to the semantic effect of a given parser.static <D,T> Parser <D, T> Parser.succeed(Update<SimpleMessage<D>> effect) Deprecated.final <D,T> Parser <D, T> ParserFactory.succeed(Update<SimpleMessage<D>> effect) Returns a parser that succeeds with the given effect, consuming no tokens.Input.transitionBy(Update<SimpleMessage<D>> effect) Returns an output specifying the given effect and this input as the remainder.Output.withEffect(Update<SimpleMessage<D>> effect) Returns a variant of this output with the given semantic effect.Output.withPostEffect(Update<SimpleMessage<D>> postEffect) Returns a variant of this output with the given semantic post-effect.Output.withPreEffect(Update<SimpleMessage<D>> preEffect) Returns a variant of this output with the given semantic pre-effect.Method parameters in eu.bandm.tools.ramus.ogma with type arguments of type UpdateModifier and TypeMethodDescriptionOutput.mapEffect(Function<? super Update<SimpleMessage<D>>, ? extends Update<SimpleMessage<D>>> fun) Returns a variant of this output with the semantic effect tranformed by a given function.Output.mapEffect(Function<? super Update<SimpleMessage<D>>, ? extends Update<SimpleMessage<D>>> fun) Returns a variant of this output with the semantic effect tranformed by a given function.static <D,T> Parser <D, T> Parser.succeedGivenInput(Function<? super Input<D, T>, ? extends Update<SimpleMessage<D>>> effect) Deprecated.UseParserFactory.succeedGivenInput(Function)instead.final <D,T> Parser <D, T> ParserFactory.succeedGivenInput(Function<? super Input<D, T>, ? extends Update<SimpleMessage<D>>> effect) Returns a parser that succeeds with the given state-dependent effect, consuming no tokens.Constructors in eu.bandm.tools.ramus.ogma with parameters of type Update
ParserFactory.succeed(Update)instead.