|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Tools.Annotation.Lex.LinePos
public class LinePos
LocPair
is a line number, character position pair
to denote a location in the input file.
Field Summary | |
---|---|
int |
line
Line number in the source file. |
int |
pos
Character position in the line. |
Constructor Summary | |
---|---|
LinePos(int line,
int pos)
Creates a LocPair . |
Method Summary | |
---|---|
String |
toString()
Human-readable representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final int line
public final int pos
Constructor Detail |
---|
public LinePos(int line, int pos)
LocPair
.
Method Detail |
---|
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |