NewStruct implements the ExprHelper interface method.
(typeName string, fieldInits ...ast.EntryExpr)
| 466 | |
| 467 | // NewStruct implements the ExprHelper interface method. |
| 468 | func (e *exprHelper) NewStruct(typeName string, fieldInits ...ast.EntryExpr) ast.Expr { |
| 469 | return e.exprFactory.NewStruct(e.nextMacroID(), typeName, fieldInits) |
| 470 | } |
| 471 | |
| 472 | // NewStructField implements the ExprHelper interface method. |
| 473 | func (e *exprHelper) NewStructField(field string, init ast.Expr, optional bool) ast.EntryExpr { |
nothing calls this directly
no test coverage detected