| Modifier and Type | Field and Description |
|---|---|
static ContextComponent<Application> |
Components.APPLICATION
Represents the current application
|
static ContextComponent<Channel> |
Components.CHANNEL
Represents the channel between handler and parser
|
static ContextComponent<FrameworkController> |
Components.CONTROLLER
Represents the framework controller
|
static ContextComponent<Snippet> |
Components.CURRENT_SOURCE
Represents the currently parsed source
|
static ContextComponent<Environment> |
Components.ENVIRONMENT
Represents the application environment
|
static ContextComponent<ExpressionParser> |
Components.EXPRESSION
Represents the main expression parser with all registered subparsers
|
static ContextComponent<Generation> |
Components.GENERATION
Represents the generation
|
static ContextComponent<Imports> |
Components.IMPORTS
Represents imports assigned to the current script
|
static ContextComponent<Interpretation> |
Components.INTERPRETATION
Represents the interpretation process
|
static ContextComponent<PipelinePath> |
Components.PIPELINE
Represents the pipeline path with all registered pipelines
|
static ContextComponent<Scope> |
Components.SCOPE
Represents the current scope
|
static ContextComponent<Script> |
Components.SCRIPT
Represents the current script
|
static ContextComponent<Snippet> |
Components.SOURCE
Represents the current source of script
|
static ContextComponent<SourceSet> |
Components.SOURCES
Represents all sources to parse
|
static ContextComponent<SourceStream> |
Components.STREAM
Represents the current stream of source
|
static ContextComponent<TypeLoader> |
Components.TYPE_LOADER
Represents the application module loader
|
| Modifier and Type | Method and Description |
|---|---|
static <T> ContextComponent<T> |
ContextComponent.of(String name,
Class<T> type)
Create component
|
static <T> ContextComponent<T> |
ContextComponent.of(String name,
Class<T> type,
double priority)
Create component with a custom priority
|
| Modifier and Type | Method and Description |
|---|---|
Map<? extends ContextComponent<?>,? extends Object> |
Context.getComponents() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
Context.getComponent(ContextComponent<T> componentName) |
<T> Context |
Context.withComponent(ContextComponent<T> componentName,
T component) |
| Modifier and Type | Field and Description |
|---|---|
static ContextComponent<Type> |
TypeComponents.PROTOTYPE |
static ContextComponent<TypeScope> |
TypeComponents.PROTOTYPE_SCOPE |
| Modifier and Type | Method and Description |
|---|---|
Map<? extends ContextComponent<?>,? extends Object> |
PandaContext.getComponents() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
PandaContext.getComponent(ContextComponent<T> componentName) |
<T> PandaContext |
PandaContext.withComponent(ContextComponent<T> component,
T value) |
Copyright © 2020. All rights reserved.