pl.wendigo.chrome.domain.debugger / ScriptParsedEvent

ScriptParsedEvent

data class ScriptParsedEvent : ProtocolEvent (source)

Represents event frames for Debugger.scriptParsed

Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.

Constructors

<init>

ScriptParsedEvent(scriptId: ScriptId, url: String, startLine: Int, startColumn: Int, endLine: Int, endColumn: Int, executionContextId: ExecutionContextId, hash: String, executionContextAuxData: JsonNode? = null, isLiveEdit: Boolean? = null, sourceMapURL: String? = null, hasSourceURL: Boolean? = null)

Represents event frames for Debugger.scriptParsed

Properties

endColumn

val endColumn: Int

Length of the last line of the script.

endLine

val endLine: Int

Last line of the script.

executionContextAuxData

val executionContextAuxData: JsonNode?

Embedder-specific auxiliary data.

executionContextId

val executionContextId: ExecutionContextId

Specifies script creation context.

hash

val hash: String

Content hash of the script.

hasSourceURL

val hasSourceURL: Boolean?

True, if this script has sourceURL.

isLiveEdit

val isLiveEdit: Boolean?

True, if this script is generated as a result of the live edit operation.

scriptId

val scriptId: ScriptId

Identifier of the script parsed.

sourceMapURL

val sourceMapURL: String?

URL of source map associated with script (if any).

startColumn

val startColumn: Int

Column offset of the script within the resource with given URL.

startLine

val startLine: Int

Line offset of the script within the resource with given URL (for script tags).

url

val url: String

URL or name of the script parsed (if any).

Inherited Functions

protocolDomain

fun protocolDomain(): String