Documentation
¶
Index ¶
- type Parser
- func (p *Parser) Errors() []*sqlerrors.ParseError
- func (p *Parser) Expression(instance exp.Expression) exp.Expression
- func (p *Parser) Parse(rawTokens []tokens.Token, sql string) (expressions []exp.Expression, err error)
- func (p *Parser) ParseInto(rawTokens []tokens.Token, sql string, into exp.Kind) (out []exp.Expression, err error)
- func (p *Parser) Reset()
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 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
Source Files
¶
- dialect_athena_router.go
- dialect_hive_overrides.go
- dialect_mysql_overrides.go
- dialect_mysql_set_role.go
- dialect_mysql_set_show.go
- dialect_parser_overrides.go
- dialect_postgres_overrides.go
- dialect_postgres_set.go
- dialect_postgres_show_reset.go
- dialect_presto_overrides.go
- dialect_trino_overrides.go
- mysql_create_partitions.go
- parser.go
- parser_constraints.go
- parser_ddl.go
- parser_dml.go
- parser_functions.go
- parser_hint.go
- parser_interval.go
- parser_json.go
- parser_lambda.go
- parser_pivot.go
- parser_properties_fidelity.go
- parser_stmt_common.go
- parser_tablesample.go
- parser_types.go
- parser_xml.go
- sets.go
- sets_statements.go
- stmt_alter.go
- stmt_analyze.go
- stmt_cache.go
- stmt_comment_truncate.go
- stmt_copy.go
- stmt_drop.go
- stmt_grant.go
- stmt_misc.go
- stmt_refresh.go
- stmt_set.go
- stmt_show.go
- stmt_transaction.go
Click to show internal directories.
Click to hide internal directories.