TokenRange

data class TokenRange(val startInclusive: Int, val endExclusive: Int)

End-exclusive range of absolute token identifiers in a LexedSource.

Throws

if either bound is negative or the end precedes the start

Constructors

Link copied to clipboard
constructor(startInclusive: Int, endExclusive: Int)

Properties

Link copied to clipboard

first token ID outside the range

Link copied to clipboard

first token ID in the range