Uses of Class
eu.bandm.tools.ramus.runtime2.Action
Packages that use Action
-
Uses of Action in eu.bandm.tools.ramus.runtime2
Subclasses of Action in eu.bandm.tools.ramus.runtime2Modifier and TypeClassDescriptionclassBlockage<R,M, O> final classChoice<R,M, O> Choice node class of the parsing search-tree monad.classDiagnosis<R,M, O> final classSuccess<R,M, O> Leaf node class of the parsing search-tree monad.Methods in eu.bandm.tools.ramus.runtime2 that return ActionModifier and TypeMethodDescriptionApplies this continuation, possibly using a recyclable leaf node.Applies this continuation, ignoring any recyclable leaf node.Applies this continuation, possibly using a recyclable leaf node.abstract Action<Parser.Output<D, T>, SimpleMessage<D>, Parser.Input<D, T>> Parser.apply(Parser.Input<D, T> in, Success<?, SimpleMessage<D>, Parser.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).Blockage.bind(Action.Continuation<? super R, S, M, O> cont) Choice.bind(Action.Continuation<? super R, S, M, O> cont) Diagnosis.bind(Action.Continuation<? super R, S, M, O> cont) 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 <D,T> Action <Parser.Output<D, T>, SimpleMessage<D>, Parser.Input<D, T>> Parser.diagnoseUnexpectedToken(Action<Parser.Output<D, T>, SimpleMessage<D>, Parser.Input<D, T>> body, Location<D> location, @Opt String description) 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.Diagnosis.getBody()Applies a function to all leaves of this search tree (transition operation).static <R,M, O> Action <R, M, O> static <R,S, M, O>
Action<R, M, O> Parser.process(Parser.Input<D, T> in, Action.Visitor<Parser.Output<D, T>, SimpleMessage<D>, Parser.Input<D, T>> errorVisitor) Action.prune()Simplifies this search tree by removing redundant choice nodes and all obstructions (transition operation).Blockage.prune()Choice.prune()Diagnosis.prune()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> Creates a search tree with a single leaf, possibly using a recyclable leaf node.Methods in eu.bandm.tools.ramus.runtime2 that return types with arguments of type ActionMethods in eu.bandm.tools.ramus.runtime2 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 <Parser.Output<D, T>, SimpleMessage<D>, Parser.Input<D, T>> Parser.diagnoseUnexpectedToken(Action<Parser.Output<D, T>, SimpleMessage<D>, Parser.Input<D, T>> body, Location<D> location, @Opt String description) 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> Choice <R, M, O> Method parameters in eu.bandm.tools.ramus.runtime2 with type arguments of type ActionModifier and TypeMethodDescriptionstatic <R,S, T, M, O>
Action.BiContinuation<R, S, T, M, O> Action.BiContinuation.forget(BiFunction<? super R, ? super S, ? extends Action<T, M, O>> fun) Lifts a monadic function on parsing results to a continuation.static <R,S, M, O>
Action.Continuation<R, S, M, O> Lifts a monadic function on parsing results to a continuation.protected <Q> booleanAdds a pruned variant of this search subtree to a list of choice alternatives.protected <Q> booleanConstructors in eu.bandm.tools.ramus.runtime2 with parameters of type Action