Package io.webfolder.cdp.event.debugger
Class ScriptParsed
java.lang.Object
io.webfolder.cdp.event.debugger.ScriptParsed
Fired when virtual machine parses script. This event is also fired for all known and uncollected
scripts upon enabling debugger.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIf the scriptLanguage is WebAssembly, the code section offset in the module.If the scriptLanguage is WebASsembly, the source of debug symbols for the module.The name the embedder supplied for this script.Length of the last line of the script.Last line of the script.Embedder-specific auxiliary data.Specifies script creation context.getHash()
Content hash of the script, SHA-256.This script length.Identifier of the script parsed.The language of the script.URL of source map associated with script (if any).JavaScript top stack frame of where the script parsed event was triggered if available.Column offset of the script within the resource with given URL.Line offset of the script within the resource with given URL (for script tags).getUrl()
URL or name of the script parsed (if any).True, if this script has sourceURL.True, if this script is generated as a result of the live edit operation.True, if this script is ES6 module.void
setCodeOffset
(Integer codeOffset) If the scriptLanguage is WebAssembly, the code section offset in the module.void
setDebugSymbols
(DebugSymbols debugSymbols) If the scriptLanguage is WebASsembly, the source of debug symbols for the module.void
setEmbedderName
(String embedderName) The name the embedder supplied for this script.void
setEndColumn
(Integer endColumn) Length of the last line of the script.void
setEndLine
(Integer endLine) Last line of the script.void
setExecutionContextAuxData
(Object executionContextAuxData) Embedder-specific auxiliary data.void
setExecutionContextId
(Integer executionContextId) Specifies script creation context.void
Content hash of the script, SHA-256.void
setHasSourceURL
(Boolean hasSourceURL) True, if this script has sourceURL.void
setIsLiveEdit
(Boolean isLiveEdit) True, if this script is generated as a result of the live edit operation.void
setIsModule
(Boolean isModule) True, if this script is ES6 module.void
This script length.void
setScriptId
(String scriptId) Identifier of the script parsed.void
setScriptLanguage
(ScriptLanguage scriptLanguage) The language of the script.void
setSourceMapURL
(String sourceMapURL) URL of source map associated with script (if any).void
setStackTrace
(StackTrace stackTrace) JavaScript top stack frame of where the script parsed event was triggered if available.void
setStartColumn
(Integer startColumn) Column offset of the script within the resource with given URL.void
setStartLine
(Integer startLine) Line offset of the script within the resource with given URL (for script tags).void
URL or name of the script parsed (if any).toString()
-
Constructor Details
-
ScriptParsed
public ScriptParsed()
-
-
Method Details
-
getScriptId
Identifier of the script parsed. -
setScriptId
Identifier of the script parsed. -
getUrl
URL or name of the script parsed (if any). -
setUrl
URL or name of the script parsed (if any). -
getStartLine
Line offset of the script within the resource with given URL (for script tags). -
setStartLine
Line offset of the script within the resource with given URL (for script tags). -
getStartColumn
Column offset of the script within the resource with given URL. -
setStartColumn
Column offset of the script within the resource with given URL. -
getEndLine
Last line of the script. -
setEndLine
Last line of the script. -
getEndColumn
Length of the last line of the script. -
setEndColumn
Length of the last line of the script. -
getExecutionContextId
Specifies script creation context. -
setExecutionContextId
Specifies script creation context. -
getHash
Content hash of the script, SHA-256. -
setHash
Content hash of the script, SHA-256. -
getExecutionContextAuxData
Embedder-specific auxiliary data. -
setExecutionContextAuxData
Embedder-specific auxiliary data. -
isIsLiveEdit
True, if this script is generated as a result of the live edit operation. -
setIsLiveEdit
True, if this script is generated as a result of the live edit operation. -
getSourceMapURL
URL of source map associated with script (if any). -
setSourceMapURL
URL of source map associated with script (if any). -
isHasSourceURL
True, if this script has sourceURL. -
setHasSourceURL
True, if this script has sourceURL. -
isIsModule
True, if this script is ES6 module. -
setIsModule
True, if this script is ES6 module. -
getLength
This script length. -
setLength
This script length. -
getStackTrace
JavaScript top stack frame of where the script parsed event was triggered if available. -
setStackTrace
JavaScript top stack frame of where the script parsed event was triggered if available. -
getCodeOffset
If the scriptLanguage is WebAssembly, the code section offset in the module. -
setCodeOffset
If the scriptLanguage is WebAssembly, the code section offset in the module. -
getScriptLanguage
The language of the script. -
setScriptLanguage
The language of the script. -
getDebugSymbols
If the scriptLanguage is WebASsembly, the source of debug symbols for the module. -
setDebugSymbols
If the scriptLanguage is WebASsembly, the source of debug symbols for the module. -
getEmbedderName
The name the embedder supplied for this script. -
setEmbedderName
The name the embedder supplied for this script. -
toString
-