@comfit/wasm / Token
Interface: Token
Defined in: types.ts:131
Owned source text with an optional capture style and bracket depth.
Properties
highlight
readonlyhighlight:string|null
Defined in: types.ts:135
Query capture name, or null for unstyled text.
rainbow
readonlyrainbow:number|null
Defined in: types.ts:137
Zero-based bracket depth, or null when no bracket depth was collected.
text
readonlytext:string
Defined in: types.ts:133
Source text without newline separators.