struct ScanResultProperties
let tokens: [Token]
Non-comment tokens in source order.
let comments: [Comment]
Line-comment spans in source order.
let error: String?
The scanner error message, when tokenization stopped early.
let error_pos: Int
The scan cursor when the error was detected (line/col derive from it); meaningless without an error.