D
- the type of source document identifiersT
- the type of token types; typically an enum typepublic static class Parser.Output<D,T> extends Object
Constructor and Description |
---|
Output(Update<SimpleMessage<D>> effect,
Parser.Input<D,T> next) |
Modifier and Type | Method and Description |
---|---|
Update<SimpleMessage<D>> |
getEffect()
Returns the effect on semantic parsing state of this output.
|
Parser.Input<D,T> |
getNext()
Returns the next input state of this output.
|
Parser.Output<D,T> |
mapEffect(Function<? super Update<SimpleMessage<D>>,? extends Update<SimpleMessage<D>>> fun) |
String |
toString() |
Parser.Output<D,T> |
withEffect(Update<SimpleMessage<D>> effect) |
Parser.Output<D,T> |
withNext(Parser.Input<D,T> next) |
Parser.Output<D,T> |
withPostEffect(Update<SimpleMessage<D>> effect) |
Parser.Output<D,T> |
withPreEffect(Update<SimpleMessage<D>> effect) |
public Output(Update<SimpleMessage<D>> effect, Parser.Input<D,T> next)
public Update<SimpleMessage<D>> getEffect()
public Parser.Input<D,T> getNext()
public Parser.Output<D,T> withEffect(Update<SimpleMessage<D>> effect)
public Parser.Output<D,T> withPreEffect(Update<SimpleMessage<D>> effect)
public Parser.Output<D,T> withPostEffect(Update<SimpleMessage<D>> effect)
public Parser.Output<D,T> mapEffect(Function<? super Update<SimpleMessage<D>>,? extends Update<SimpleMessage<D>>> fun)
public Parser.Output<D,T> withNext(Parser.Input<D,T> next)
see also the complete user documentation .