TreeSitterHighlightedSlice
TreeSitterHighlightedSlice =
object
Properties
Section titled “Properties”endsAtSourceEnd
Section titled “endsAtSourceEnd”
readonlyendsAtSourceEnd:boolean
readonlykind:"highlighted"
quality
Section titled “quality”
readonlyquality:"known-start"|"provisional"
timings
Section titled “timings”
readonlytimings:TreeSitterSliceTimings&object
Type Declaration
Section titled “Type Declaration”preparationMs
Section titled “preparationMs”
readonlypreparationMs:number
roundTripMs
Section titled “roundTripMs”
readonlyroundTripMs:number
tokens
Section titled “tokens”
readonlytokens:EditorTokenStore
UTF-16 offsets relative to the submitted text.