public ScriptToFunction(CompilationUnits cu) {
   context =
       new ParsedCompilationUnitsContextStack(
           new LinkedList<GenericFile>(), cu.getRootFolder(), cu);
   scripts = Sets.newHashSet(NodeFinder.find(Script.class, cu));
 }