Class ScriptFailedToParse


  • public class ScriptFailedToParse
    extends java.lang.Object
    Fired when virtual machine fails to parse the script
    • Method Summary

      Modifier and Type Method Description
      java.lang.Integer getEndColumn()
      Length of the last line of the script.
      java.lang.Integer getEndLine()
      Last line of the script.
      java.lang.Object getExecutionContextAuxData()
      Embedder-specific auxiliary data.
      java.lang.Integer getExecutionContextId()
      Specifies script creation context.
      java.lang.String getHash()
      Content hash of the script.
      java.lang.Boolean getHasSourceURL()
      True, if this script has sourceURL.
      java.lang.Boolean getIsModule()
      True, if this script is ES6 module.
      java.lang.Integer getLength()
      This script length.
      java.lang.String getScriptId()
      Identifier of the script parsed.
      java.lang.String getSourceMapURL()
      URL of source map associated with script (if any).
      StackTrace getStackTrace()
      JavaScript top stack frame of where the script parsed event was triggered if available.
      java.lang.Integer getStartColumn()
      Column offset of the script within the resource with given URL.
      java.lang.Integer getStartLine()
      Line offset of the script within the resource with given URL (for script tags).
      java.lang.String getUrl()
      URL or name of the script parsed (if any).
      void setEndColumn​(java.lang.Integer endColumn)
      Length of the last line of the script.
      void setEndLine​(java.lang.Integer endLine)
      Last line of the script.
      void setExecutionContextAuxData​(java.lang.Object executionContextAuxData)
      Embedder-specific auxiliary data.
      void setExecutionContextId​(java.lang.Integer executionContextId)
      Specifies script creation context.
      void setHash​(java.lang.String hash)
      Content hash of the script.
      void setHasSourceURL​(java.lang.Boolean hasSourceURL)
      True, if this script has sourceURL.
      void setIsModule​(java.lang.Boolean isModule)
      True, if this script is ES6 module.
      void setLength​(java.lang.Integer length)
      This script length.
      void setScriptId​(java.lang.String scriptId)
      Identifier of the script parsed.
      void setSourceMapURL​(java.lang.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​(java.lang.Integer startColumn)
      Column offset of the script within the resource with given URL.
      void setStartLine​(java.lang.Integer startLine)
      Line offset of the script within the resource with given URL (for script tags).
      void setUrl​(java.lang.String url)
      URL or name of the script parsed (if any).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScriptFailedToParse

        public ScriptFailedToParse()
    • Method Detail

      • 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).
      • getHasSourceURL

        public java.lang.Boolean getHasSourceURL()
        True, if this script has sourceURL.
      • setHasSourceURL

        public void setHasSourceURL​(java.lang.Boolean hasSourceURL)
        True, if this script has sourceURL.
      • getIsModule

        public java.lang.Boolean getIsModule()
        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

        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.