(r *ExampleGenerator)
| 90 | } |
| 91 | |
| 92 | func (u *UserTypeExpr) recExample(r *ExampleGenerator) *any { |
| 93 | if ex, ok := r.PreviouslySeen(u.ID()); ok { |
| 94 | return ex |
| 95 | } |
| 96 | var ex any |
| 97 | pex := &ex |
| 98 | r.HaveSeen(u.ID(), pex) |
| 99 | actual := u.AttributeExpr.Example(r) |
| 100 | *pex = actual |
| 101 | return pex |
| 102 | } |
no test coverage detected