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