org.stringtemplate.v4.misc
Class Coordinate

java.lang.Object
  extended by org.stringtemplate.v4.misc.Coordinate

public class Coordinate
extends 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
 int charPosition
           
 int line
           
 
Constructor Summary
Coordinate(int a, int b)
           
 
Method Summary
 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 String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.