Struct cdp::debugger::ScriptFailedToParseEvent [] [src]

pub struct ScriptFailedToParseEvent<'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 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 fails to parse the script.

Event Debugger.scriptFailedToParse

Domain Module: cdp::debugger
Event Struct: cdp::debugger::ScriptFailedToParseEvent

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.

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 ScriptFailedToParseEvent<'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 ScriptFailedToParseEvent<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for ScriptFailedToParseEvent<'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 ScriptFailedToParseEvent<'a>
[src]

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

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

[src]

[src]

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

[src]