(factory ExprFactory, id int64, e *exprpb.Expr_CreateStruct_Entry)
| 236 | } |
| 237 | |
| 238 | func exprMapEntry(factory ExprFactory, id int64, e *exprpb.Expr_CreateStruct_Entry) (EntryExpr, error) { |
| 239 | k, err := exprInternal(factory, e.GetMapKey()) |
| 240 | if err != nil { |
| 241 | return nil, err |
| 242 | } |
| 243 | v, err := exprInternal(factory, e.GetValue()) |
| 244 | if err != nil { |
| 245 | return nil, err |
| 246 | } |
| 247 | return factory.NewMapEntry(id, k, v, e.GetOptionalEntry()), nil |
| 248 | } |
| 249 | |
| 250 | func exprSelect(factory ExprFactory, id int64, s *exprpb.Expr_Select) (Expr, error) { |
| 251 | op, err := exprInternal(factory, s.GetOperand()) |
no test coverage detected