Uses of Class
eu.bandm.tools.ramus.ogma.Action
Packages that use Action
Package
Description
Dynamic building blocks for recursive-descent parsers.
-
Uses of Action in eu.bandm.tools.ramus.ogma
Subclasses of Action in eu.bandm.tools.ramus.ogmaModifier and TypeClassDescriptionstatic final classAction.Success<R,M, O> Leaf node class of the parsing search-tree monad.Methods in eu.bandm.tools.ramus.ogma that return ActionModifier and TypeMethodDescriptionApplies this continuation, possibly using a recyclable leaf node.Applies this continuation without using any recyclable leaf node.Applies this continuation, possibly using a recyclable leaf node.Parser.apply(Input<D, T> in, Action.Success<?, SimpleMessage<D>, Input<D, T>> recyclable) Applies this continuation, possibly using a recyclable leaf node.Action.bind(Action.Continuation<? super R, S, M, O> cont) Applies a monadic continuation to all leaves of this search tree (transition operation).Action.Success.bind(Action.Continuation<? super R, S, M, O> cont) Applies a monadic continuation to all leaves of this search tree (transition operation).static <R,M, O> Action <R, M, O> Creates a search tree from a choice of alternative subtreesstatic <R,M, O> Action <R, M, O> Creates a search tree from a choice of alternative subtreesstatic <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.static <R,M, O> Action <R, M, O> Creates a search tree with diagnostic message attached to the root.static <R,M, O> Action <R, M, O> Creates a search tree with diagnostic message attached to the root.static <R,M, O> Action <R, M, O> Action.fail()Creates a search tree with no alternatives.static <R,M, O> Action <R, M, O> Action.fail(O obstruction) Creates a search tree with no alternatives but an obstruction.Applies a function to all leaves of this search tree (transition operation).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.Action.prune()Simplifies this search tree by removing redundant choice nodes and all obstructions (transition operation).Action.Success.prune()static <R,M, O> Action <R, M, O> Action.succeed(R result) Creates a search tree with a single leaf.static <R,M, O> Action <R, M, O> Action.succeed(R result, @Opt Action.Success<?, M, O> recyclable) Creates a search tree with a single leaf, possibly using a recyclable leaf node.Methods in eu.bandm.tools.ramus.ogma with parameters of type ActionModifier and TypeMethodDescriptionstatic <R,M, O> Action <R, M, O> Creates a search tree from a choice of alternative subtreesstatic <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.static <R,M, O> Action <R, M, O> Creates a search tree with diagnostic message attached to the root.static <R,M, O> Action <R, M, O> Creates a search tree with diagnostic message attached to the root.Method parameters in eu.bandm.tools.ramus.ogma with type arguments of type Action