Package org.eclipse.epsilon.eol.dap
Class EpsilonDebugAdapter.ModuleCompletionListener
java.lang.Object
org.eclipse.epsilon.eol.dap.EpsilonDebugAdapter.ModuleCompletionListener
- All Implemented Interfaces:
IExecutionListener
- Enclosing class:
- EpsilonDebugAdapter
protected class EpsilonDebugAdapter.ModuleCompletionListener
extends Object
implements IExecutionListener
Keeps track of the modules that start and complete execution. Note that there should
only be exactly one instance of this listener per execution: the same listener should
be propagated across all scripts being launched (e.g. from EGX to EGL scripts).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
aboutToExecute
(ModuleElement ast, IEolContext context) void
finishedExecuting
(ModuleElement ast, Object result, IEolContext context) void
finishedExecutingWithException
(ModuleElement ast, EolRuntimeException exception, IEolContext context) protected void
removeThreadFor
(IEolModule module)
-
Constructor Details
-
ModuleCompletionListener
protected ModuleCompletionListener()
-
-
Method Details
-
aboutToExecute
- Specified by:
aboutToExecute
in interfaceIExecutionListener
-
finishedExecuting
- Specified by:
finishedExecuting
in interfaceIExecutionListener
result
- the result of evaluating ast, calculated during execution
-
finishedExecutingWithException
public void finishedExecutingWithException(ModuleElement ast, EolRuntimeException exception, IEolContext context) - Specified by:
finishedExecutingWithException
in interfaceIExecutionListener
-
removeThreadFor
-