public final class PandaGenerationPhase extends Object implements GenerationPhase
| Constructor and Description |
|---|
PandaGenerationPhase(GenerationCycle cycle) |
| Modifier and Type | Method and Description |
|---|---|
void |
callTasks()
Call all tasks delegated to the phase
|
int |
countTasks() |
GenerationPhase |
delegate(GenerationTaskPriority priority,
GenerationTask<?> task,
Context delegated)
Delegate task
|
org.panda_lang.framework.language.interpreter.parser.generation.GenerationUnit |
getCurrentUnit() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdelegate, delegateAfter, delegateBeforepublic PandaGenerationPhase(GenerationCycle cycle)
public void callTasks()
throws Exception
GenerationPhasecallTasks in interface GenerationPhaseException - allows you to handle exception that may occur in taskspublic GenerationPhase delegate(GenerationTaskPriority priority, GenerationTask<?> task, Context delegated)
GenerationPhasedelegate in interface GenerationPhasepriority - the priority of task (the lowest is called first)task - the task to delegatedelegated - the data to associate with taskpublic int countTasks()
countTasks in interface GenerationPhasepublic org.panda_lang.framework.language.interpreter.parser.generation.GenerationUnit getCurrentUnit()
Copyright © 2020. All rights reserved.