P - pipeline parser typepublic final class PipelineComponent<P extends Parser>
extends org.panda_lang.utilities.commons.collection.Component<P>
| Modifier and Type | Method and Description |
|---|---|
static io.vavr.control.Option<PipelineComponent<Parser>> |
get(String name)
Get component with the given name
|
static <T extends Parser> |
of(String name,
Class<T> type)
Create component
|
String |
toString() |
public String toString()
public static <T extends Parser> PipelineComponent<T> of(String name, Class<T> type)
T - generic type of componentname - the name of componenttype - the type of componentpublic static io.vavr.control.Option<PipelineComponent<Parser>> get(String name)
name - the name to search forCopyright © 2020. All rights reserved.