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 TypeMethodDescriptionvoiddispose()booleanbooleanvoidsetAssertionsEnabled(boolean assertionsEnabled) voidsetErrorStream(PrintStream defaultErrorStream) voidsetExecutorFactory(ExecutorFactory executorFactory) voidsetExtendedProperties(ExtendedProperties properties) voidsetFrameStack(FrameStack scope) voidsetIntrospectionManager(IntrospectionManager introspectionManager) voidsetModelRepository(ModelRepository modelRepository) voidvoidsetNativeTypeDelegates(List<IToolNativeTypeDelegate> nativeTypeDelegates) voidsetOperationFactory(EolOperationFactory operationFactory) voidsetOutputStream(PrintStream outputStream) voidsetPrettyPrinterManager(PrettyPrinterManager prettyPrinterManager) voidsetProfilingEnabled(boolean profilingEnabled) voidsetUserInput(IUserInput userInput) voidsetWarningStream(PrintStream warningStream)
-
Constructor Details
-
EvaluatorContext
-
-
Method Details
-
setUserInput
- Specified by:
setUserInputin interfaceIEolContext
-
getUserInput
- Specified by:
getUserInputin interfaceIEolContext
-
getPrettyPrinterManager
- Specified by:
getPrettyPrinterManagerin interfaceIEolContext
-
setPrettyPrinterManager
- Specified by:
setPrettyPrinterManagerin interfaceIEolContext
-
getOutputStream
- Specified by:
getOutputStreamin interfaceIEolContext
-
setOutputStream
- Specified by:
setOutputStreamin interfaceIEolContext
-
getWarningStream
- Specified by:
getWarningStreamin interfaceIEolContext
-
setWarningStream
- Specified by:
setWarningStreamin interfaceIEolContext
-
getOperationFactory
- Specified by:
getOperationFactoryin interfaceIEolContext
-
setOperationFactory
- Specified by:
setOperationFactoryin interfaceIEolContext
-
getExecutorFactory
- Specified by:
getExecutorFactoryin interfaceIEolContext
-
setExecutorFactory
- Specified by:
setExecutorFactoryin interfaceIEolContext
-
getModelRepository
- Specified by:
getModelRepositoryin interfaceIEolContext
-
setModelRepository
- Specified by:
setModelRepositoryin interfaceIEolContext
-
getFrameStack
- Specified by:
getFrameStackin interfaceIEolContext
-
setFrameStack
- Specified by:
setFrameStackin interfaceIEolContext
-
getIntrospectionManager
- Specified by:
getIntrospectionManagerin interfaceIEolContext
-
setIntrospectionManager
- Specified by:
setIntrospectionManagerin interfaceIEolContext
-
getErrorStream
- Specified by:
getErrorStreamin interfaceIEolContext
-
setErrorStream
- Specified by:
setErrorStreamin interfaceIEolContext
-
setModule
- Specified by:
setModulein interfaceIEolContext
-
getModule
- Specified by:
getModulein interfaceIEolContext
-
setNativeTypeDelegates
- Specified by:
setNativeTypeDelegatesin interfaceIEolContext
-
getNativeTypeDelegates
- Specified by:
getNativeTypeDelegatesin interfaceIEolContext
-
isProfilingEnabled
public boolean isProfilingEnabled()- Specified by:
isProfilingEnabledin interfaceIEolContext
-
setProfilingEnabled
public void setProfilingEnabled(boolean profilingEnabled) - Specified by:
setProfilingEnabledin interfaceIEolContext
-
isAssertionsEnabled
public boolean isAssertionsEnabled()- Specified by:
isAssertionsEnabledin interfaceIEolContext
-
setAssertionsEnabled
public void setAssertionsEnabled(boolean assertionsEnabled) - Specified by:
setAssertionsEnabledin interfaceIEolContext
-
getExtendedProperties
- Specified by:
getExtendedPropertiesin interfaceIEolContext
-
setExtendedProperties
- Specified by:
setExtendedPropertiesin interfaceIEolContext
-
dispose
public void dispose()- Specified by:
disposein interfaceIEolContext
-
getAsyncStatementsQueue
- Specified by:
getAsyncStatementsQueuein interfaceIEolContext- Returns:
-
getOperationContributorRegistry
- Specified by:
getOperationContributorRegistryin interfaceIEolContext
-