NewMapEntry implements the ExprHelper interface method.
(key ast.Expr, val ast.Expr, optional bool)
| 424 | |
| 425 | // NewMapEntry implements the ExprHelper interface method. |
| 426 | func (e *exprHelper) NewMapEntry(key ast.Expr, val ast.Expr, optional bool) ast.EntryExpr { |
| 427 | return e.exprFactory.NewMapEntry(e.nextMacroID(), key, val, optional) |
| 428 | } |
| 429 | |
| 430 | // NewStruct implements the ExprHelper interface method. |
| 431 | func (e *exprHelper) NewStruct(typeName string, fieldInits ...ast.EntryExpr) ast.Expr { |
nothing calls this directly
no test coverage detected