Class ScriptParsed


  • public class ScriptParsed
    extends Object
    Fired when virtual machine parses script This event is also fired for all known and uncollected scripts upon enabling debugger
    • Constructor Detail

      • ScriptParsed

        public ScriptParsed()
    • 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.
      • isIsLiveEdit

        public Boolean isIsLiveEdit()
        True, if this script is generated as a result of the live edit operation.
      • setIsLiveEdit

        public void setIsLiveEdit​(Boolean isLiveEdit)
        True, if this script is generated as a result of the live edit operation.
      • 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.