Documentation
¶
Overview ¶
Package lexer turns Kukel source text into tokens (syntax.ebnf, section 4).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Lexer ¶
type Lexer struct {
// KeepComments makes Next return comments as COMMENT tokens (with the
// "//", "#" or "/* */" in their text) instead of skipping them.
KeepComments bool
// contains filtered or unexported fields
}
Lexer scans one source file.
Click to show internal directories.
Click to hide internal directories.