| Constructor and description |
|---|
PositionInfo(int line, int column)Stores a source location. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public boolean |
equals(Object o) |
|
public int |
getColumn()Returns the stored column. |
|
public int |
getLine()Returns the stored line. |
|
public int |
hashCode() |
|
public void |
setColumn(int column)Replaces the stored column. |
|
public void |
setLine(int line)Replaces the stored line. |
|
public String |
toString() |
Stores a source location. Coordinates are the caret position used by the syntax error, including any offset the caller already applied.
line - 1-based line, or -1 when the location is omittedcolumn - 1-based column, or -1 when the location is omittedReturns the stored column.
-1 when omittedReturns the stored line.
-1 when omittedReplaces the stored column.
column - 1-based column, or -1 to omit the locationReplaces the stored line.
line - 1-based line, or -1 to omit the locationCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.