Documentation
¶
Overview ¶
Package tokenizer provides an SQL statement parser
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsComplete ¶
IsComplete returns true if the input string appears to be a complete SQL statement
Types ¶
type KeywordToken ¶
type KeywordToken string // An SQL reserved keyword
type PuncuationToken ¶
type PuncuationToken string // A punctuation character
type Tokenizer ¶
A tokenizer that scans the input SQL statement
func NewTokenizer ¶
NewTokenizer returns a new Tokenizer that scans the input SQL statement
type ValueToken ¶
type ValueToken string // A value literal
type WhitespaceToken ¶
type WhitespaceToken string // Whitespace token
Click to show internal directories.
Click to hide internal directories.