Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Tokenizer ¶
type Tokenizer struct {
// contains filtered or unexported fields
}
Tokenizer represents a lexical scanner.
This implements its own internal rune buffer in order to support both read() and unread(). It's not possible to use bufio's UnreadRune() because this can only unread a single rune, and Peek() clears the rune buffer.
Click to show internal directories.
Click to hide internal directories.