MCPcopy Index your code
hub / github.com/sqlc-dev/sqlc / convertBetweenExpr

Method convertBetweenExpr

internal/engine/sqlite/convert.go:1188–1196  ·  view source on GitHub ↗
(n *parser.Expr_betweenContext)

Source from the content-addressed store, hash-verified

1186}
1187
1188func (c *cc) convertBetweenExpr(n *parser.Expr_betweenContext) ast.Node {
1189 return &ast.BetweenExpr{
1190 Expr: c.convert(n.Expr(0)),
1191 Left: c.convert(n.Expr(1)),
1192 Right: c.convert(n.Expr(2)),
1193 Location: n.GetStart().GetStart(),
1194 Not: n.NOT_() != nil,
1195 }
1196}
1197
1198func (c *cc) convertCastExpr(n *parser.Expr_castContext) ast.Node {
1199 name := n.Type_name().GetText()

Callers 1

convertMethod · 0.95

Calls 4

convertMethod · 0.95
GetStartMethod · 0.80
ExprMethod · 0.65
NOT_Method · 0.65

Tested by

no test coverage detected