Uses of Class
eu.bandm.tools.ramus.ogma.Output
Packages that use Output
Package
Description
Dynamic building blocks for recursive-descent parsers.
-
Uses of Output in eu.bandm.tools.ramus.ogma
Methods in eu.bandm.tools.ramus.ogma that return OutputModifier 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.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.Returns a variant of this output with the given next input state.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.Methods in eu.bandm.tools.ramus.ogma that return types with arguments of type OutputModifier and TypeMethodDescriptionParser.apply(Input<D, T> in, Action.Success<?, SimpleMessage<D>, Input<D, T>> recyclable) Applies this continuation, possibly using a recyclable leaf node.static <D,T> Action <Output<D, T>, SimpleMessage<D>, Input<D, T>> ParserFactory.diagnoseUnexpectedToken(Action<Output<D, T>, SimpleMessage<D>, Input<D, T>> body, @Opt Location<D> location, @Opt String description) Extends a search tree with an error message regarding an unexpected token.Method parameters in eu.bandm.tools.ramus.ogma with type arguments of type OutputModifier and TypeMethodDescriptionstatic <D,T> Action <Output<D, T>, SimpleMessage<D>, Input<D, T>> ParserFactory.diagnoseUnexpectedToken(Action<Output<D, T>, SimpleMessage<D>, Input<D, T>> body, @Opt Location<D> location, @Opt String description) Extends a search tree with an error message regarding an unexpected token.Parser.process(Input<D, T> input, Action.Visitor<Output<D, T>, SimpleMessage<D>, Input<D, T>> errorVisitor) Processes an input stream with this parser and the default initial semantic state.Parser.process(Input<D, T> input, Action.Visitor<Output<D, T>, SimpleMessage<D>, Input<D, T>> errorVisitor, State initialState) Processes an input stream with this parser and a given initial semantic state.