Versions in this module Expand all Collapse all v0 v0.1.2 Aug 25, 2026 Changes in this version + type File struct + Stmts []ast.Stmt + Trivia []token.Token + func ParseFile(src string) (*File, error) type Options + func (o Options) ParseFile(src string) (f *File, err error) v0.1.1 Jul 31, 2026 Changes in this version + type Options struct + UpdateDeleteLimit bool + func (o Options) Parse(ctx context.Context, r io.Reader) ([]ast.Stmt, error) + func (o Options) ParseStatement(src string) (ast.Stmt, error) + func (o Options) ParseString(src string) (stmts []ast.Stmt, err error) v0.1.0 Jul 31, 2026 Changes in this version + func LineCol(src string, offset int) (line, col int) + func Parse(ctx context.Context, r io.Reader) ([]ast.Stmt, error) + func ParseExpr(src string) (expr ast.Expr, err error) + func ParseStatement(src string) (ast.Stmt, error) + func ParseString(src string) (stmts []ast.Stmt, err error) + type Error struct + Message string + Offset int + SQL string + func (e *Error) Error() string