Documentation ¶
Index ¶
Constants ¶
View Source
const EOF rune = -1
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Lexer ¶
type Lexer struct { TokenGenerator func(rune) Token Peeked Token // contains filtered or unexported fields }
type Parser ¶
func (*Parser) CheckUTF8Error ¶
if p encountered any utf8 errors when lexing, retrieve them here
Click to show internal directories.
Click to hide internal directories.