public final class SourceLocation extends Object
Constructor and Description |
---|
SourceLocation(int line,
int column)
Creates a new instance with a given line and column number.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getColumnNumber()
Gets the source column number.
|
int |
getLineNumber()
Gets the source line number.
|
int |
hashCode() |
public SourceLocation(int line, int column)
line
- the source line number, or -1 if not availablecolumn
- the source column number, or -1 if not availableCopyright © 2010–2015 Planetary Data System. All rights reserved.