Package io.webfolder.cdp.event.debugger
Class ScriptFailedToParse
java.lang.Object
io.webfolder.cdp.event.debugger.ScriptFailedToParse
public class ScriptFailedToParse
extends java.lang.Object
Fired when virtual machine fails to parse the script
-
Constructor Summary
Constructors Constructor Description ScriptFailedToParse() -
Method Summary
Modifier and Type Method Description java.lang.IntegergetEndColumn()Length of the last line of the script.java.lang.IntegergetEndLine()Last line of the script.java.lang.ObjectgetExecutionContextAuxData()Embedder-specific auxiliary data.java.lang.IntegergetExecutionContextId()Specifies script creation context.java.lang.StringgetHash()Content hash of the script.java.lang.IntegergetLength()This script length.java.lang.StringgetScriptId()Identifier of the script parsed.java.lang.StringgetSourceMapURL()URL of source map associated with script (if any).StackTracegetStackTrace()JavaScript top stack frame of where the script parsed event was triggered if available.java.lang.IntegergetStartColumn()Column offset of the script within the resource with given URL.java.lang.IntegergetStartLine()Line offset of the script within the resource with given URL (for script tags).java.lang.StringgetUrl()URL or name of the script parsed (if any).java.lang.BooleanisHasSourceURL()True, if this script has sourceURL.java.lang.BooleanisIsModule()True, if this script is ES6 module.voidsetEndColumn(java.lang.Integer endColumn)Length of the last line of the script.voidsetEndLine(java.lang.Integer endLine)Last line of the script.voidsetExecutionContextAuxData(java.lang.Object executionContextAuxData)Embedder-specific auxiliary data.voidsetExecutionContextId(java.lang.Integer executionContextId)Specifies script creation context.voidsetHash(java.lang.String hash)Content hash of the script.voidsetHasSourceURL(java.lang.Boolean hasSourceURL)True, if this script has sourceURL.voidsetIsModule(java.lang.Boolean isModule)True, if this script is ES6 module.voidsetLength(java.lang.Integer length)This script length.voidsetScriptId(java.lang.String scriptId)Identifier of the script parsed.voidsetSourceMapURL(java.lang.String sourceMapURL)URL of source map associated with script (if any).voidsetStackTrace(StackTrace stackTrace)JavaScript top stack frame of where the script parsed event was triggered if available.voidsetStartColumn(java.lang.Integer startColumn)Column offset of the script within the resource with given URL.voidsetStartLine(java.lang.Integer startLine)Line offset of the script within the resource with given URL (for script tags).voidsetUrl(java.lang.String url)URL or name of the script parsed (if any).
-
Constructor Details
-
ScriptFailedToParse
public ScriptFailedToParse()
-
-
Method Details
-
getScriptId
public java.lang.String getScriptId()Identifier of the script parsed. -
setScriptId
public void setScriptId(java.lang.String scriptId)Identifier of the script parsed. -
getUrl
public java.lang.String getUrl()URL or name of the script parsed (if any). -
setUrl
public void setUrl(java.lang.String url)URL or name of the script parsed (if any). -
getStartLine
public java.lang.Integer getStartLine()Line offset of the script within the resource with given URL (for script tags). -
setStartLine
public void setStartLine(java.lang.Integer startLine)Line offset of the script within the resource with given URL (for script tags). -
getStartColumn
public java.lang.Integer getStartColumn()Column offset of the script within the resource with given URL. -
setStartColumn
public void setStartColumn(java.lang.Integer startColumn)Column offset of the script within the resource with given URL. -
getEndLine
public java.lang.Integer getEndLine()Last line of the script. -
setEndLine
public void setEndLine(java.lang.Integer endLine)Last line of the script. -
getEndColumn
public java.lang.Integer getEndColumn()Length of the last line of the script. -
setEndColumn
public void setEndColumn(java.lang.Integer endColumn)Length of the last line of the script. -
getExecutionContextId
public java.lang.Integer getExecutionContextId()Specifies script creation context. -
setExecutionContextId
public void setExecutionContextId(java.lang.Integer executionContextId)Specifies script creation context. -
getHash
public java.lang.String getHash()Content hash of the script. -
setHash
public void setHash(java.lang.String hash)Content hash of the script. -
getExecutionContextAuxData
public java.lang.Object getExecutionContextAuxData()Embedder-specific auxiliary data. -
setExecutionContextAuxData
public void setExecutionContextAuxData(java.lang.Object executionContextAuxData)Embedder-specific auxiliary data. -
getSourceMapURL
public java.lang.String getSourceMapURL()URL of source map associated with script (if any). -
setSourceMapURL
public void setSourceMapURL(java.lang.String sourceMapURL)URL of source map associated with script (if any). -
isHasSourceURL
public java.lang.Boolean isHasSourceURL()True, if this script has sourceURL. -
setHasSourceURL
public void setHasSourceURL(java.lang.Boolean hasSourceURL)True, if this script has sourceURL. -
isIsModule
public java.lang.Boolean isIsModule()True, if this script is ES6 module. -
setIsModule
public void setIsModule(java.lang.Boolean isModule)True, if this script is ES6 module. -
getLength
public java.lang.Integer getLength()This script length. -
setLength
public void setLength(java.lang.Integer length)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.
-