handleTemplateFunctionCalls

This function can be used to fine-tune the resolution of template function calls.

Note: The function itself should NOT set the CallExpression.invokes but rather return a list of possible candidates.

Return

a pair in which the first member denotes whether resolution was successful and the second parameter is a list of FunctionDeclaration candidates.