NewMapEntry creates a Map Entry for the key, value pair.
(key *exprpb.Expr, val *exprpb.Expr, optional bool)
| 431 | |
| 432 | // NewMapEntry creates a Map Entry for the key, value pair. |
| 433 | func (ah *adaptingHelper) NewMapEntry(key *exprpb.Expr, val *exprpb.Expr, optional bool) *exprpb.Expr_CreateStruct_Entry { |
| 434 | return mustAdaptToProtoEntry( |
| 435 | ah.modernHelper.NewMapEntry(mustAdaptToExpr(key), mustAdaptToExpr(val), optional)) |
| 436 | } |
| 437 | |
| 438 | // NewObject creates a CreateStruct instruction for an object with a given type name and |
| 439 | // optional set of field initializers. |
nothing calls this directly
no test coverage detected