* vector of arity of all the functions exported by the module */
| 70 | * vector of arity of all the functions exported by the module |
| 71 | */ |
| 72 | IntegerVector functions_arity(){ |
| 73 | size_t n = functions.size() ; |
| 74 | IntegerVector x( n ) ; |
| 75 | CharacterVector names( n ); |
| 76 | MAP::iterator it = functions.begin() ; |
| 77 | for( size_t i=0; i<n; i++, ++it){ |
| 78 | x[i] = (it->second)->nargs() ; |
| 79 | names[i] = it->first ; |
| 80 | } |
| 81 | x.names() = names ; |
| 82 | return x ; |
| 83 | } // #nocov end |
| 84 | |
| 85 | /** |
| 86 | * vector of names of the functions |
no test coverage detected