-
public final class DebuggerEvent.ScriptFailedToParseEvent extends DebuggerEvent
Fired when virtual machine fails to parse the script.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringscriptIdprivate final Stringurlprivate final IntegerstartLineprivate final IntegerstartColumnprivate final IntegerendLineprivate final IntegerendColumnprivate final IntegerexecutionContextIdprivate final Stringhashprivate final JsonElementexecutionContextAuxDataprivate final StringsourceMapURLprivate final BooleanhasSourceURLprivate final BooleanisModuleprivate final Integerlengthprivate final StackTracestackTraceprivate final IntegercodeOffsetprivate final ScriptLanguagescriptLanguageprivate final StringembedderName
-
Constructor Summary
Constructors Constructor Description ScriptFailedToParseEvent(String scriptId, String url, Integer startLine, Integer startColumn, Integer endLine, Integer endColumn, Integer executionContextId, String hash, JsonElement executionContextAuxData, String sourceMapURL, Boolean hasSourceURL, Boolean isModule, Integer length, StackTrace stackTrace, Integer codeOffset, ScriptLanguage scriptLanguage, String embedderName)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Stringcomponent2()final Integercomponent3()final Integercomponent4()final Integercomponent5()final Integercomponent6()final Integercomponent7()final Stringcomponent8()final JsonElementcomponent9()final Stringcomponent10()final Booleancomponent11()final Booleancomponent12()final Integercomponent13()final StackTracecomponent14()final Integercomponent15()final ScriptLanguagecomponent16()final Stringcomponent17()final DebuggerEvent.ScriptFailedToParseEventcopy(String scriptId, String url, Integer startLine, Integer startColumn, Integer endLine, Integer endColumn, Integer executionContextId, String hash, JsonElement executionContextAuxData, String sourceMapURL, Boolean hasSourceURL, Boolean isModule, Integer length, StackTrace stackTrace, Integer codeOffset, ScriptLanguage scriptLanguage, String embedderName)final StringgetScriptId()Identifier of the script parsed. final StringgetUrl()URL or name of the script parsed (if any). final IntegergetStartLine()Line offset of the script within the resource with given URL (for script tags). final IntegergetStartColumn()Column offset of the script within the resource with given URL. final IntegergetEndLine()Last line of the script. final IntegergetEndColumn()Length of the last line of the script. final IntegergetExecutionContextId()Specifies script creation context. final StringgetHash()Content hash of the script. final JsonElementgetExecutionContextAuxData()Embedder-specific auxiliary data. final StringgetSourceMapURL()URL of source map associated with script (if any). final BooleangetHasSourceURL()True, if this script has sourceURL. final BooleangetIsModule()True, if this script is ES6 module. final IntegergetLength()This script length. final StackTracegetStackTrace()JavaScript top stack frame of where the script parsed event was triggered if available. final IntegergetCodeOffset()If the scriptLanguage is WebAssembly, the code section offset in the module. final ScriptLanguagegetScriptLanguage()The language of the script. final StringgetEmbedderName()The name the embedder supplied for this script. -
-
Constructor Detail
-
ScriptFailedToParseEvent
ScriptFailedToParseEvent(String scriptId, String url, Integer startLine, Integer startColumn, Integer endLine, Integer endColumn, Integer executionContextId, String hash, JsonElement executionContextAuxData, String sourceMapURL, Boolean hasSourceURL, Boolean isModule, Integer length, StackTrace stackTrace, Integer codeOffset, ScriptLanguage scriptLanguage, String embedderName)
-
-
Method Detail
-
component1
final String component1()
-
component2
final String component2()
-
component3
final Integer component3()
-
component4
final Integer component4()
-
component5
final Integer component5()
-
component6
final Integer component6()
-
component7
final Integer component7()
-
component8
final String component8()
-
component9
final JsonElement component9()
-
component10
final String component10()
-
component11
final Boolean component11()
-
component12
final Boolean component12()
-
component13
final Integer component13()
-
component14
final StackTrace component14()
-
component15
final Integer component15()
-
component16
final ScriptLanguage component16()
-
component17
final String component17()
-
copy
final DebuggerEvent.ScriptFailedToParseEvent copy(String scriptId, String url, Integer startLine, Integer startColumn, Integer endLine, Integer endColumn, Integer executionContextId, String hash, JsonElement executionContextAuxData, String sourceMapURL, Boolean hasSourceURL, Boolean isModule, Integer length, StackTrace stackTrace, Integer codeOffset, ScriptLanguage scriptLanguage, String embedderName)
-
getScriptId
final String getScriptId()
Identifier of the script parsed.
-
getStartLine
final Integer getStartLine()
Line offset of the script within the resource with given URL (for script tags).
-
getStartColumn
final Integer getStartColumn()
Column offset of the script within the resource with given URL.
-
getEndLine
final Integer getEndLine()
Last line of the script.
-
getEndColumn
final Integer getEndColumn()
Length of the last line of the script.
-
getExecutionContextId
final Integer getExecutionContextId()
Specifies script creation context.
-
getExecutionContextAuxData
final JsonElement getExecutionContextAuxData()
Embedder-specific auxiliary data.
-
getSourceMapURL
final String getSourceMapURL()
URL of source map associated with script (if any).
-
getHasSourceURL
final Boolean getHasSourceURL()
True, if this script has sourceURL.
-
getIsModule
final Boolean getIsModule()
True, if this script is ES6 module.
-
getStackTrace
final StackTrace getStackTrace()
JavaScript top stack frame of where the script parsed event was triggered if available.
-
getCodeOffset
final Integer getCodeOffset()
If the scriptLanguage is WebAssembly, the code section offset in the module.
-
getScriptLanguage
final ScriptLanguage getScriptLanguage()
The language of the script.
-
getEmbedderName
final String getEmbedderName()
The name the embedder supplied for this script.
-
-
-
-