ScriptParsedEventDataType

sealed external interface ScriptParsedEventDataType(source)

Properties

Link copied to clipboard
abstract var endColumn: Double

Length of the last line of the script.

Link copied to clipboard
abstract var endLine: Double

Last line of the script.

Link copied to clipboard

Embedder-specific auxiliary data.

Link copied to clipboard

Specifies script creation context.

Link copied to clipboard
abstract var hash: String

Content hash of the script.

Link copied to clipboard
abstract var hasSourceURL: Boolean?

True, if this script has sourceURL.

Link copied to clipboard
abstract var isLiveEdit: Boolean?

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

Link copied to clipboard
abstract var isModule: Boolean?

True, if this script is ES6 module.

Link copied to clipboard
abstract var length: Double?

This script length.

Link copied to clipboard
abstract var scriptId: ScriptId

Identifier of the script parsed.

Link copied to clipboard
abstract var sourceMapURL: String?

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

Link copied to clipboard
abstract var stackTrace: StackTrace?

JavaScript top stack frame of where the script parsed event was triggered if available.

Link copied to clipboard
abstract var startColumn: Double

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

Link copied to clipboard
abstract var startLine: Double

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

Link copied to clipboard
abstract var url: String

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