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