Class Debugger.scriptParsed

    • Field Summary

       
      Serializable ID
      Modifier and Type Field
      protected static long serialVersionUID
      For Object Serialization.
       
      Event Properties
      Modifier and Type Field
      Integer codeOffset
      If the scriptLanguage is WebAssembly, the code section offset in the module.
      Debugger.DebugSymbols debugSymbols
      If the scriptLanguage is WebASsembly, the source of debug symbols for the module.
      String embedderName
      The name the embedder supplied for this script.
      int endColumn
      Length of the last line of the script.
      int endLine
      Last line of the script.
      JsonObject executionContextAuxData
      Embedder-specific auxiliary data.
      int executionContextId
      Specifies script creation context.
      String hash
      Content hash of the script.
      Boolean hasSourceURL
      True, if this script has sourceURL.
      Boolean isLiveEdit
      True, if this script is generated as a result of the live edit operation.
      Boolean isModule
      True, if this script is ES6 module.
      Integer length
      This script length.
      String scriptId
      Identifier of the script parsed.
      String scriptLanguage
      The language of the script.
      String sourceMapURL
      URL of source map associated with script (if any).
      RunTime.StackTrace stackTrace
      JavaScript top stack frame of where the script parsed event was triggered if available.
      int startColumn
      Column offset of the script within the resource with given URL.
      int startLine
      Line offset of the script within the resource with given URL (for script tags).
      String url
      URL or name of the script parsed (if any).
    • Constructor Summary

      Constructors 
      Constructor Description
      scriptParsed​(String scriptId, String url, int startLine, int startColumn, int endLine, int endColumn, int executionContextId, String hash, JsonObject executionContextAuxData, Boolean isLiveEdit, String sourceMapURL, Boolean hasSourceURL, Boolean isModule, Integer length, RunTime.StackTrace stackTrace, Integer codeOffset, String scriptLanguage, Debugger.DebugSymbols debugSymbols, String embedderName)
      Constructor
      scriptParsed​(JsonObject jo)
      JSON Object Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(Object other)
      Checks whether 'this' equals an input Java-Object
      int hashCode()
      Generates a Hash-Code for 'this' instance
      boolean[] optionals()
      Implementing this method allows sub-classes to specify which JSON Properties may be absent or null.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • scriptParsed

        🡅  🡇     🗕  🗗  🗖
        public scriptParsed​(java.lang.String scriptId,
                            java.lang.String url,
                            int startLine,
                            int startColumn,
                            int endLine,
                            int endColumn,
                            int executionContextId,
                            java.lang.String hash,
                            JsonObject executionContextAuxData,
                            java.lang.Boolean isLiveEdit,
                            java.lang.String sourceMapURL,
                            java.lang.Boolean hasSourceURL,
                            java.lang.Boolean isModule,
                            java.lang.Integer length,
                            RunTime.StackTrace stackTrace,
                            java.lang.Integer codeOffset,
                            java.lang.String scriptLanguage,
                            Debugger.DebugSymbols debugSymbols,
                            java.lang.String embedderName)
        Constructor
        Parameters:
        scriptId - Identifier of the script parsed.
        url - URL or name of the script parsed (if any).
        startLine - Line offset of the script within the resource with given URL (for script tags).
        startColumn - Column offset of the script within the resource with given URL.
        endLine - Last line of the script.
        endColumn - Length of the last line of the script.
        executionContextId - Specifies script creation context.
        hash - Content hash of the script.
        executionContextAuxData - Embedder-specific auxiliary data.
        OPTIONAL
        isLiveEdit - True, if this script is generated as a result of the live edit operation.
        OPTIONAL
        EXPERIMENTAL
        sourceMapURL - URL of source map associated with script (if any).
        OPTIONAL
        hasSourceURL - True, if this script has sourceURL.
        OPTIONAL
        isModule - True, if this script is ES6 module.
        OPTIONAL
        length - This script length.
        OPTIONAL
        stackTrace - JavaScript top stack frame of where the script parsed event was triggered if available.
        OPTIONAL
        EXPERIMENTAL
        codeOffset - If the scriptLanguage is WebAssembly, the code section offset in the module.
        OPTIONAL
        EXPERIMENTAL
        scriptLanguage - The language of the script.
        OPTIONAL
        EXPERIMENTAL
        debugSymbols - If the scriptLanguage is WebASsembly, the source of debug symbols for the module.
        OPTIONAL
        EXPERIMENTAL
        embedderName - The name the embedder supplied for this script.
        OPTIONAL
        EXPERIMENTAL
    • Method Detail

      • optionals

        🡅  🡇     🗕  🗗  🗖
        public boolean[] optionals()
        Description copied from class: BaseType
        Implementing this method allows sub-classes to specify which JSON Properties may be absent or null. When binding a JsonObject to a Java-Object, if some of the expected fields for the Java-Object map to Properties which might be left-out or omitted, then that may be indicated by setting that fields array position TRUE.

        NOTE: This array should have a length equal to the number of fields contained by the Java Object. The first boolean in the array should specify whether the first Object Field may by absent. The second boolean should specify whether the second Object Field is optional in the JSON - and so on and so forth...
        Specified by:
        optionals in class BaseType
        Returns:
        A boolean[] array whose length is precisely equal to the number of fields in the Java Object.
      • equals

        🡅  🡇     🗕  🗗  🗖
        public boolean equals​(java.lang.Object other)
        Checks whether 'this' equals an input Java-Object
        Overrides:
        equals in class java.lang.Object
      • hashCode

        🡅     🗕  🗗  🗖
        public int hashCode()
        Generates a Hash-Code for 'this' instance
        Overrides:
        hashCode in class java.lang.Object