Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Directive ¶
func ParseDirective ¶
type Lexer ¶
type Lexer struct {
// contains filtered or unexported fields
}
Lexer gets values, token by token, from an io.Reader.
func NewLexer ¶
Loads an io.Reader and wraps it into a bufio.Reader to prepare the Lexer for scanning tokens.
func (*Lexer) Next ¶
Loads a token only if on the same line. Returns true if a token is found, false otherwise.
Click to show internal directories.
Click to hide internal directories.