CallParameters returns the full set of parameters with the return value filtered out.
()
| 39 | // CallParameters returns the full set of parameters with the return value |
| 40 | // filtered out. |
| 41 | func (f *Function) CallParameters() []*Parameter { |
| 42 | if f.Return.Type == VoidType { |
| 43 | return f.FullParameters |
| 44 | } |
| 45 | return f.FullParameters[0 : len(f.FullParameters)-1] |
| 46 | } |
| 47 | |
| 48 | // Parameter represents a single parameter declaration for a function. |
| 49 | type Parameter struct { |
no outgoing calls
no test coverage detected