Errai 3.0.1-SNAPSHOT

org.jboss.errai.codegen.control
Class ForLoop

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

public class ForLoop
extends AbstractConditionalBlock

Author:
Mike Brock , Christian Sadilek

Constructor Summary
ForLoop(BooleanExpression condition, BlockStatement block)
           
ForLoop(BooleanExpression condition, BlockStatement block, Statement initializer, Statement afterBlock)
           
 
Method Summary
 String generate(Context context)
           
 
Methods inherited from class org.jboss.errai.codegen.control.AbstractConditionalBlock
getBlock, getCondition
 
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

ForLoop

public ForLoop(BooleanExpression condition,
               BlockStatement block)

ForLoop

public ForLoop(BooleanExpression condition,
               BlockStatement block,
               Statement initializer,
               Statement afterBlock)
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.