addFunc method
Adds a function to the list of supported functions
function
- The function to add.
Returns the previous operator with that name, or null
if there was none.
Implementation
IFunc addFunc(IFunc function) {
functions[function.getName()] = function;
return function;
}