Class Location
java.lang.Object
com.oracle.truffle.tools.chromeinspector.types.Location
-
Constructor Summary
ConstructorsConstructorDescriptionLocation(int scriptId, int line, int column) A location with 1-based line numbers and 1-based columns. -
Method Summary
-
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
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()
-