| Modifier and Type | Method and Description |
|---|---|
static Type |
ModuleLoaderUtils.requireType(Context context,
Class<?> associatedClass) |
static Type |
ModuleLoaderUtils.requireType(Context context,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Context |
Context.fork()
Clone context to a new independent instance
|
Context |
ParserFailure.getContext()
Get associated context
|
<T> Context |
Context.withComponent(ContextComponent<T> componentName,
T component) |
| Modifier and Type | Method and Description |
|---|---|
T |
ContextParser.parse(Context context)
Parse context
|
T |
SourceParser.parse(Context context,
Snippet source)
Parse custom source
|
| Modifier and Type | Method and Description |
|---|---|
Context |
ExpressionContext.getContext()
Get parser context
|
| Modifier and Type | Method and Description |
|---|---|
T |
GenerationTask.call(GenerationCycle cycle,
Context context)
Call task
|
default GenerationPhase |
GenerationPhase.delegate(GenerationTask<?> task,
Context delegated)
Delegate task using
GenerationTaskPriority.DEFAULT |
GenerationPhase |
GenerationPhase.delegate(GenerationTaskPriority priority,
GenerationTask<?> task,
Context delegated)
Delegate task
|
default GenerationPhase |
GenerationPhase.delegateAfter(GenerationTask<?> task,
Context delegated)
Delegate task using
GenerationTaskPriority.AFTER |
default GenerationPhase |
GenerationPhase.delegateBefore(GenerationTask<?> task,
Context delegated)
Delegate task using
GenerationTaskPriority.BEFORE |
| 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 | Method and Description |
|---|---|
static Expression |
ThisExpression.of(Context context) |
| Modifier and Type | Method and Description |
|---|---|
static Type |
PandaImportsUtils.getTypeOrThrow(Context context,
Snippetable nameSource,
String message,
String note) |
static Type |
PandaImportsUtils.getTypeOrThrow(Context context,
String className,
@Nullable Snippet source) |
| Constructor and Description |
|---|
PandaVariableDataInitializer(Context context,
Scope scope) |
| Modifier and Type | Method and Description |
|---|---|
static Optional<String> |
VisibilityComparator.canAccess(Property requested,
Context context) |
static boolean |
VisibilityComparator.requireAccess(Property requested,
Context context,
Snippetable source) |
static boolean |
StateComparator.requireInheritance(Context context,
Type type,
Snippetable source) |
static boolean |
StateComparator.requireInstantiation(Context context,
Type type,
Snippetable source) |
| Modifier and Type | Class and Description |
|---|---|
class |
PandaContext |
| Modifier and Type | Method and Description |
|---|---|
Context |
PandaParserFailure.getContext() |
| Constructor and Description |
|---|
PandaParserFailure(Context context,
Snippetable source,
Snippetable indicated,
String message) |
PandaParserFailure(Context context,
Snippetable source,
Snippetable indicated,
String message,
@Nullable String note) |
PandaParserFailure(Context context,
Snippetable indicated,
String message) |
PandaParserFailure(Context context,
Snippetable indicated,
String message,
@Nullable String note) |
PandaParserFailure(Context context,
String message) |
PandaParserFailure(Context context,
String message,
@Nullable String note) |
PandaParserFailure(Throwable cause,
Context context,
IndicatedSource indicatedSource,
String message,
String note) |
| Modifier and Type | Method and Description |
|---|---|
Context |
PandaExpressionContext.getContext() |
| Modifier and Type | Method and Description |
|---|---|
ExpressionTransaction |
PandaExpressionParser.parse(Context context,
Streamable streamable,
ExpressionParserSettings settings) |
ExpressionTransaction |
PandaExpressionParser.parse(Context context,
Streamable streamable,
ExpressionParserSettings settings,
@Nullable BiConsumer<ExpressionContext,PandaExpressionParserWorker> visitor) |
Optional<ExpressionTransaction> |
PandaExpressionParser.parseSilently(Context context,
Streamable streamable,
ExpressionParserSettings settings) |
| Constructor and Description |
|---|
PandaExpressionContext(ExpressionParser parser,
Context context,
SourceStream source) |
PandaExpressionParserWorker(Context context,
List<PandaExpressionSubparserRepresentation> subparsers) |
| Modifier and Type | Method and Description |
|---|---|
GenerationPhase |
PandaGenerationPhase.delegate(GenerationTaskPriority priority,
GenerationTask<?> task,
Context delegated) |
| Modifier and Type | Method and Description |
|---|---|
HandleResult<P> |
PandaPipeline.handle(Context context,
Channel channel,
Snippet source) |
boolean |
PipelineParser.parse(Context context,
boolean fork)
Parse source using the declared pipeline
|
| Constructor and Description |
|---|
PipelineParser(Pipeline<T> pipeline,
Context context) |
PipelineParser(Pipeline<T> pipeline,
SourceStream stream,
Context context) |
PipelineParser(PipelineComponent<T> component,
Context context) |
PipelineParser(PipelineComponent<T> component,
SourceStream source,
Context context) |
Copyright © 2020. All rights reserved.