com.caucho.quercus.statement
Class ProSwitchStatement

java.lang.Object
  extended by com.caucho.quercus.statement.Statement
      extended by com.caucho.quercus.statement.SwitchStatement
          extended by com.caucho.quercus.statement.ProSwitchStatement
All Implemented Interfaces:
CompilingStatement

public class ProSwitchStatement
extends SwitchStatement
implements CompilingStatement

Represents a switch statement.


Field Summary
 
Fields inherited from class com.caucho.quercus.statement.SwitchStatement
_blocks, _cases, _defaultBlock, _label, _value
 
Fields inherited from class com.caucho.quercus.statement.Statement
BREAK_FALL_THROUGH, FALL_THROUGH, RETURN
 
Constructor Summary
ProSwitchStatement(Location location, Expr value, java.util.ArrayList<Expr[]> caseList, java.util.ArrayList<BlockStatement> blockList, Statement defaultBlock, java.lang.String label)
           
 
Method Summary
 StatementGenerator getGenerator()
          Returns the generator.
 
Methods inherited from class com.caucho.quercus.statement.SwitchStatement
execute, fallThrough
 
Methods inherited from class com.caucho.quercus.statement.Statement
getLocation, getParent, isLoop, rethrow, rethrow, setParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProSwitchStatement

public ProSwitchStatement(Location location,
                          Expr value,
                          java.util.ArrayList<Expr[]> caseList,
                          java.util.ArrayList<BlockStatement> blockList,
                          Statement defaultBlock,
                          java.lang.String label)
Method Detail

getGenerator

public StatementGenerator getGenerator()
Description copied from interface: CompilingStatement
Returns the generator.

Specified by:
getGenerator in interface CompilingStatement