Documentation ¶
Index ¶
- func ArrayLit(exprs []ast.Expr) *ast.ArrayLiteral
- func BoolLit(v bool) *ast.BoolLiteral
- func BytesLit(v []byte) *ast.BytesLiteral
- func DateLit(v civil.Date) *ast.DateLiteral
- func FloatLit(v float64) *ast.FloatLiteral
- func IntLit(v int64) *ast.IntLiteral
- func NullLit() *ast.NullLiteral
- func StringLit(v string) *ast.StringLiteral
- func TimeLit(v time.Time) *ast.TimestampLiteral
- func ToExpr(val interface{}) (ast.Expr, error)
- type ASTExpr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolLit ¶
func BoolLit(v bool) *ast.BoolLiteral
func BytesLit ¶
func BytesLit(v []byte) *ast.BytesLiteral
func FloatLit ¶
func FloatLit(v float64) *ast.FloatLiteral
func IntLit ¶
func IntLit(v int64) *ast.IntLiteral
func NullLit ¶
func NullLit() *ast.NullLiteral
func StringLit ¶
func StringLit(v string) *ast.StringLiteral
Types ¶
Click to show internal directories.
Click to hide internal directories.