offset property

  1. @override
int get offset
inherited

The offset from the beginning of the file to the first character in the token.

Implementation

@override
int get offset => _typeAndOffset >> 8;
  1. @override
set offset (int value)
inherited

Set the offset from the beginning of the file to the first character in the token to the given offset.

Implementation

@override
void set offset(int value) {
  assert(_tokenTypesByIndex.length < 256);
  _typeAndOffset = (value << 8) | (_typeAndOffset & 0xff);
}