(apply, min_expected_inputs, max_expected_inputs)
| 17803 | } |
| 17804 | } |
| 17805 | checkApplyNumInputsRange(apply, min_expected_inputs, max_expected_inputs) { |
| 17806 | const position_arg_size = apply.args.length; |
| 17807 | if (position_arg_size < min_expected_inputs || position_arg_size > max_expected_inputs) { |
| 17808 | throw new python.Error('Invalid number of arguments.'); |
| 17809 | } |
| 17810 | if (apply.keywords.length > 0) { |
| 17811 | throw new python.Error('Invalid number of keyword arguments.'); |
| 17812 | } |
| 17813 | } |
| 17814 | validateAssignLhsExpr(lhs /*, r */) { |
| 17815 | let num_normal_assign = 0; |
| 17816 | let num_starred = 0; |
no outgoing calls
no test coverage detected