Tuple represents a parenthesized list of expressions.
| 815 | |
| 816 | // Tuple represents a parenthesized list of expressions. |
| 817 | type Tuple struct { |
| 818 | Exprs Exprs |
| 819 | Labels []string |
| 820 | |
| 821 | // Row indicates whether `ROW` was used in the input syntax. This is |
| 822 | // used solely to generate column names automatically, see |
| 823 | // col_name.go. |
| 824 | Row bool |
| 825 | |
| 826 | typ *types.T |
| 827 | } |
| 828 | |
| 829 | // NewTypedTuple returns a new Tuple that is verified to be well-typed. |
| 830 | func NewTypedTuple(typ *types.T, typedExprs Exprs) *Tuple { |
nothing calls this directly
no outgoing calls
no test coverage detected