NewMapEntry implements the ExprHelper interface method.
(key ast.Expr, val ast.Expr, optional bool)
| 461 | |
| 462 | // NewMapEntry implements the ExprHelper interface method. |
| 463 | func (e *exprHelper) NewMapEntry(key ast.Expr, val ast.Expr, optional bool) ast.EntryExpr { |
| 464 | return e.exprFactory.NewMapEntry(e.nextMacroID(), key, val, optional) |
| 465 | } |
| 466 | |
| 467 | // NewStruct implements the ExprHelper interface method. |
| 468 | func (e *exprHelper) NewStruct(typeName string, fieldInits ...ast.EntryExpr) ast.Expr { |
nothing calls this directly
no test coverage detected