Struct chrome_remote_interface_model::debugger::ScriptParsedEvent[][src]

pub struct ScriptParsedEvent { /* fields omitted */ }
This is supported on crate features Debugger and Runtime only.

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

Implementations

impl ScriptParsedEvent[src]

pub fn builder() -> ScriptParsedEventBuilder[src]

pub fn script_id(&self) -> &ScriptId[src]

Identifier of the script parsed.

pub fn url(&self) -> &str[src]

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

pub fn start_line(&self) -> u32[src]

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

pub fn start_column(&self) -> u32[src]

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

pub fn end_line(&self) -> u32[src]

Last line of the script.

pub fn end_column(&self) -> u32[src]

Length of the last line of the script.

pub fn execution_context_id(&self) -> &ExecutionContextId[src]

Specifies script creation context.

pub fn hash(&self) -> &str[src]

Content hash of the script.

pub fn execution_context_aux_data(
    &self
) -> Option<&ScriptParsedEventExecutionContextAuxData>
[src]

Embedder-specific auxiliary data.

pub fn is_live_edit(&self) -> Option<&bool>[src]

This is supported on crate feature experimental only.

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

pub fn source_map_url(&self) -> Option<&String>[src]

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

pub fn has_source_url(&self) -> Option<&bool>[src]

True, if this script has sourceURL.

pub fn is_module(&self) -> Option<&bool>[src]

True, if this script is ES6 module.

pub fn length(&self) -> Option<&u32>[src]

This script length.

pub fn stack_trace(&self) -> Option<&StackTrace>[src]

This is supported on crate feature experimental only.

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

pub fn code_offset(&self) -> Option<&u32>[src]

This is supported on crate feature experimental only.

If the scriptLanguage is WebAssembly, the code section offset in the module.

pub fn script_language(&self) -> Option<&ScriptLanguage>[src]

This is supported on crate feature experimental only.

The language of the script.

pub fn debug_symbols(&self) -> Option<&DebugSymbols>[src]

This is supported on crate feature experimental only.

If the scriptLanguage is WebASsembly, the source of debug symbols for the module.

pub fn embedder_name(&self) -> Option<&String>[src]

This is supported on crate feature experimental only.

The name the embedder supplied for this script.

Trait Implementations

impl Clone for ScriptParsedEvent[src]

impl Debug for ScriptParsedEvent[src]

impl<'de> Deserialize<'de> for ScriptParsedEvent[src]

impl Serialize for ScriptParsedEvent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.