Errai 3.0.1-SNAPSHOT

org.jboss.errai.codegen.builder.callstack
Class ConditionalBlockCallElement

java.lang.Object
  extended by org.jboss.errai.codegen.builder.callstack.AbstractCallElement
      extended by org.jboss.errai.codegen.builder.callstack.ConditionalBlockCallElement
All Implemented Interfaces:
CallElement

public class ConditionalBlockCallElement
extends AbstractCallElement

A CallElement for conditional blocks. It can only be the last element in a chain of calls.

Author:
Christian Sadilek

Field Summary
 
Fields inherited from class org.jboss.errai.codegen.builder.callstack.AbstractCallElement
blame, next, resultType
 
Constructor Summary
ConditionalBlockCallElement(AbstractConditionalBlock conditionalBlock)
           
 
Method Summary
 void handleCall(CallWriter writer, Context context, Statement lhs)
           
 String toString()
           
 
Methods inherited from class org.jboss.errai.codegen.builder.callstack.AbstractCallElement
append, blameAndRethrow, getNext, getResultType, nextOrReturn, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConditionalBlockCallElement

public ConditionalBlockCallElement(AbstractConditionalBlock conditionalBlock)
Method Detail

handleCall

public void handleCall(CallWriter writer,
                       Context context,
                       Statement lhs)

toString

public String toString()
Overrides:
toString in class AbstractCallElement

Errai 3.0.1-SNAPSHOT

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