registerFunction

Registers a function provider to the set of function providers.

This method takes a FunctionProvider object as a parameter and adds it to the functions set. The FunctionProvider object should be an instance of a class that implements the FunctionProvider interface and provides parsing for the function defined.

Parameters

functionProvider

a FunctionProvider object representing the function provider to register.

Throws

if the function provider is already registered in the set.