@PublicApi public class SourceLocation extends java.lang.Object implements java.io.Serializable
Constructor and Description |
---|
SourceLocation(int line,
int column) |
SourceLocation(int line,
int column,
java.lang.String sourceName) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getColumn() |
int |
getLine() |
java.lang.String |
getSourceName() |
int |
hashCode() |
java.lang.String |
toString() |
public SourceLocation(int line, int column)
public SourceLocation(int line, int column, java.lang.String sourceName)
public int getLine()
public int getColumn()
public java.lang.String getSourceName()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object