Versions in this module Expand all Collapse all v0 v0.7.0 Dec 8, 2016 Changes in this version type Lexer + FilterDepth int v0.4.4 Sep 1, 2016 v0.4.3 Aug 11, 2016 v0.4.2 Jul 13, 2016 v0.4.1 Jul 13, 2016 v0.4.0 Jul 11, 2016 Changes in this version + const EOF + type CheckRune func(r rune) bool + type ItemType int + const ItemEOF + const ItemError + type Lexer struct + Depth int + Input string + Items chan item + Mode int + Pos int + Start int + Width int + func (l *Lexer) AcceptRun(c CheckRune) + func (l *Lexer) AcceptUntil(c CheckRune) + func (l *Lexer) Backup() + func (l *Lexer) Emit(t ItemType) + func (l *Lexer) Errorf(format string, args ...interface{}) StateFn + func (l *Lexer) Ignore() + func (l *Lexer) Init(input string) + func (l *Lexer) Next() (result rune) + func (l *Lexer) Peek() rune + type StateFn func(*Lexer) StateFn