Package org.jruby.ir.passes
Interface CompilerPassListener
- All Known Implementing Classes:
BasicCompilerPassListener
public interface CompilerPassListener
To get information about all phases of executing a compiler pass.
Note: Any data you retrieve may be later mutated by other tasks. If you
care about persistent state it is up to you to clone that information. Also
Note, if you clone remember this will affect time it takes for passes to run
since these callbacks are synchronously executed in the compiler pass logic.
-
Method Summary
Modifier and TypeMethodDescriptionvoidalreadyExecuted(CompilerPass passClass, FullInterpreterContext fic, Object data, boolean childScope) This dependent pass has been determined to already be satisfied and is not going to call execute().voidendExecute(CompilerPass pass, FullInterpreterContext fic, Object data, boolean childScope) This pass has just finished execute'ing.voidstartExecute(CompilerPass pass, FullInterpreterContext fic, boolean childScope) This pass is about to begin execute'ing.
-
Method Details
-
alreadyExecuted
void alreadyExecuted(CompilerPass passClass, FullInterpreterContext fic, Object data, boolean childScope) This dependent pass has been determined to already be satisfied and is not going to call execute(). -
startExecute
This pass is about to begin execute'ing.- Parameters:
pass-
-
endExecute
This pass has just finished execute'ing. data is the result it is returning.
-