Class Location

java.lang.Object
com.oracle.truffle.tools.chromeinspector.types.Location

public final class Location extends Object
  • Constructor Details

    • Location

      public Location(int scriptId, int line, int column)
      A location with 1-based line numbers and 1-based columns. When the column is 0, it is considered to be undefined.
  • Method Details

    • create

      public static Location create(org.graalvm.shadowed.org.json.JSONObject location)
      Create a location from the JSON description.
      Returns:
      the location, or null
    • getScriptId

      public int getScriptId()
    • getLine

      public int getLine()
    • getColumn

      public int getColumn()
    • toJSON

      public org.graalvm.shadowed.org.json.JSONObject toJSON()