Uses of Interface
eu.bandm.tools.ramus.ogma.Data
Packages that use Data
Package
Description
Dynamic building blocks for recursive-descent parsers.
-
Uses of Data in eu.bandm.tools.ramus.ogma
Methods in eu.bandm.tools.ramus.ogma that return DataModifier and TypeMethodDescriptiondefault DataAdds an element to a list.Extract data from a state.static DataWraps an atomic value.static <D,T> Data Wraps a copy of a lexical token.static <D,T> Data Wraps a lexical token.default <A> DataTransforms a wrapped atomic value with a given function.default DataData.get()Returns the present content of an optional value.Returns the current value assigned to the given key.Returns the current value assigned to the given key.Returns the value associated with the given key in the table.final DataFragment.getInitialValue()Returns the initial value for the result of this fragment.Environment.getValue()Returns the current accumulator value.ReducerFactory.Context.getValue()Returns the current accumulator value.State.getValue()Returns the accumulator value of this state.static DataMarks a value as optional and present.default <A,B> Data Transforms a wrapped atomic value with a given function.static DataData.none()Returns an empty optional value.default DataReturns the present content of an optional value or a default.default DataReturns the present content of an optional value or a default.static DataCombines two data elements into a pair.static DataCombines zero or more data elements into a sequence.static DataMarks a value with a numerical tag.default DataData.untag()Returns the content of a tagged value.default DataData.untag(int expectedTotal) Returns the content of a tagged value out of the given number of choices.Methods in eu.bandm.tools.ramus.ogma that return types with arguments of type DataModifier and TypeMethodDescriptionData.asList()Unwraps a list to its elements.State.getTable()Returns the key–value table of this state.static UnaryOperator<Data> Data.tag(int index, int total) Returns a function that marks values with a numerical tag.Methods in eu.bandm.tools.ramus.ogma with parameters of type DataModifier and TypeMethodDescriptiondefault DataAdds an element to a list.Returns 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 DataMarks a value as optional and present.default DataReturns the present content of an optional value or a default.static DataCombines two data elements into a pair.static <M> Update<M> Returns an update that enters a new scope and maps the given key to the given value.voidSets the current value assigned to the given key.static DataCombines zero or more data elements into a sequence.static <M> Update<M> Returns an update that maps the given key to the given value.voidSets the current accumulator value.static <M> Update<M> Returns an update that sets the accumulator to the given value.static DataMarks a value with a numerical tag.Returns the unwrapped interpretation of the given data according to this view.Returns the unwrapped interpretation of the given data according to this view.Returns a variant of this state that maps the given key to the given value in the table.Wraps the behavior of this parser in a local scope for a semantic variable.final <D,T> Parser <D, T> Wraps the behavior of a given parser in a local scope for a semantic variable.Returns a new state with the given accumulator value.Method parameters in eu.bandm.tools.ramus.ogma with type arguments of type DataModifier 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.Parser.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.Parser.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.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.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.default <A> DataTransforms a wrapped atomic value with a given function.Parser.map(UnaryOperator<Data> transform) Adds a final transformation of the result value to the behavior of this parser.final <D,T> Parser <D, T> ParserFactory.map(Parser<D, T> body, UnaryOperator<Data> transform) Adds a final transformation of the result value to the behavior of a given parser.Returns a new state with the accumulator value transformed by a given function.Returns a new state with the accumulator value transformed by a given function.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> Returns an update that performs a pair of updates, and combines their resulting accumulator values.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.default DataReturns the present content of an optional value or a default.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> Update.setEntries(Map<Object, ? extends Data> entries) Returns an update that maps the given keys to the given values simultaneously.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.Wraps the behavior of this parser in a local scope for a set of semantic variables.final <D,T> Parser <D, T> Wraps the behavior of a given in a local scope for a set of semantic variables.Constructors in eu.bandm.tools.ramus.ogma with parameters of type Data