Class RuntimeDomain
java.lang.Object
com.oracle.truffle.tools.chromeinspector.domains.Domain
com.oracle.truffle.tools.chromeinspector.domains.RuntimeDomain
-
Field Summary
Fields inherited from class com.oracle.truffle.tools.chromeinspector.domains.Domain
eventHandler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ParamscallFunctionOn(String objectId, String functionDeclaration, org.graalvm.shadowed.org.json.JSONArray arguments, boolean silent, boolean returnByValue, boolean generatePreview, boolean awaitPromise, int executionContextId, String objectGroup) abstract ParamscompileScript(String expression, String sourceURL, boolean persistScript, long executionContextId) abstract Paramsevaluate(String expression, String objectGroup, boolean includeCommandLineAPI, boolean silent, int contextId, boolean returnByValue, boolean generatePreview, boolean awaitPromise) protected voidexecutionContextCreated(long id, String name) protected voidexecutionContextDestroyed(long id) abstract ParamsgetProperties(String objectId, boolean ownProperties, boolean accessorPropertiesOnly, boolean generatePreview) abstract voidnotifyConsoleAPICalled(String type, Object text) abstract voidreleaseObject(String objectId) abstract voidreleaseObjectGroup(String objectGroup) abstract voidrunIfWaitingForDebugger(InspectServerSession.CommandPostProcessor postProcessor) abstract voidsetCustomObjectFormatterEnabled(boolean enabled) Methods inherited from class com.oracle.truffle.tools.chromeinspector.domains.Domain
disable, doDisable, doEnable, enable, isEnabled, notifyClosing, notifyDisabled, setEventHandler
-
Constructor Details
-
RuntimeDomain
protected RuntimeDomain()
-
-
Method Details
-
compileScript
public abstract Params compileScript(String expression, String sourceURL, boolean persistScript, long executionContextId) throws CommandProcessException - Throws:
CommandProcessException
-
evaluate
public abstract Params evaluate(String expression, String objectGroup, boolean includeCommandLineAPI, boolean silent, int contextId, boolean returnByValue, boolean generatePreview, boolean awaitPromise) throws CommandProcessException - Throws:
CommandProcessException
-
getProperties
public abstract Params getProperties(String objectId, boolean ownProperties, boolean accessorPropertiesOnly, boolean generatePreview) throws CommandProcessException - Throws:
CommandProcessException
-
callFunctionOn
public abstract Params callFunctionOn(String objectId, String functionDeclaration, org.graalvm.shadowed.org.json.JSONArray arguments, boolean silent, boolean returnByValue, boolean generatePreview, boolean awaitPromise, int executionContextId, String objectGroup) throws CommandProcessException - Throws:
CommandProcessException
-
runIfWaitingForDebugger
public abstract void runIfWaitingForDebugger(InspectServerSession.CommandPostProcessor postProcessor) -
releaseObject
-
releaseObjectGroup
-
notifyConsoleAPICalled
-
executionContextCreated
-
executionContextDestroyed
protected void executionContextDestroyed(long id) -
setCustomObjectFormatterEnabled
public abstract void setCustomObjectFormatterEnabled(boolean enabled)
-