()
| 3836 | |
| 3837 | |
| 3838 | function function_params() { |
| 3839 | var id, paren = next_token, params = []; |
| 3840 | advance('('); |
| 3841 | step_in(); |
| 3842 | no_space(); |
| 3843 | if (next_token.id === ')') { |
| 3844 | no_space(); |
| 3845 | step_out(')', paren); |
| 3846 | return params; |
| 3847 | } |
| 3848 | for (;;) { |
| 3849 | edge(); |
| 3850 | id = identifier(); |
| 3851 | params.push(token); |
| 3852 | add_label(token, option.unparam ? 'parameter' : 'unparam'); |
| 3853 | if (next_token.id === ',') { |
| 3854 | comma(); |
| 3855 | } else { |
| 3856 | no_space(); |
| 3857 | step_out(')', paren); |
| 3858 | return params; |
| 3859 | } |
| 3860 | } |
| 3861 | } |
| 3862 | |
| 3863 | |
| 3864 |
no test coverage detected
searching dependent graphs…