HasLateBinding returns true if the function has late bindings. A function cannot mix late bindings with other bindings.
()
| 313 | |
| 314 | // HasLateBinding returns true if the function has late bindings. A function cannot mix late bindings with other bindings. |
| 315 | func (f *FunctionDecl) HasLateBinding() bool { |
| 316 | if f == nil { |
| 317 | return false |
| 318 | } |
| 319 | for _, oID := range f.overloadOrdinals { |
| 320 | if f.overloads[oID].HasLateBinding() { |
| 321 | return true |
| 322 | } |
| 323 | } |
| 324 | return false |
| 325 | } |
| 326 | |
| 327 | // Bindings produces a set of function bindings, if any are defined. |
| 328 | func (f *FunctionDecl) Bindings() ([]*functions.Overload, error) { |
no outgoing calls