Class RuntimeDomain

java.lang.Object
com.oracle.truffle.tools.chromeinspector.domains.Domain
com.oracle.truffle.tools.chromeinspector.domains.RuntimeDomain
Direct Known Subclasses:
InspectorRuntime

public abstract class RuntimeDomain extends Domain
  • 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

      public abstract void releaseObject(String objectId)
    • releaseObjectGroup

      public abstract void releaseObjectGroup(String objectGroup)
    • notifyConsoleAPICalled

      public abstract void notifyConsoleAPICalled(String type, Object text)
    • executionContextCreated

      protected void executionContextCreated(long id, String name)
    • executionContextDestroyed

      protected void executionContextDestroyed(long id)
    • setCustomObjectFormatterEnabled

      public abstract void setCustomObjectFormatterEnabled(boolean enabled)