Package org.jboss.errai.ioc.rebind.ioc.codegen.control

Examples of org.jboss.errai.ioc.rebind.ioc.codegen.control.ForeachLoop


      public void doDeferred(CallWriter writer, Context context, Statement statement) {
        GenUtil.assertIsIterable(statement);
        Variable loopVar = createForEachLoopVar(statement, loopVarName, loopVarType);
        String collection = writer.getCallString();
        writer.reset();
        writer.append(new ForeachLoop(loopVar, collection, body).generate(Context.create(context)));
      }
    }));

    return createLoopBody(body);
  }
View Full Code Here

TOP

Related Classes of org.jboss.errai.ioc.rebind.ioc.codegen.control.ForeachLoop

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.