| 39 | } |
| 40 | |
| 41 | value func_args::get_pos(size_t pos) const { |
| 42 | if (count() > pos) { |
| 43 | return args[pos]; |
| 44 | } |
| 45 | throw raised_exception("Function '" + func_name + "' expected at least " + std::to_string(pos + 1) + " arguments, got " + std::to_string(count())); |
| 46 | } |
| 47 | |
| 48 | value func_args::get_pos(size_t pos, value default_val) const { |
| 49 | if (count() > pos) { |