MetaToken

struct MetaToken

A token carried in node meta (ADR 0043 option A): the reference token shape with line/col stamped at the token's END (0-based line, character-counted column, reset on newline).

Properties

let kind: TokenKind

The token's lexical category.

let start: Int

The inclusive starting byte offset in the source.

let end: Int

The exclusive ending byte offset in the source.

let line: Int

The zero-based source line.

let col: Int

The zero-based source column.