OverloadDecls returns the overload declarations in the order in which they were declared.
()
| 308 | |
| 309 | // OverloadDecls returns the overload declarations in the order in which they were declared. |
| 310 | func (f *FunctionDecl) OverloadDecls() []*OverloadDecl { |
| 311 | if f == nil { |
| 312 | return nil |
| 313 | } |
| 314 | return f.overloadDecls |
| 315 | } |
| 316 | |
| 317 | // HasSingletonBinding indicates whether the function has a singleton binding definition. |
| 318 | func (f *FunctionDecl) HasSingletonBinding() bool { |
no outgoing calls