Class Location


  • public class Location
    extends java.lang.Object
    Location in the source code.
    • Constructor Summary

      Constructors 
      Constructor Description
      Location​(ScriptId scriptId, java.lang.Integer lineNumber, java.util.Optional<java.lang.Integer> columnNumber)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.Integer> getColumnNumber()
      Column number in the script (0-based).
      java.lang.Integer getLineNumber()
      Line number in the script (0-based).
      ScriptId getScriptId()
      Script identifier as reported in the `Debugger.scriptParsed`.
      • Methods inherited from class java.lang.Object

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

      • Location

        public Location​(ScriptId scriptId,
                        java.lang.Integer lineNumber,
                        java.util.Optional<java.lang.Integer> columnNumber)
    • Method Detail

      • getScriptId

        public ScriptId getScriptId()
        Script identifier as reported in the `Debugger.scriptParsed`.
      • getLineNumber

        public java.lang.Integer getLineNumber()
        Line number in the script (0-based).
      • getColumnNumber

        public java.util.Optional<java.lang.Integer> getColumnNumber()
        Column number in the script (0-based).