HasSingletonBinding indicates whether the function has a singleton binding definition.
()
| 305 | |
| 306 | // HasSingletonBinding indicates whether the function has a singleton binding definition. |
| 307 | func (f *FunctionDecl) HasSingletonBinding() bool { |
| 308 | if f == nil { |
| 309 | return false |
| 310 | } |
| 311 | return f.singleton != nil |
| 312 | } |
| 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 { |
no outgoing calls