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

Struct CaseExpr

internal/sql/ast/case_expr.go:5–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import "github.com/sqlc-dev/sqlc/internal/sql/format"
4
5type CaseExpr struct {
6 Xpr Node
7 Casetype Oid
8 Casecollid Oid
9 Arg Node
10 Args *List
11 Defresult Node
12 Location int
13}
14
15func (n *CaseExpr) Pos() int {
16 return n.Location

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected