| Modifier and Type | Field and Description |
|---|---|
static ContextComponent<Channel> |
Components.CHANNEL
Represents the channel between handler and parser
|
| Modifier and Type | Method and Description |
|---|---|
Channel |
Channel.put(String identifier,
Object value)
Put some data in the channel
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable Object |
Handler.handle(Context context,
Channel channel,
Snippet source)
Handle source, possible results:
InterpreterFailure - that will be stored and printed if there is no matching handler
Exception - that will interrupt pipeline
boolean - true/false if matched or not
other/null - illegal return value
|
HandleResult<P> |
Pipeline.handle(Context context,
Channel channel,
Snippet source)
Search for the parser through the pipeline with untouched source
|
| Modifier and Type | Class and Description |
|---|---|
class |
PandaChannel |
| Modifier and Type | Method and Description |
|---|---|
Channel |
PandaChannel.put(String identifier,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
HandleResult<P> |
PandaPipeline.handle(Context context,
Channel channel,
Snippet source) |
Copyright © 2020. All rights reserved.