TypeAnnotation

struct TypeAnnotation

A parsed type annotation with a half-open UTF-8 byte range.

Recursive children live in kind; array indirection is used where necessary to keep plain-value layouts finite. Names retain their own token spans for diagnostics and later resolution rather than being resolved during parsing.

Properties

let start: Int

The inclusive starting byte offset in the source.

let end: Int

The exclusive ending byte offset in the source.