Uses of Class
eu.bandm.tools.ramus.ogma.State
Packages that use State
Package
Description
Dynamic building blocks for recursive-descent parsers.
-
Uses of State in eu.bandm.tools.ramus.ogma
Methods in eu.bandm.tools.ramus.ogma that return StateModifier and TypeMethodDescriptionReturns a variant of this state with the given value appended as an element to the list accumulator value.Returns a variant of this state with the given value appended as an element to the list associated with the given key.static StateState.initial()Returns an initial state.Returns a new state with the accumulator value transformed by a given function.State.pop()Returns a variant of this state where a nested scope has been left and discarded.State.push()Returns a variant of this state where a new scope has been entered.Returns a variant of this state with the given key removed from the table.Returns a variant of this state with the given keys removed from the table.State.removeAll(Collection<? extends Object> keys) Returns a variant of this state with the given keys removed from the table.State.withEntries(Map<?, ? extends Data> entries) Returns a variant of this state that maps the given keys to the given values in the table simultaneously.Returns a variant of this state that maps the given key to the given value in the table.Returns a new state with the given accumulator value.Methods in eu.bandm.tools.ramus.ogma that return types with arguments of type StateModifier and TypeMethodDescriptionSet<Reading.Item<D, State>> Reading.Result.getSemanticObstructions()Deprecated, for removal: This API element is subject to removal in a future version.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) 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.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.Methods in eu.bandm.tools.ramus.ogma with parameters of type StateModifier and TypeMethodDescriptionExtract data from a state.ParserFactory.Locator.getLocation(State state) Retrieves recorded location information after tracked parsing.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.Method parameters in eu.bandm.tools.ramus.ogma with type arguments of type StateModifier and TypeMethodDescriptionParser.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.Returns a parser that extends the behavior of this parser with a mandatory check and conditional error diagnostics.Returns a parser that extends the behavior of this parser with a mandatory check and conditional error diagnostics.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> Update.lift(Action.Continuation<? super State, State, M, State> cont) Returns an update that performs the given continuation.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> 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.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.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> Returns an update that performs a pair of updates, and combines their resulting accumulator values.Parser.postprocess(Action.Continuation<State, State, SimpleMessage<D>, State> cont) Appends an ad-hoc continuation to the semantic effect of this parser.Parser.postprocess(Action.Continuation<State, State, SimpleMessage<D>, State> cont) Appends an ad-hoc continuation to the semantic effect of this parser.Parser.postprocess(Action.Continuation<State, State, SimpleMessage<D>, State> cont) Appends an ad-hoc continuation to the semantic effect of this parser.Parser.postprocess(Action.Continuation<State, State, SimpleMessage<D>, State> cont, String description) Appends an ad-hoc continuation to the semantic effect of this parser.Parser.postprocess(Action.Continuation<State, State, SimpleMessage<D>, State> cont, String description) Appends an ad-hoc continuation to the semantic effect of this parser.Parser.postprocess(Action.Continuation<State, State, SimpleMessage<D>, State> cont, String description) Appends an ad-hoc continuation to the semantic effect of this parser.Parser.postprocess(Action.Continuation<State, State, SimpleMessage<D>, State> cont, Supplier<String> description) Appends an ad-hoc continuation to the semantic effect of this parser.Parser.postprocess(Action.Continuation<State, State, SimpleMessage<D>, State> cont, Supplier<String> description) Appends an ad-hoc continuation to the semantic effect of this parser.Parser.postprocess(Action.Continuation<State, State, SimpleMessage<D>, State> cont, Supplier<String> description) Appends an ad-hoc continuation to the semantic effect of this parser.