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

NameTypeDescription
column ulongThe zero based code unit index of the referenced line.
file stringOptional file name.
line ulongThe zero based line of the input file.

Methods

NameDescription
toString Returns a string representation of the location.