public class SourceLocation
Stores line and column information of a location.
| Constructor and Description |
|---|
SourceLocation(int line,
int column)
Stores line and column information of a location.
|
| Modifier and Type | Method and Description |
|---|---|
int |
component1() |
int |
component2() |
SourceLocation |
copy(int line,
int column)
Stores line and column information of a location.
|
boolean |
equals(java.lang.Object p) |
int |
getColumn() |
int |
getLine() |
int |
hashCode() |
java.lang.String |
toString() |
public SourceLocation(int line,
int column)
Stores line and column information of a location.
public java.lang.String toString()
public int getLine()
public int getColumn()
public int component1()
public int component2()
public SourceLocation copy(int line, int column)
Stores line and column information of a location.
public int hashCode()
public boolean equals(java.lang.Object p)