MCPcopy
hub / github.com/sqlc-dev/sqlc / convertExprListContext

Method convertExprListContext

internal/engine/sqlite/convert.go:524–530  ·  view source on GitHub ↗
(n *parser.Expr_listContext)

Source from the content-addressed store, hash-verified

522}
523
524func (c *cc) convertExprListContext(n *parser.Expr_listContext) ast.Node {
525 list := &ast.List{Items: []ast.Node{}}
526 for _, e := range n.AllExpr() {
527 list.Items = append(list.Items, c.convert(e))
528 }
529 return list
530}
531
532func (c *cc) getTables(core *parser.Select_coreContext) []ast.Node {
533 if core.Join_clause() != nil {

Callers 1

convertMethod · 0.95

Calls 2

convertMethod · 0.95
AllExprMethod · 0.65

Tested by

no test coverage detected