parser

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

func New

func New(d *dialects.Dialect) *Parser

func NewWithErrorLevel

func NewWithErrorLevel(d *dialects.Dialect, level sqlerrors.ErrorLevel) *Parser

func (*Parser) Errors

func (p *Parser) Errors() []*sqlerrors.ParseError

func (*Parser) Expression

func (p *Parser) Expression(instance exp.Expression) exp.Expression

func (*Parser) Parse

func (p *Parser) Parse(rawTokens []tokens.Token, sql string) (expressions []exp.Expression, err error)

func (*Parser) ParseInto

func (p *Parser) ParseInto(rawTokens []tokens.Token, sql string, into exp.Kind) (out []exp.Expression, err error)

func (*Parser) Reset

func (p *Parser) Reset()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL