Skip to content

@comfit/wasm / Line

Interface: Line

Defined in: types.ts:141

A source line without its newline separator, including empty source lines.

Properties

highlighted

readonly highlighted: boolean

Defined in: types.ts:145

Whether this line is selected for emphasis.


number

readonly number: number

Defined in: types.ts:143

One-based source line number.


tokens

readonly tokens: readonly Token[]

Defined in: types.ts:147

Tokens in source order. Token boundaries may differ from syntax node boundaries.