Documentation ¶ Index ¶ type Lexer func New(input string) *Lexer func (l *Lexer) Lex() Token type Token type TokenType 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 New ¶ func New(input string) *Lexer func (*Lexer) Lex ¶ func (l *Lexer) Lex() Token type Token ¶ type Token struct { Kind TokenType Str string } type TokenType ¶ type TokenType int const ( Eof TokenType = iota Slct From Where And Orderby Inner Outer Left Right Join On Union Intersect Minus Insert Into Values Update Set Del Comma Lparen Rparen Equal Less Greater Star Str Num StringLit ) Source Files ¶ View all Source files lex.go Click to show internal directories. Click to hide internal directories.