Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
Scanner represents a non-discriminatory reader.
func NewScanner ¶
NewScanner returns a new instance of Scanner.
type Token ¶
type Token int
Token represents a lexical token.
const ( // Illegal ILLEGAL Token = iota // Whitespace EOF NL TAB // Matches PAREN_OPEN PAREN_CLOSE BRACE_OPEN BRACE_CLOSE BRACKET_OPEN BRACKET_CLOSE // Arrows FAT_ARROW SLIM_ARROW // Comparison LT GT LTE GTE EQ EQEQ UNEQ // Hyphen HYPHEN // Arithmetic PLUS MINUS MUL DIV // Context PERIOD_MARK QUESTION_MARK EXCLAIM_MARK // Literals IDENT )
Click to show internal directories.
Click to hide internal directories.