NewStruct implements the ExprHelper interface method.
(typeName string, fieldInits ...ast.EntryExpr)
| 429 | |
| 430 | // NewStruct implements the ExprHelper interface method. |
| 431 | func (e *exprHelper) NewStruct(typeName string, fieldInits ...ast.EntryExpr) ast.Expr { |
| 432 | return e.exprFactory.NewStruct(e.nextMacroID(), typeName, fieldInits) |
| 433 | } |
| 434 | |
| 435 | // NewStructField implements the ExprHelper interface method. |
| 436 | func (e *exprHelper) NewStructField(field string, init ast.Expr, optional bool) ast.EntryExpr { |
nothing calls this directly
no test coverage detected