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

Function convertA_ArrayExpr

internal/engine/postgresql/convert.go:88–96  ·  view source on GitHub ↗
(n *pg.A_ArrayExpr)

Source from the content-addressed store, hash-verified

86}
87
88func convertA_ArrayExpr(n *pg.A_ArrayExpr) *ast.A_ArrayExpr {
89 if n == nil {
90 return nil
91 }
92 return &ast.A_ArrayExpr{
93 Elements: convertSlice(n.Elements),
94 Location: int(n.Location),
95 }
96}
97
98func convertA_Const(n *pg.A_Const) *ast.A_Const {
99 if n == nil {

Callers 1

convertNodeFunction · 0.85

Calls 1

convertSliceFunction · 0.85

Tested by

no test coverage detected