def getFunction(self, name):
    args = self.getArgs(end=')')
    if ('.' in name):
        names = name.split('.')
        key = names.pop()
        variableName = '.'.join(names)
        variable = Variable(variableName)
        args.insert(0, variable)
        return Function(self.mgr, key, args, True)
    else:
        return Function(self.mgr, name, args)
def getFunction(self, name):
    args = self.getArgs(end=')')
    if ('.' in name):
        names = name.split('.')
        key = names.pop()
        variableName = '.'.join(names)
        variable = Variable(variableName)
        args.insert(0, variable)
        return Function(self.mgr, key, args, True)
    else:
        return Function(self.mgr, name, args)