()
| 287 | } |
| 288 | |
| 289 | func (l letFunction) String() string { |
| 290 | receiverFmt := "" |
| 291 | if l.receiver != nil { |
| 292 | receiverFmt = fmt.Sprintf("%s.", l.receiver.SpecifierFormat()) |
| 293 | } |
| 294 | |
| 295 | return fmt.Sprintf("%s%s%s : %s -> %s", receiverFmt, l.identifier, formatParams(l.params), l.resultType.SpecifierFormat(), l.src) |
| 296 | } |
| 297 | |
| 298 | func (l *letFunction) generateFunctionBinding() []cel.OverloadOpt { |
| 299 | if l.impl == nil { |
nothing calls this directly
no test coverage detected