Struct Location
Represents a location in an input range/file.
struct Location
;
The indices are zero based and the column is represented in code units of the input (i.e. in bytes in case of a UTF-8 input string).
Fields
| Name | Type | Description |
|---|---|---|
column
|
ulong | The zero based code unit index of the referenced line. |
file
|
string | Optional file name. |
line
|
ulong | The zero based line of the input file. |
Methods
| Name | Description |
|---|---|
toString
|
Returns a string representation of the location. |