(columns []column, inType super.Type)
| 205 | } |
| 206 | |
| 207 | func (t *translator) projection(columns []column, inType super.Type) { |
| 208 | for k := range columns { |
| 209 | // Translates all expressions that weren't already expanded |
| 210 | // from * patterns. |
| 211 | if columns[k].semExpr == nil { |
| 212 | e, typ := t.expr(columns[k].astExpr, inType) |
| 213 | columns[k].semExpr = e |
| 214 | columns[k].typ = typ |
| 215 | } |
| 216 | } |
| 217 | } |
| 218 | |
| 219 | func (t *translator) emitProjection(columns []column, grouped bool, seq sem.Seq) (sem.Seq, *staticTable) { |
| 220 | if len(columns) == 0 { |