Documentation ¶
Index ¶
- func IsChar(r1 rune) func(rune) bool
- func IsInt(r rune) bool
- func IsNonWordChar(r rune) bool
- func IsWordChar(r rune) bool
- type Lexer
- func (l *Lexer) Backup()
- func (l *Lexer) BackupN(n int)
- func (l *Lexer) IsEof() bool
- func (l *Lexer) Pos() int
- func (l *Lexer) Read() (rune, bool)
- func (l *Lexer) ReadChar(r1 rune) bool
- func (l *Lexer) ReadIf(fn func(rune) bool) (rune, bool)
- func (l *Lexer) ReadInt() (int, bool)
- func (l *Lexer) ReadUntil(fn func(rune) bool) string
- func (l *Lexer) ReadWhile(fn func(rune) bool) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNonWordChar ¶
func IsWordChar ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.