ResolvedLocation.index

byte offset of the character in question - may be 0 if line and column are set

struct ResolvedLocation
ulong index;

Meta