offset property
The offset from the beginning of the file to the first character in the token.
Implementation
@override
int get offset => _typeAndOffset >> 8;
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);
}