Documentation ¶
Index ¶
- type Lexer
- func (l *Lexer) CatchSyntaxError(f func()) (errRes *errors.QueryError)
- func (l *Lexer) Consume()
- func (l *Lexer) ConsumeFloat() float64
- func (l *Lexer) ConsumeIdent() string
- func (l *Lexer) ConsumeInt() int
- func (l *Lexer) ConsumeKeyword(keyword string)
- func (l *Lexer) ConsumeString() string
- func (l *Lexer) ConsumeToken(expected rune)
- func (l *Lexer) Peek() rune
- func (l *Lexer) SyntaxError(message string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lexer ¶
type Lexer struct {
// contains filtered or unexported fields
}
func (*Lexer) CatchSyntaxError ¶
func (l *Lexer) CatchSyntaxError(f func()) (errRes *errors.QueryError)
func (*Lexer) ConsumeFloat ¶
func (*Lexer) ConsumeIdent ¶
func (*Lexer) ConsumeInt ¶
func (*Lexer) ConsumeKeyword ¶
func (*Lexer) ConsumeString ¶
func (*Lexer) ConsumeToken ¶
func (*Lexer) SyntaxError ¶
Click to show internal directories.
Click to hide internal directories.