Documentation ¶ Index ¶ type Lexer func New() Lexer Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Lexer ¶ type Lexer interface { // Read reads the input text and stores into the buffer Read(text string) int // NextToken reads the next token starting at the current offset and move the ptr forward NextToken() token.Token } func New ¶ func New() Lexer Source Files ¶ View all Source files lexer.go Click to show internal directories. Click to hide internal directories.