public abstract class RuntimeDomain extends Domain
eventHandler| Modifier | Constructor and Description |
|---|---|
protected |
RuntimeDomain() |
| Modifier and Type | Method and Description |
|---|---|
abstract Params |
callFunctionOn(String objectId,
String functionDeclaration,
com.oracle.truffle.tools.utils.json.JSONArray arguments,
boolean silent,
boolean returnByValue,
boolean generatePreview,
boolean awaitPromise,
int executionContextId,
String objectGroup) |
abstract Params |
compileScript(String expression,
String sourceURL,
boolean persistScript,
long executionContextId) |
abstract Params |
evaluate(String expression,
String objectGroup,
boolean includeCommandLineAPI,
boolean silent,
int contextId,
boolean returnByValue,
boolean generatePreview,
boolean awaitPromise) |
protected void |
executionContextCreated(long id,
String name) |
protected void |
executionContextDestroyed(long id) |
abstract Params |
getProperties(String objectId,
boolean ownProperties,
boolean accessorPropertiesOnly,
boolean generatePreview) |
abstract void |
notifyConsoleAPICalled(String type,
Object text) |
abstract void |
releaseObject(String objectId) |
abstract void |
releaseObjectGroup(String objectGroup) |
abstract void |
runIfWaitingForDebugger(InspectServerSession.CommandPostProcessor postProcessor) |
abstract void |
setCustomObjectFormatterEnabled(boolean enabled) |
disable, doDisable, doEnable, enable, isEnabled, notifyDisabled, setEventHandlerpublic abstract Params compileScript(String expression, String sourceURL, boolean persistScript, long executionContextId) throws CommandProcessException
CommandProcessExceptionpublic abstract Params evaluate(String expression, String objectGroup, boolean includeCommandLineAPI, boolean silent, int contextId, boolean returnByValue, boolean generatePreview, boolean awaitPromise) throws CommandProcessException
CommandProcessExceptionpublic abstract Params getProperties(String objectId, boolean ownProperties, boolean accessorPropertiesOnly, boolean generatePreview) throws CommandProcessException
CommandProcessExceptionpublic abstract Params callFunctionOn(String objectId, String functionDeclaration, com.oracle.truffle.tools.utils.json.JSONArray arguments, boolean silent, boolean returnByValue, boolean generatePreview, boolean awaitPromise, int executionContextId, String objectGroup) throws CommandProcessException
CommandProcessExceptionpublic abstract void runIfWaitingForDebugger(InspectServerSession.CommandPostProcessor postProcessor)
public abstract void releaseObject(String objectId)
public abstract void releaseObjectGroup(String objectGroup)
protected void executionContextCreated(long id,
String name)
protected void executionContextDestroyed(long id)
public abstract void setCustomObjectFormatterEnabled(boolean enabled)