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