Documentation
¶
Overview ¶
Package lexer contains the code to lex input-programs into a stream of tokens, such that they may be parsed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lexer ¶
type Lexer struct {
// contains filtered or unexported fields
}
Lexer holds our object-state.
func NewWithOptions ¶
NewWithOptions returns a Lexer instance with the given options.
func (*Lexer) CurrentPosition ¶
CurrentPosition returns a Position object for the current read position.
Click to show internal directories.
Click to hide internal directories.