Errai 3.0.1-SNAPSHOT

org.jboss.errai.codegen.control
Class ForeachLoop

java.lang.Object
  extended by org.jboss.errai.codegen.AbstractStatement
      extended by org.jboss.errai.codegen.control.ForeachLoop
All Implemented Interfaces:
Statement

public class ForeachLoop
extends AbstractStatement

Foreach statement (enhanced for loop).

Author:
Christian Sadilek

Constructor Summary
ForeachLoop(Variable loopVar, String collectionExpr, Statement body)
           
 
Method Summary
 String generate(Context context)
           
 
Methods inherited from class org.jboss.errai.codegen.AbstractStatement
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForeachLoop

public ForeachLoop(Variable loopVar,
                   String collectionExpr,
                   Statement body)
Method Detail

generate

public String generate(Context context)

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.