     when expr instanceof Aggregation
       items = []
       aggregationNames = (n for n in expr.childNames)
-      accumulateLocalName n for n in aggregationNames
 
       for i in [0...expr.children.length]
         name = expr.childNames[i]

  isTransformFunction = (functionCall) -> functionInfo[functionCall.functionName]?.kind == 'transform'
  isStreamFunction = (functionCall) -> functionInfo[functionCall.functionName]?.kind == 'stream'

  getCodeAndAccumulateFunctions = (expr) ->
    exprResult = exprCode expr, functionInfo, localNames
    accumulateFunctionName(n) for n in exprResult.functionNames
    accumulateCombineName(n) for n in exprResult.combineNames
    accumulateLocalStreams exprResult.localStreams
    exprResult.code


  {code: bodyCode, functionNames}

exprCode = (expr, functionInfo, incomingLocalNames = []) ->
  functionNames = []
  localStreams = []
  combineNames = []
