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