Struct cdp::debugger::ScriptParsedEvent [] [src]

pub struct ScriptParsedEvent<'a> {
    pub script_id: ScriptId<'a>,
    pub url: Cow<'a, str>,
    pub start_line: i32,
    pub start_column: i32,
    pub end_line: i32,
    pub end_column: i32,
    pub execution_context_id: ExecutionContextId,
    pub hash: Cow<'a, str>,
    pub execution_context_aux_data: Option<Empty>,
    pub is_live_edit: Option<bool>,
    pub source_map_url: Option<Cow<'a, str>>,
    pub has_source_url: Option<bool>,
    pub is_module: Option<bool>,
    pub length: Option<i32>,
    pub stack_trace: Option<StackTrace<'a>>,
}

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

Event Debugger.scriptParsed

Domain Module: cdp::debugger
Event Struct: cdp::debugger::ScriptParsedEvent

Fields

Identifier of the script parsed.

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

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

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

Last line of the script.

Length of the last line of the script.

Specifies script creation context.

Content hash of the script.

Embedder-specific auxiliary data.

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

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

[Experimental] True, if this script has sourceURL.

[Experimental] True, if this script is ES6 module.

[Experimental] This script length.

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

Trait Implementations

impl<'a> Clone for ScriptParsedEvent<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for ScriptParsedEvent<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for ScriptParsedEvent<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> CdpEvent for ScriptParsedEvent<'a>
[src]

EVENT_NAME: &'static str = "Debugger.scriptParsed"

impl<'a> SerializeCdpEvent for ScriptParsedEvent<'a>
[src]

[src]

[src]

impl<'de, 'a> DeserializeCdpEvent<'de> for ScriptParsedEvent<'a>
[src]

[src]