parameters: (obj, partsList, debug=False)
return_statement: return obj
docstring: Evaluates function described in partsList on obj
docstring_summary: Evaluates function described in partsList on obj
docstring_tokens: Evaluates function described in partsList on obj
function: def evaluateFunction (obj, partsList, debug=False):
          """Evaluates function described in partsList on obj"""
          for part in partsList:
              if debug: warn (part, spaces=15)
              obj = getattr (obj, part[0])
              if debug: warn (obj, spaces=15)
              # if this is a function instead of a data member, make
              # sure you call it with its arguments:
              if GenObject._objFunc.func == part[1]:
                  # Arguments are stored as a list in part[2]
                  obj = obj (*part[2])
                  if debug: warn (obj, spaces=18)
          return obj
function_tokens: def evaluateFunction ( obj , partsList , debug = False ) : for part in partsList : if debug : warn ( part , spaces = 15 ) obj = getattr ( obj , part [ 0 ] ) if debug : warn ( obj , spaces = 15 ) # if this is a function instead of a data member, make # sure you call it with its arguments: if GenObject . _objFunc . func == part [ 1 ] : # Arguments are stored as a list in part[2] obj = obj ( * part [ 2 ] ) if debug : warn ( obj , spaces = 18 ) return obj