Tuple represents a parenthesized list of expressions.
| 908 | |
| 909 | // Tuple represents a parenthesized list of expressions. |
| 910 | type Tuple struct { |
| 911 | Exprs Exprs |
| 912 | Labels []string |
| 913 | |
| 914 | // Row indicates whether `ROW` was used in the input syntax. This is |
| 915 | // used solely to generate column names automatically, see |
| 916 | // col_name.go. |
| 917 | Row bool |
| 918 | |
| 919 | typ *types.T |
| 920 | } |
| 921 | |
| 922 | // NewTypedTuple returns a new Tuple that is verified to be well-typed. |
| 923 | func NewTypedTuple(typ *types.T, typedExprs Exprs) *Tuple { |
nothing calls this directly
no outgoing calls
no test coverage detected