Index returns the index of the argument in the function parameter list.
()
| 127 | |
| 128 | // Index returns the index of the argument in the function parameter list. |
| 129 | func (a Arg) Index() int { |
| 130 | return a.index |
| 131 | } |
| 132 | |
| 133 | // Name returns the name of the argument. |
| 134 | func (a Arg) Name() string { |
no outgoing calls