package
1.1.0-beta
Repository: https://github.com/3pointer/tidb.git
Documentation: pkg.go.dev

# Packages

Goyacc is a version of yacc generating Go parsers.
No description provided by the author

# Functions

New returns a Parser object.
NewScanner returns a new scanner object.
ParseErrorWith returns "You have a syntax error near..." error message compatible with mysql.
TrimComment trim comment for special comment code of MySQL.

# Variables

ErrParse returns for sql parse error.
ErrSyntax returns for sql syntax error.
SpecFieldPattern special result field pattern.

# Structs

Parser represents a parser instance.
Pos represents the position of a token.
Scanner implements the yyLexer interface.