| { |
| "domain": "Runtime", |
| "description": "Runtime domain exposes JavaScript runtime by means of remote evaluation and mirror objects. Evaluation results are returned as mirror object that expose object type, string representation and unique identifier that can be used for further object reference. Original objects are maintained in memory unless they are either explicitly released or are released along with the other objects in their object group.", |
| "targetTypes": ["javascript", "page", "service-worker", "worker"], |
| "types": [ |
| { |
| "id": "RemoteObjectId", |
| "type": "string", |
| "description": "Unique object identifier." |
| }, |
| { |
| "id": "RemoteObject", |
| "type": "object", |
| "description": "Mirror object referencing original JavaScript object.", |
| "properties": [ |
| { "name": "type", "type": "string", "enum": ["object", "function", "undefined", "string", "number", "boolean", "symbol", "bigint"], "description": "Object type." }, |
| { "name": "subtype", "type": "string", "optional": true, "enum": ["array", "null", "node", "regexp", "date", "error", "map", "set", "weakmap", "weakset", "iterator", "class", "proxy"], "description": "Object subtype hint. Specified for <code>object</code> <code>function</code> (for class) type values only." }, |
| { "name": "className", "type": "string", "optional": true, "description": "Object class (constructor) name. Specified for <code>object</code> type values only." }, |
| { "name": "value", "type": "any", "optional": true, "description": "Remote object value (in case of primitive values or JSON values if it was requested)." }, |
| { "name": "description", "type": "string", "optional": true, "description": "String representation of the object." }, |
| { "name": "objectId", "$ref": "RemoteObjectId", "optional": true, "description": "Unique object identifier (for non-primitive values)." }, |
| { "name": "size", "type": "integer", "optional": true, "description": "Size of the array/collection. Specified for array/map/set/weakmap/weakset object type values only." }, |
| { "name": "classPrototype", "$ref": "RemoteObject", "optional": true, "description": "Remote object for the class prototype. Specified for class object type values only." }, |
| { "name": "preview", "$ref": "ObjectPreview", "optional": true, "description": "Preview containing abbreviated property values. Specified for <code>object</code> type values only." } |
| ] |
| }, |
| { |
| "id": "ObjectPreview", |
| "type": "object", |
| "description": "Object containing abbreviated remote object value.", |
| "properties": [ |
| { "name": "type", "type": "string", "enum": ["object", "function", "undefined", "string", "number", "boolean", "symbol", "bigint"], "description": "Object type." }, |
| { "name": "subtype", "type": "string", "optional": true, "enum": ["array", "null", "node", "regexp", "date", "error", "map", "set", "weakmap", "weakset", "iterator", "class", "proxy"], "description": "Object subtype hint. Specified for <code>object</code> type values only." }, |
| { "name": "description", "type": "string", "optional": true, "description": "String representation of the object." }, |
| { "name": "lossless", "type": "boolean", "description": "Determines whether preview is lossless (contains all information of the original object)." }, |
| { "name": "overflow", "type": "boolean", "optional": true, "description": "True iff some of the properties of the original did not fit." }, |
| { "name": "properties", "type": "array", "items": { "$ref": "PropertyPreview" }, "optional": true, "description": "List of the properties." }, |
| { "name": "entries", "type": "array", "items": { "$ref": "EntryPreview" }, "optional": true, "description": "List of the entries. Specified for <code>map</code> and <code>set</code> subtype values only." }, |
| { "name": "size", "type": "integer", "optional": true, "description": "Size of the array/collection. Specified for array/map/set/weakmap/weakset object type values only." } |
| ] |
| }, |
| { |
| "id": "PropertyPreview", |
| "type": "object", |
| "properties": [ |
| { "name": "name", "type": "string", "description": "Property name." }, |
| { "name": "type", "type": "string", "enum": ["object", "function", "undefined", "string", "number", "boolean", "symbol", "bigint", "accessor"], "description": "Object type." }, |
| { "name": "subtype", "type": "string", "optional": true, "enum": ["array", "null", "node", "regexp", "date", "error", "map", "set", "weakmap", "weakset", "iterator", "class", "proxy"], "description": "Object subtype hint. Specified for <code>object</code> type values only." }, |
| { "name": "value", "type": "string", "optional": true, "description": "User-friendly property value string." }, |
| { "name": "valuePreview", "$ref": "ObjectPreview", "optional": true, "description": "Nested value preview." }, |
| { "name": "internal", "type": "boolean", "optional": true, "description": "True if this is an internal property." } |
| ] |
| }, |
| { |
| "id": "EntryPreview", |
| "type": "object", |
| "properties": [ |
| { "name": "key", "$ref": "ObjectPreview", "optional": true, "description": "Entry key. Specified for map-like collection entries." }, |
| { "name": "value", "$ref": "ObjectPreview", "description": "Entry value." } |
| ] |
| }, |
| { |
| "id": "CollectionEntry", |
| "type": "object", |
| "properties": [ |
| { "name": "key", "$ref": "Runtime.RemoteObject", "optional": true, "description": "Entry key of a map-like collection, otherwise not provided." }, |
| { "name": "value", "$ref": "Runtime.RemoteObject", "description": "Entry value." } |
| ] |
| }, |
| { |
| "id": "PropertyDescriptor", |
| "type": "object", |
| "description": "Object property descriptor.", |
| "properties": [ |
| { "name": "name", "type": "string", "description": "Property name or symbol description." }, |
| { "name": "value", "$ref": "RemoteObject", "optional": true, "description": "The value associated with the property." }, |
| { "name": "writable", "type": "boolean", "optional": true, "description": "True if the value associated with the property may be changed (data descriptors only)." }, |
| { "name": "get", "$ref": "RemoteObject", "optional": true, "description": "A function which serves as a getter for the property, or <code>undefined</code> if there is no getter (accessor descriptors only)." }, |
| { "name": "set", "$ref": "RemoteObject", "optional": true, "description": "A function which serves as a setter for the property, or <code>undefined</code> if there is no setter (accessor descriptors only)." }, |
| { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." }, |
| { "name": "configurable", "type": "boolean", "optional": true, "description": "True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object." }, |
| { "name": "enumerable", "type": "boolean", "optional": true, "description": "True if this property shows up during enumeration of the properties on the corresponding object." }, |
| { "name": "isOwn", "optional": true, "type": "boolean", "description": "True if the property is owned for the object." }, |
| { "name": "symbol", "optional": true, "$ref": "Runtime.RemoteObject", "description": "Property symbol object, if the property is a symbol." }, |
| { "name": "nativeGetter", "optional": true, "type": "boolean", "description": "True if the property value came from a native getter." } |
| ] |
| }, |
| { |
| "id": "InternalPropertyDescriptor", |
| "type": "object", |
| "description": "Object internal property descriptor. This property isn't normally visible in JavaScript code.", |
| "properties": [ |
| { "name": "name", "type": "string", "description": "Conventional property name." }, |
| { "name": "value", "$ref": "RemoteObject", "optional": true, "description": "The value associated with the property." } |
| ] |
| }, |
| { |
| "id": "CallArgument", |
| "type": "object", |
| "description": "Represents function call argument. Either remote object id <code>objectId</code> or primitive <code>value</code> or neither of (for undefined) them should be specified.", |
| "properties": [ |
| { "name": "value", "type": "any", "optional": true, "description": "Primitive value." }, |
| { "name": "objectId", "$ref": "RemoteObjectId", "optional": true, "description": "Remote object handle." } |
| ] |
| }, |
| { |
| "id": "ExecutionContextId", |
| "type": "integer", |
| "description": "Id of an execution context." |
| }, |
| { |
| "id": "ExecutionContextType", |
| "type": "string", |
| "enum": ["normal", "user", "internal"], |
| "description": "Type of the execution context." |
| }, |
| { |
| "id": "ExecutionContextDescription", |
| "type": "object", |
| "description": "Description of an isolated world.", |
| "properties": [ |
| { "name": "id", "$ref": "ExecutionContextId", "description": "Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed." }, |
| { "name": "type", "$ref": "ExecutionContextType" }, |
| { "name": "name", "type": "string", "description": "Human readable name describing given context."}, |
| { "name": "frameId", "$ref": "Network.FrameId", "description": "Id of the owning frame." } |
| ] |
| }, |
| { |
| "id": "SyntaxErrorType", |
| "type": "string", |
| "enum": ["none", "irrecoverable", "unterminated-literal", "recoverable"], |
| "description": "Syntax error type: \"none\" for no error, \"irrecoverable\" for unrecoverable errors, \"unterminated-literal\" for when there is an unterminated literal, \"recoverable\" for when the expression is unfinished but valid so far." |
| }, |
| { |
| "id": "ErrorRange", |
| "type": "object", |
| "description": "Range of an error in source code.", |
| "properties": [ |
| { "name": "startOffset", "type": "integer", "description": "Start offset of range (inclusive)." }, |
| { "name": "endOffset", "type": "integer", "description": "End offset of range (exclusive)." } |
| ] |
| }, |
| { |
| "id": "StructureDescription", |
| "type": "object", |
| "properties": [ |
| { "name": "fields", "type": "array", "items": { "type": "string" }, "optional": true, "description": "Array of strings, where the strings represent object properties." }, |
| { "name": "optionalFields", "type": "array", "items": { "type": "string" }, "optional": true, "description": "Array of strings, where the strings represent optional object properties." }, |
| { "name": "constructorName", "type": "string", "optional": true, "description": "Name of the constructor." }, |
| { "name": "prototypeStructure", "$ref": "StructureDescription", "optional": true, "description": "Pointer to the StructureRepresentation of the protoype if one exists." }, |
| { "name": "isImprecise", "type": "boolean", "optional": true, "description": "If true, it indicates that the fields in this StructureDescription may be inaccurate. I.e, there might have been fields that have been deleted before it was profiled or it has fields we haven't profiled." } |
| ] |
| }, |
| { |
| "id": "TypeSet", |
| "type": "object", |
| "properties": [ |
| { "name": "isFunction", "type": "boolean", "description": "Indicates if this type description has been type Function." }, |
| { "name": "isUndefined", "type": "boolean", "description": "Indicates if this type description has been type Undefined." }, |
| { "name": "isNull", "type": "boolean", "description": "Indicates if this type description has been type Null." }, |
| { "name": "isBoolean", "type": "boolean", "description": "Indicates if this type description has been type Boolean." }, |
| { "name": "isInteger", "type": "boolean", "description": "Indicates if this type description has been type Integer." }, |
| { "name": "isNumber", "type": "boolean", "description": "Indicates if this type description has been type Number." }, |
| { "name": "isString", "type": "boolean", "description": "Indicates if this type description has been type String." }, |
| { "name": "isObject", "type": "boolean", "description": "Indicates if this type description has been type Object." }, |
| { "name": "isSymbol", "type": "boolean", "description": "Indicates if this type description has been type Symbol." }, |
| { "name": "isBigInt", "type": "boolean", "description": "Indicates if this type description has been type BigInt." } |
| ] |
| }, |
| { |
| "id": "TypeDescription", |
| "type": "object", |
| "description": "Container for type information that has been gathered.", |
| "properties": [ |
| { "name": "isValid", "type": "boolean", "description": "If true, we were able to correlate the offset successfuly with a program location. If false, the offset may be bogus or the offset may be from a CodeBlock that hasn't executed." }, |
| { "name": "leastCommonAncestor", "type": "string", "optional": true, "description": "Least common ancestor of all Constructors if the TypeDescription has seen any structures. This string is the display name of the shared constructor function." }, |
| { "name": "typeSet", "$ref": "TypeSet", "optional": true, "description": "Set of booleans for determining the aggregate type of this type description." }, |
| { "name": "structures", "type": "array", "items": { "$ref": "StructureDescription" }, "optional": true, "description": "Array of descriptions for all structures seen for this variable." }, |
| { "name": "isTruncated", "type": "boolean", "optional": true, "description": "If true, this indicates that no more structures are being profiled because some maximum threshold has been reached and profiling has stopped because of memory pressure." } |
| ] |
| }, |
| { |
| "id": "TypeLocation", |
| "type": "object", |
| "description": "Describes the location of an expression we want type information for.", |
| "properties": [ |
| { "name": "typeInformationDescriptor", "type": "integer", "description": "What kind of type information do we want (normal, function return values, 'this' statement)." }, |
| { "name": "sourceID", "type": "string", "description": "sourceID uniquely identifying a script" }, |
| { "name": "divot", "type": "integer", "description": "character offset for assignment range" } |
| ] |
| }, |
| { |
| "id": "BasicBlock", |
| "type": "object", |
| "description": "From Wikipedia: a basic block is a portion of the code within a program with only one entry point and only one exit point. This type gives the location of a basic block and if that basic block has executed.", |
| "properties": [ |
| { "name": "startOffset", "type": "integer", "description": "Start offset of the basic block." }, |
| { "name": "endOffset", "type": "integer", "description": "End offset of the basic block." }, |
| { "name": "hasExecuted", "type": "boolean", "description": "Indicates if the basic block has executed before." }, |
| { "name": "executionCount", "type": "integer", "description": "Indicates how many times the basic block has executed." } |
| ] |
| } |
| ], |
| "commands": [ |
| { |
| "name": "parse", |
| "description": "Parses JavaScript source code for errors.", |
| "parameters": [ |
| { "name": "source", "type": "string", "description": "Source code to parse." } |
| ], |
| "returns": [ |
| { "name": "result", "$ref": "SyntaxErrorType", "description": "Parse result." }, |
| { "name": "message", "type": "string", "optional": true, "description": "Parse error message." }, |
| { "name": "range", "$ref": "ErrorRange", "optional": true, "description": "Range in the source where the error occurred." } |
| ] |
| }, |
| { |
| "name": "evaluate", |
| "description": "Evaluates expression on global object.", |
| "parameters": [ |
| { "name": "expression", "type": "string", "description": "Expression to evaluate." }, |
| { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name that can be used to release multiple objects." }, |
| { "name": "includeCommandLineAPI", "type": "boolean", "optional": true, "description": "Determines whether Command Line API should be available during the evaluation." }, |
| { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "boolean", "optional": true, "description": "Specifies whether evaluation should stop on exceptions and mute console. Overrides setPauseOnException state." }, |
| { "name": "contextId", "$ref": "Runtime.ExecutionContextId", "optional": true, "description": "Specifies in which isolated context to perform evaluation. Each content script lives in an isolated context and this parameter may be used to specify one of those contexts. If the parameter is omitted or 0 the evaluation will be performed in the context of the inspected page." }, |
| { "name": "returnByValue", "type": "boolean", "optional": true, "description": "Whether the result is expected to be a JSON object that should be sent by value." }, |
| { "name": "generatePreview", "type": "boolean", "optional": true, "description": "Whether preview should be generated for the result." }, |
| { "name": "saveResult", "type": "boolean", "optional": true, "description": "Whether the resulting value should be considered for saving in the $n history." }, |
| { "name": "emulateUserGesture", "type": "boolean", "optional": true, "description": "Whether the expression should be considered to be in a user gesture or not." } |
| ], |
| "returns": [ |
| { "name": "result", "$ref": "RemoteObject", "description": "Evaluation result." }, |
| { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." }, |
| { "name": "savedResultIndex", "type": "integer", "optional": true, "description": "If the result was saved, this is the $n index that can be used to access the value." } |
| ] |
| }, |
| { |
| "name": "awaitPromise", |
| "description": "Calls the async callback when the promise with the given ID gets settled.", |
| "parameters": [ |
| { "name": "promiseObjectId", "$ref": "RemoteObjectId", "description": "Identifier of the promise." }, |
| { "name": "returnByValue", "type": "boolean", "optional": true, "description": "Whether the result is expected to be a JSON object that should be sent by value." }, |
| { "name": "generatePreview", "type": "boolean", "optional": true, "description": "Whether preview should be generated for the result." }, |
| { "name": "saveResult", "type": "boolean", "optional": true, "description": "Whether the resulting value should be considered for saving in the $n history." } |
| ], |
| "returns": [ |
| { "name": "result", "$ref": "RemoteObject", "description": "Evaluation result." }, |
| { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." }, |
| { "name": "savedResultIndex", "type": "integer", "optional": true, "description": "If the result was saved, this is the $n index that can be used to access the value." } |
| ], |
| "async": true |
| }, |
| { |
| "name": "callFunctionOn", |
| "description": "Calls function with given declaration on the given object. Object group of the result is inherited from the target object.", |
| "parameters": [ |
| { "name": "objectId", "$ref": "RemoteObjectId", "description": "Identifier of the object to call function on." }, |
| { "name": "functionDeclaration", "type": "string", "description": "Declaration of the function to call." }, |
| { "name": "arguments", "type": "array", "items": { "$ref": "CallArgument", "description": "Call argument." }, "optional": true, "description": "Call arguments. All call arguments must belong to the same JavaScript world as the target object." }, |
| { "name": "doNotPauseOnExceptionsAndMuteConsole", "type": "boolean", "optional": true, "description": "Specifies whether function call should stop on exceptions and mute console. Overrides setPauseOnException state." }, |
| { "name": "returnByValue", "type": "boolean", "optional": true, "description": "Whether the result is expected to be a JSON object which should be sent by value." }, |
| { "name": "generatePreview", "type": "boolean", "optional": true, "description": "Whether preview should be generated for the result." }, |
| { "name": "emulateUserGesture", "type": "boolean", "optional": true, "description": "Whether the expression should be considered to be in a user gesture or not." } |
| ], |
| "returns": [ |
| { "name": "result", "$ref": "RemoteObject", "description": "Call result." }, |
| { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." } |
| ] |
| }, |
| { |
| "name": "getPreview", |
| "description": "Returns a preview for the given object.", |
| "parameters": [ |
| { "name": "objectId", "$ref": "RemoteObjectId", "description": "Identifier of the object to return a preview for." } |
| ], |
| "returns": [ |
| { "name": "preview", "$ref": "ObjectPreview" } |
| ] |
| }, |
| { |
| "name": "getProperties", |
| "description": "Returns properties of a given object. Object group of the result is inherited from the target object.", |
| "parameters": [ |
| { "name": "objectId", "$ref": "RemoteObjectId", "description": "Identifier of the object to return properties for." }, |
| { "name": "ownProperties", "optional": true, "type": "boolean", "description": "If true, returns properties belonging only to the object itself, not to its prototype chain." }, |
| { "name": "fetchStart", "optional": true, "type": "integer", "description": "If provided skip to this value before collecting values. Otherwise, start at the beginning. Has no effect when the `objectId` is for a `iterator`/`WeakMap`/`WeakSet` object." }, |
| { "name": "fetchCount", "optional": true, "type": "integer", "description": "If provided only return `fetchCount` values. Otherwise, return values all the way to the end." }, |
| { "name": "generatePreview", "type": "boolean", "optional": true, "description": "Whether preview should be generated for property values." } |
| ], |
| "returns": [ |
| { "name": "properties", "type": "array", "items": { "$ref": "PropertyDescriptor"}, "description": "Object properties." }, |
| { "name": "internalProperties", "optional": true, "type": "array", "items": { "$ref": "InternalPropertyDescriptor"}, "description": "Internal object properties. Only included if `fetchStart` is 0." } |
| ] |
| }, |
| { |
| "name": "getDisplayableProperties", |
| "description": "Returns displayable properties of a given object. Object group of the result is inherited from the target object. Displayable properties are own properties, internal properties, and native getters in the prototype chain (assumed to be bindings and treated like own properties for the frontend).", |
| "parameters": [ |
| { "name": "objectId", "$ref": "RemoteObjectId", "description": "Identifier of the object to return properties for." }, |
| { "name": "fetchStart", "optional": true, "type": "integer", "description": "If provided skip to this value before collecting values. Otherwise, start at the beginning. Has no effect when the `objectId` is for a `iterator`/`WeakMap`/`WeakSet` object." }, |
| { "name": "fetchCount", "optional": true, "type": "integer", "description": "If provided only return `fetchCount` values. Otherwise, return values all the way to the end." }, |
| { "name": "generatePreview", "type": "boolean", "optional": true, "description": "Whether preview should be generated for property values." } |
| ], |
| "returns": [ |
| { "name": "properties", "type": "array", "items": { "$ref": "PropertyDescriptor"}, "description": "Object properties." }, |
| { "name": "internalProperties", "optional": true, "type": "array", "items": { "$ref": "InternalPropertyDescriptor"}, "description": "Internal object properties. Only included if `fetchStart` is 0." } |
| ] |
| }, |
| { |
| "name": "getCollectionEntries", |
| "description": "Returns entries of given Map / Set collection.", |
| "parameters": [ |
| { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "description": "Id of the collection to get entries for." }, |
| { "name": "objectGroup", "optional": true, "type": "string", "description": "Symbolic group name that can be used to release multiple. If not provided, it will be the same objectGroup as the RemoteObject determined from <code>objectId</code>. This is useful for WeakMap to release the collection entries." }, |
| { "name": "fetchStart", "optional": true, "type": "integer", "description": "If provided skip to this value before collecting values. Otherwise, start at the beginning. Has no effect when the `objectId<` is for a `iterator<`/`WeakMap<`/`WeakSet<` object." }, |
| { "name": "fetchCount", "optional": true, "type": "integer", "description": "If provided only return `fetchCount` values. Otherwise, return values all the way to the end." } |
| ], |
| "returns": [ |
| { "name": "entries", "type": "array", "items": { "$ref": "CollectionEntry" }, "description": "Array of collection entries." } |
| ] |
| }, |
| { |
| "name": "saveResult", |
| "description": "Assign a saved result index to this value.", |
| "parameters": [ |
| { "name": "value", "$ref": "CallArgument", "description": "Id or value of the object to save." }, |
| { "name": "contextId", "optional": true, "$ref": "ExecutionContextId", "description": "Unique id of the execution context. To specify in which execution context script evaluation should be performed. If not provided, determine from the CallArgument's objectId." } |
| ], |
| "returns": [ |
| { "name": "savedResultIndex", "type": "integer", "optional": true, "description": "If the value was saved, this is the $n index that can be used to access the value." } |
| ] |
| }, |
| { |
| "name": "setSavedResultAlias", |
| "description": "Creates an additional reference to all saved values in the Console using the the given string as a prefix instead of $.", |
| "parameters": [ |
| { "name": "alias", "type": "string", "optional": true, "description": "Passing an empty/null string will clear the alias." } |
| ] |
| }, |
| { |
| "name": "releaseObject", |
| "description": "Releases remote object with given id.", |
| "parameters": [ |
| { "name": "objectId", "$ref": "RemoteObjectId", "description": "Identifier of the object to release." } |
| ] |
| }, |
| { |
| "name": "releaseObjectGroup", |
| "description": "Releases all remote objects that belong to a given group.", |
| "parameters": [ |
| { "name": "objectGroup", "type": "string", "description": "Symbolic object group name." } |
| ] |
| }, |
| { |
| "name": "enable", |
| "description": "Enables reporting of execution contexts creation by means of <code>executionContextCreated</code> event. When the reporting gets enabled the event will be sent immediately for each existing execution context." |
| }, |
| { |
| "name": "disable", |
| "description": "Disables reporting of execution contexts creation." |
| }, |
| { |
| "name": "getRuntimeTypesForVariablesAtOffsets", |
| "description": "Returns detailed information on the given function.", |
| "parameters": [ |
| { "name": "locations", "type": "array", "items": { "$ref": "TypeLocation" }, "description": "An array of type locations we're requesting information for. Results are expected in the same order they're sent in."} |
| ], |
| "returns": [ |
| { "name": "types", "type": "array", "items": { "$ref": "TypeDescription", "description": "Types for requested variable." } } |
| ] |
| }, |
| { |
| "name": "enableTypeProfiler", |
| "description": "Enables type profiling on the VM." |
| }, |
| { |
| "name": "disableTypeProfiler", |
| "description": "Disables type profiling on the VM." |
| }, |
| { |
| "name": "enableControlFlowProfiler", |
| "description": "Enables control flow profiling on the VM." |
| }, |
| { |
| "name": "disableControlFlowProfiler", |
| "description": "Disables control flow profiling on the VM." |
| }, |
| { |
| "name": "getBasicBlocks", |
| "description": "Returns a list of basic blocks for the given sourceID with information about their text ranges and whether or not they have executed.", |
| "parameters": [ |
| { "name": "sourceID", "type": "string", "description": "Indicates which sourceID information is requested for." } |
| ], |
| "returns": [ |
| { "name": "basicBlocks", "type": "array", "items": { "$ref": "BasicBlock", "description": "Array of basic blocks." } } |
| ] |
| } |
| ], |
| "events": [ |
| { |
| "name": "executionContextCreated", |
| "description": "Issued when new execution context is created.", |
| "parameters": [ |
| { "name": "context", "$ref": "ExecutionContextDescription", "description": "A newly created execution context." } |
| ] |
| } |
| ] |
| } |