docs: def formatFunctionNode(node,path,stack):
      '''Add some helpful attributes to node.'''
      #node.name is already defined by AST module
      node.weight = calcFnWeight(node)
      node.path   = path
      node.pclass = getCurrentClass(stack)
      return node