Skip to content

@comfit/node / Token

Interface: Token

Defined in: index.d.ts:182

An owned source slice with an optional capture and zero-based bracket depth.

Properties

highlight

highlight: string | null

Defined in: index.d.ts:186

Capture name, or null for unstyled text.


rainbow

rainbow: number | null

Defined in: index.d.ts:188

Zero-based bracket depth, or null if none was collected.


text

text: string

Defined in: index.d.ts:184

Source text without newline separators.