ast

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AndExpr added in v0.0.16

type AndExpr struct {
	Expr1 Node
	Expr2 Node
}

type ArgExprList added in v0.0.16

type ArgExprList []Node

type CreateSetStmt

type CreateSetStmt struct {
	SetName string
}

type DeleteStmt added in v0.0.18

type DeleteStmt struct {
	From  string
	Where Node
}

func (*DeleteStmt) SQL added in v0.0.18

func (d *DeleteStmt) SQL() (string, error)

type DropSetStmt added in v0.0.18

type DropSetStmt struct {
	SetName string
}

type EqualExpr added in v0.0.16

type EqualExpr struct {
	Expr1 Node
	Expr2 Node
}

type FilterExpr added in v0.0.16

type FilterExpr struct {
	ExprList []Node
}

type GreaterThanExpr added in v0.0.16

type GreaterThanExpr struct {
	Expr1 Node
	Expr2 Node
}

type GreaterThanOrEqualExpr added in v0.0.16

type GreaterThanOrEqualExpr struct {
	Expr1 Node
	Expr2 Node
}

type InfoStmt added in v0.0.8

type InfoStmt struct {
	Topic string
}

type InsertStmt added in v0.0.14

type InsertStmt struct {
	Into  string
	Query Node
}

func (*InsertStmt) SQL added in v0.0.14

func (i *InsertStmt) SQL() (string, error)

type LessThanExpr added in v0.0.16

type LessThanExpr struct {
	Expr1 Node
	Expr2 Node
}

type LessThanOrEqualExpr added in v0.0.16

type LessThanOrEqualExpr struct {
	Expr1 Node
	Expr2 Node
}

type LimitClause added in v0.0.16

type LimitClause struct {
	Valid bool
	Count string
}

type Name added in v0.0.16

type Name struct {
	Value string
}

type Node

type Node interface {
	// contains filtered or unexported methods
}

type NotEqualExpr added in v0.0.16

type NotEqualExpr struct {
	Expr1 Node
	Expr2 Node
}

type NotExpr added in v0.0.16

type NotExpr struct {
	Expr Node
}

type Number added in v0.0.16

type Number struct {
	Value string
}

type OffsetClause added in v0.0.17

type OffsetClause struct {
	Valid bool
	Start string
}

type Option

type Option struct {
	Action string
	Name   string
	Val    string
}

type OrExpr added in v0.0.16

type OrExpr struct {
	Expr1 Node
	Expr2 Node
}

type OrderClause added in v0.0.16

type OrderClause struct {
	Valid bool
	Attr  string
	Desc  bool
}

type ParenExpr added in v0.0.16

type ParenExpr struct {
	Expr Node
}

type ParseTree added in v0.0.17

type ParseTree struct {
	Commands []Node
}

type PingStmt

type PingStmt struct {
}

type QueryClause added in v0.0.16

type QueryClause struct {
	From   string
	Where  Node
	Order  Node
	Limit  Node
	Offset Node
}

type SLiteral added in v0.0.16

type SLiteral struct {
	Value string
}

type SelectAttrList added in v0.0.16

type SelectAttrList struct {
	Attr string
}

type SelectStmt added in v0.0.8

type SelectStmt struct {
	AttrList Node
	Query    Node
}

func (*SelectStmt) SQL added in v0.0.14

func (s *SelectStmt) SQL() (string, error)

type ShowStmt added in v0.0.5

type ShowStmt struct {
	Name string
}

type TagExpr added in v0.0.16

type TagExpr struct {
	ExprList []Node
}

type WhereClause added in v0.0.16

type WhereClause struct {
	Valid     bool
	Condition Node
}

Jump to

Keyboard shortcuts

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