Package | Description |
---|---|
eu.bandm.tools.ramus.runtime2 |
Modifier and Type | Class and Description |
---|---|
class |
AtomicData<T> |
class |
Content<D,T> |
class |
Option |
class |
Pair |
class |
Sequence |
class |
Tagged |
static class |
Test.Hello |
Modifier and Type | Method and Description |
---|---|
Data |
State.access(Object key) |
Data |
Option.get() |
Data |
Reducer.Context.get(Object key) |
Data |
Environment.get(Object key) |
Data |
State.get(Object key) |
Data |
State.Projection.get(State state) |
Data |
Fragment.getInitialValue() |
Data |
Option.getOrElse(Data defaultValue) |
abstract Data |
Option.getOrElse(Supplier<? extends Data> defaultValue) |
Data |
Tagged.getValue() |
Data |
Reducer.Context.getValue() |
Data |
Environment.getValue() |
Data |
State.getValue() |
Modifier and Type | Method and Description |
---|---|
static Pattern<Data> |
DataPatterns.absent(Pattern<Data> body) |
List<Data> |
Sequence.asList() |
static <A> Pattern<Data> |
DataPatterns.atomic(Class<A> cls,
Pattern<? super A> body) |
static <M> Action.BiContinuation<Data,Data,Data,M,State> |
Update.collectOp(BiFunction<? super Data,? super Data,? extends M> error) |
static <M> Action.BiContinuation<Data,Data,Data,M,State> |
Update.collectOp(BiFunction<? super Data,? super Data,? extends M> error) |
static <M> Action.BiContinuation<Data,Data,Data,M,State> |
Update.collectOp(BiFunction<? super Data,? super Data,? extends M> error) |
static <T> Pattern<Data> |
DataPatterns.content(Class<T> types,
Pattern<? super T> type) |
static <T> Pattern<Data> |
DataPatterns.content(Class<T> types,
Pattern<? super T> type,
Pattern<? super String> text) |
static Pattern<Data> |
DataPatterns.content(Object type) |
Map<Object,Data> |
State.getTable() |
Iterator<Data> |
Sequence.iterator() |
static Pattern<Data> |
DataPatterns.present(Pattern<Data> body) |
static Function<Data,Data> |
Tagged.tag(int index,
int total) |
static Function<Data,Data> |
Tagged.tag(int index,
int total) |
static Pattern<Data> |
DataPatterns.tuple(List<? extends Pattern<? super Data>> elems) |
static Pattern<Data> |
DataPatterns.tuple(Pattern<? super Data>... elems) |
Modifier and Type | Method and Description |
---|---|
Sequence |
Sequence.add(Data elem) |
State |
State.add(Data value) |
State |
State.add(Object key,
Data value) |
State |
State.assign(Object key,
Data value) |
static <D,T> Parser<D,T> |
Parser.constant(Data value)
Returns a parser that succeeds and sets the result to the given value,
consuming no tokens.
|
Data |
Option.getOrElse(Data defaultValue) |
static Option |
Option.just(Data value) |
State |
State.pushEntry(Object key,
Data value) |
static <M> Update<M> |
Update.pushEntry(Object key,
Data value) |
void |
Reducer.Context.put(Object key,
Data value) |
static <M> Update<M> |
Update.setEntry(Object key,
Data value) |
void |
Reducer.Context.setValue(Data value) |
static <M> Update<M> |
Update.setValue(Data value) |
A |
Data.View.view(Data x) |
A |
Data.View.Proxy.view(Data x) |
State |
State.withEntry(Object key,
Data value) |
Parser<D,T> |
Parser.withScope(Object key,
Data initializer)
Wraps the behavior of this parser in a local scope for a semantic
variable.
|
State |
State.withValue(Data value) |
Modifier and Type | Method and Description |
---|---|
static Pattern<Data> |
DataPatterns.absent(Pattern<Data> body) |
Parser<D,T> |
Parser.andThenCombining(Parser<D,T> other,
Action.BiContinuation<Data,Data,Data,SimpleMessage<D>,State> combiner)
Follows the behavior of this parser sequentially with another, combining
the result values.
|
Parser<D,T> |
Parser.andThenCombining(Parser<D,T> other,
Action.BiContinuation<Data,Data,Data,SimpleMessage<D>,State> combiner)
Follows the behavior of this parser sequentially with another, combining
the result values.
|
Parser<D,T> |
Parser.andThenCombining(Parser<D,T> other,
Action.BiContinuation<Data,Data,Data,SimpleMessage<D>,State> combiner)
Follows the behavior of this parser sequentially with another, combining
the result values.
|
static <M> Action.BiContinuation<Data,Data,Data,M,State> |
Update.collectOp(BiFunction<? super Data,? super Data,? extends M> error) |
static <M> Action.BiContinuation<Data,Data,Data,M,State> |
Update.collectOp(BiFunction<? super Data,? super Data,? extends M> error) |
abstract Data |
Option.getOrElse(Supplier<? extends Data> defaultValue) |
<A> List<A> |
Sequence.map(Function<? super Data,? extends A> fun) |
State |
State.map(Function<? super Data,? extends Data> op) |
State |
State.map(Function<? super Data,? extends Data> op) |
Parser<D,T> |
Parser.map(Function<Data,Data> transform)
Adds a final transformation of the result value to the behavior of this
parser.
|
Parser<D,T> |
Parser.map(Function<Data,Data> transform)
Adds a final transformation of the result value to the behavior of this
parser.
|
static <M> Update<M> |
Update.map(Function<Data,Data> op) |
static <M> Update<M> |
Update.map(Function<Data,Data> op) |
static <M> Update<M> |
Update.merge(Action.BiContinuation<Data,Data,Data,M,State> op,
Update<M> first,
Update<M> second) |
static <M> Update<M> |
Update.merge(Action.BiContinuation<Data,Data,Data,M,State> op,
Update<M> first,
Update<M> second) |
static <M> Update<M> |
Update.merge(Action.BiContinuation<Data,Data,Data,M,State> op,
Update<M> first,
Update<M> second) |
static Pattern<Data> |
DataPatterns.present(Pattern<Data> body) |
State |
State.pushEntries(Map<Object,? extends Data> entries) |
static <M> Update<M> |
Update.pushEntries(Map<Object,? extends Data> entries) |
static <M> Update<M> |
Update.setEntries(Map<Object,? extends Data> entries) |
static Pattern<Data> |
DataPatterns.tuple(List<? extends Pattern<? super Data>> elems) |
State |
State.withEntries(Map<Object,? extends Data> entries) |
Parser<D,T> |
Parser.withScope(Map<Object,? extends Data> initializers)
Wraps the behavior of this parser in a local scope for a set of semantic
variables.
|
Expression<D,T,A> |
Expression.withScope(Map<Object,? extends Data> initializers) |
Constructor and Description |
---|
Fragment(Object key,
Data initialValue,
Parser<D,T> syntax,
Data.View<A> semantics) |
Hello(Data who) |
Pair(Data first,
Data second) |
Sequence(Data... elems) |
Tagged(int index,
int total,
Data value) |
see also the complete user documentation .