Class Coordinate


  • public class Coordinate
    extends java.lang.Object
    A line number and char position within a line. Used by the source mapping stuff to map address to range within a template.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int charPosition  
      int line  
    • Constructor Summary

      Constructors 
      Constructor Description
      Coordinate​(int a, int b)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • line

        public int line
      • charPosition

        public int charPosition
    • Constructor Detail

      • Coordinate

        public Coordinate​(int a,
                          int b)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object