START_COLUMN_INDEX constant

int const START_COLUMN_INDEX

The following constants can be used as indexes to dereference values in the msgLocation and errorLocation arrays.

Locations are constructed by the method getLocation in LexStream which takes two arguments: a start and an end location and returns an array of 6 integers.

Implementation

static const int OFFSET_INDEX = 0,
    LENGTH_INDEX = 1,
    START_LINE_INDEX = 2,
    START_COLUMN_INDEX = 3,
    END_LINE_INDEX = 4,
    END_COLUMN_INDEX = 5;