Package | Description |
---|---|
eu.bandm.tools.ramus.runtime2 |
Modifier and Type | Method and Description |
---|---|
Parser.Input<D,T> |
Parser.Input.consume()
Advances by one step.
|
Parser.Input<D,T> |
Parser.Output.getNext()
Returns the next input state of this output.
|
static <D,T> Parser.Input<D,T> |
Parser.wrap(Supplier<? extends Parser.Token<D,T>> gen)
Returns a parser input state lazily backed by a generator.
|
Modifier and Type | Method and Description |
---|---|
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.
|
static <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) |
SortedSet<Parser.Input<D,T>> |
Expression.Result.getObstructions() |
Modifier and Type | Method and Description |
---|---|
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.
|
Expression.Result<D,T,A> |
Expression.process(Parser.Input<D,T> in) |
Action<State,SimpleMessage<D>,State> |
Parser.process(Parser.Input<D,T> in,
Action.Visitor<Parser.Output<D,T>,SimpleMessage<D>,Parser.Input<D,T>> errorVisitor) |
Parser.Output<D,T> |
Parser.Output.withNext(Parser.Input<D,T> next) |
Modifier and Type | Method and Description |
---|---|
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.
|
static <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) |
Action<State,SimpleMessage<D>,State> |
Parser.process(Parser.Input<D,T> in,
Action.Visitor<Parser.Output<D,T>,SimpleMessage<D>,Parser.Input<D,T>> errorVisitor) |
static <D,T> Parser<D,T> |
Parser.succeed(Function<? super Parser.Input<D,T>,? extends Update<SimpleMessage<D>>> effect)
Returns a parser that succeeds with the given state-dependent effect,
consuming no tokens.
|
Constructor and Description |
---|
Output(Update<SimpleMessage<D>> effect,
Parser.Input<D,T> next) |
Constructor and Description |
---|
Result(SortedSet<Parser.Input<D,T>> obstructions,
List<Map.Entry<A,List<SimpleMessage<D>>>> results) |
see also the complete user documentation .