|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxtc.tree.Location
public class Location
The location in a source file.
| Field Summary | |
|---|---|
int |
column
The column. |
java.lang.String |
file
The file name. |
int |
line
The line number. |
| Constructor Summary | |
|---|---|
Location(java.lang.String file,
int line,
int column)
Create a new location. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
java.lang.String |
toString()
|
void |
write(java.lang.Appendable out)
Write this location to the specified appenable. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final java.lang.String file
public final int line
public final int column
| Constructor Detail |
|---|
public Location(java.lang.String file,
int line,
int column)
file - The file name.line - The line number.column - The column.| Method Detail |
|---|
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparable
public void write(java.lang.Appendable out)
throws java.io.IOException
out - The appendable.
java.io.IOException - Signals an I/O error.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||