Versions in this module Expand all Collapse all v0 v0.7.3 Feb 22, 2017 Changes in this version + func HasUChars(r rune, l *Lexer) bool + func LexIRIRef(l *Lexer, styp ItemType) error type Lexer + func (l *Lexer) IgnoreRun(c CheckRune) v0.7.2 Jan 27, 2017 Changes in this version + type CheckRuneRec func(r rune, l *Lexer) bool + type ItemIterator struct + func (p *ItemIterator) Item() item + func (p *ItemIterator) Next() bool + func (p *ItemIterator) Peek(num int) ([]item, error) + func (p *ItemIterator) Prev() bool type Lexer + ArgDepth int + InsideDirective bool + func NewLexer(input string) *Lexer + func (l *Lexer) AcceptRunRec(c CheckRuneRec) + func (l *Lexer) AcceptRunTimes(c CheckRune, times int) int + func (l *Lexer) NewIterator() *ItemIterator + func (l *Lexer) Run(f StateFn) *Lexer v0.7.2-1 Feb 10, 2017 v0.7.1 Dec 26, 2016 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