getFunctionCalls
Parses the given text to extract function calls, tokenizing the input text and processing the tokens to identify function calls and their components. It also handles nested function calls by recursively processing function call arguments.
Return
the FunctionCalls found in the text
Parameters
text
the text to parse for function calls