HasSingletonBinding indicates whether the function has a singleton binding definition.
()
| 316 | |
| 317 | // HasSingletonBinding indicates whether the function has a singleton binding definition. |
| 318 | func (f *FunctionDecl) HasSingletonBinding() bool { |
| 319 | if f == nil { |
| 320 | return false |
| 321 | } |
| 322 | return f.singleton != nil |
| 323 | } |
| 324 | |
| 325 | // HasLateBinding returns true if the function has late bindings. A function cannot mix late bindings with other bindings. |
| 326 | func (f *FunctionDecl) HasLateBinding() bool { |
no outgoing calls