| Package | Description |
|---|---|
| org.panda_lang.framework.design.interpreter.parser.pipeline | |
| org.panda_lang.framework.language.interpreter.parser.pipeline |
| Modifier and Type | Field and Description |
|---|---|
static PipelineComponent<ContextParser> |
Pipelines.ALL
All pipelines
|
static PipelineComponent<ContextParser> |
Pipelines.HEAD
Head pipeline
|
static PipelineComponent<ContextParser> |
Pipelines.SCOPE
Scope parsers
|
static PipelineComponent<ContextParser> |
Pipelines.TYPE
Class type parsers, used by type parser
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Parser> |
PipelineComponent.of(Class<? extends PipelineComponents> container,
String name,
Class<T> type)
Create component
|
| Modifier and Type | Method and Description |
|---|---|
default Collection<PipelineComponent<?>> |
PipelineComponents.collectPipelineComponents()
Collect pipeline components
|
static io.vavr.control.Option<PipelineComponent<Parser>> |
PipelineComponent.get(String name)
Get component with the given name
|
| Modifier and Type | Method and Description |
|---|---|
<P extends Parser> |
PipelinePath.createPipeline(PipelineComponent<P> component)
Create a new pipeline based on the given component
|
<P extends Parser> |
PipelinePath.getPipeline(PipelineComponent<P> component)
Get pipeline using the given component
|
boolean |
PipelinePath.hasPipeline(PipelineComponent<?> component)
Check if path contains the given pipeline
|
| Modifier and Type | Method and Description |
|---|---|
<P extends Parser> |
PandaPipelinePath.createPipeline(PipelineComponent<P> component) |
<P extends Parser> |
PandaPipelinePath.getPipeline(PipelineComponent<P> component) |
boolean |
PandaPipelinePath.hasPipeline(PipelineComponent<?> component) |
| Constructor and Description |
|---|
PipelineParser(PipelineComponent<T> component,
Context context) |
PipelineParser(PipelineComponent<T> component,
SourceStream source,
Context context) |
Copyright © 2020. All rights reserved.