Skip to content

TreeSitterHighlightedSlice

TreeSitterHighlightedSlice = object

readonly endsAtSourceEnd: boolean


readonly kind: "highlighted"


readonly quality: "known-start" | "provisional"


readonly timings: TreeSitterSliceTimings & object

readonly preparationMs: number

readonly roundTripMs: number


readonly tokens: EditorTokenStore

UTF-16 offsets relative to the submitted text.