endOffset

abstract fun endOffset(): Int

Returns this Token's ending offset, one greater than the position of the last character corresponding to this token in the source text. The length of the token in the source text is ( endOffset() - .startOffset).

See also

.setOffset