5
5
// Package scanner provides a scanner and tokenizer for UTF-8-encoded text.
6
6
// It takes an io.Reader providing the source, which then can be tokenized
7
7
// through repeated calls to the Scan function. For compatibility with
10
11
// By default, a Scanner skips white space and Go comments and recognizes all
11
12
// literals as defined by the Go language specification. It may be