Package org.eclipse.epsilon.eol.dap
Class EvaluatorContext
java.lang.Object
org.eclipse.epsilon.eol.dap.EvaluatorContext
- All Implemented Interfaces:
IEolContext
Wrapper over an existing context for evaluating expressions within a debugged
program. It reuses most of the existing context, but it works over a copy of
the original frame stack, and it uses the default (non-debugging) execution
controller over the original ExecutorFactory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
boolean
boolean
void
setAssertionsEnabled
(boolean assertionsEnabled) void
setErrorStream
(PrintStream defaultErrorStream) void
setExecutorFactory
(ExecutorFactory executorFactory) void
setExtendedProperties
(ExtendedProperties properties) void
setFrameStack
(FrameStack scope) void
setIntrospectionManager
(IntrospectionManager introspectionManager) void
setModelRepository
(ModelRepository modelRepository) void
void
setNativeTypeDelegates
(List<IToolNativeTypeDelegate> nativeTypeDelegates) void
setOperationFactory
(EolOperationFactory operationFactory) void
setOutputStream
(PrintStream outputStream) void
setPrettyPrinterManager
(PrettyPrinterManager prettyPrinterManager) void
setProfilingEnabled
(boolean profilingEnabled) void
setUserInput
(IUserInput userInput) void
setWarningStream
(PrintStream warningStream)
-
Constructor Details
-
EvaluatorContext
-
-
Method Details
-
setUserInput
- Specified by:
setUserInput
in interfaceIEolContext
-
getUserInput
- Specified by:
getUserInput
in interfaceIEolContext
-
getPrettyPrinterManager
- Specified by:
getPrettyPrinterManager
in interfaceIEolContext
-
setPrettyPrinterManager
- Specified by:
setPrettyPrinterManager
in interfaceIEolContext
-
getOutputStream
- Specified by:
getOutputStream
in interfaceIEolContext
-
setOutputStream
- Specified by:
setOutputStream
in interfaceIEolContext
-
getWarningStream
- Specified by:
getWarningStream
in interfaceIEolContext
-
setWarningStream
- Specified by:
setWarningStream
in interfaceIEolContext
-
getOperationFactory
- Specified by:
getOperationFactory
in interfaceIEolContext
-
setOperationFactory
- Specified by:
setOperationFactory
in interfaceIEolContext
-
getExecutorFactory
- Specified by:
getExecutorFactory
in interfaceIEolContext
-
setExecutorFactory
- Specified by:
setExecutorFactory
in interfaceIEolContext
-
getModelRepository
- Specified by:
getModelRepository
in interfaceIEolContext
-
setModelRepository
- Specified by:
setModelRepository
in interfaceIEolContext
-
getFrameStack
- Specified by:
getFrameStack
in interfaceIEolContext
-
setFrameStack
- Specified by:
setFrameStack
in interfaceIEolContext
-
getIntrospectionManager
- Specified by:
getIntrospectionManager
in interfaceIEolContext
-
setIntrospectionManager
- Specified by:
setIntrospectionManager
in interfaceIEolContext
-
getErrorStream
- Specified by:
getErrorStream
in interfaceIEolContext
-
setErrorStream
- Specified by:
setErrorStream
in interfaceIEolContext
-
setModule
- Specified by:
setModule
in interfaceIEolContext
-
getModule
- Specified by:
getModule
in interfaceIEolContext
-
setNativeTypeDelegates
- Specified by:
setNativeTypeDelegates
in interfaceIEolContext
-
getNativeTypeDelegates
- Specified by:
getNativeTypeDelegates
in interfaceIEolContext
-
isProfilingEnabled
public boolean isProfilingEnabled()- Specified by:
isProfilingEnabled
in interfaceIEolContext
-
setProfilingEnabled
public void setProfilingEnabled(boolean profilingEnabled) - Specified by:
setProfilingEnabled
in interfaceIEolContext
-
isAssertionsEnabled
public boolean isAssertionsEnabled()- Specified by:
isAssertionsEnabled
in interfaceIEolContext
-
setAssertionsEnabled
public void setAssertionsEnabled(boolean assertionsEnabled) - Specified by:
setAssertionsEnabled
in interfaceIEolContext
-
getExtendedProperties
- Specified by:
getExtendedProperties
in interfaceIEolContext
-
setExtendedProperties
- Specified by:
setExtendedProperties
in interfaceIEolContext
-
dispose
public void dispose()- Specified by:
dispose
in interfaceIEolContext
-
getAsyncStatementsQueue
- Specified by:
getAsyncStatementsQueue
in interfaceIEolContext
- Returns:
-
getOperationContributorRegistry
- Specified by:
getOperationContributorRegistry
in interfaceIEolContext
-