slime.absynt.absfc
Class StmtIfElse

java.lang.Object
  extended byslime.absynt.Absynt
      extended byslime.absynt.absfc.Absfc
          extended byslime.absynt.absfc.Statement
              extended byslime.absynt.absfc.StmtIfElse
All Implemented Interfaces:
java.io.Serializable

public class StmtIfElse
extends Statement
implements java.io.Serializable

Class for if-else-statements. An if-else statements consists of an expression and a stmtlist to be executed if expression is evaluated to true and another stmtlist to be executed if expression is evaluated to false.

Version:
$Id: StmtIfElse.java,v 1.0 2002/06/12 19:27:44 mwe
Author:
initially provided by Marco Wendel.
See Also:
Serialized Form

Field Summary
 java.util.LinkedList elsestmtlist
           
 boolean emptyelse
           
 Expr expr
           
 int ifelsedepth
           
 java.util.LinkedList ifstmtlist
           
 
Fields inherited from class slime.absynt.absfc.Statement
elemNr
 
Fields inherited from class slime.absynt.absfc.Absfc
depth, end_step, hascontent, nodetype, processed, start_step, stmt_trans
 
Fields inherited from class slime.absynt.Absynt
pos
 
Constructor Summary
StmtIfElse()
           
StmtIfElse(Expr _expr)
           
StmtIfElse(Expr _expr, java.util.LinkedList _ifstmtlist)
           
StmtIfElse(Expr _expr, java.util.LinkedList _ifstmtlist, java.util.LinkedList _elsestmtlist)
           
StmtIfElse(Expr _expr, java.util.LinkedList _ifstmtlist, java.util.LinkedList _elsestmtlist, int _idepth)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

expr

public Expr expr

ifstmtlist

public java.util.LinkedList ifstmtlist

elsestmtlist

public java.util.LinkedList elsestmtlist

ifelsedepth

public int ifelsedepth

emptyelse

public boolean emptyelse
Constructor Detail

StmtIfElse

public StmtIfElse(Expr _expr,
                  java.util.LinkedList _ifstmtlist,
                  java.util.LinkedList _elsestmtlist,
                  int _idepth)

StmtIfElse

public StmtIfElse(Expr _expr,
                  java.util.LinkedList _ifstmtlist,
                  java.util.LinkedList _elsestmtlist)

StmtIfElse

public StmtIfElse(Expr _expr,
                  java.util.LinkedList _ifstmtlist)

StmtIfElse

public StmtIfElse(Expr _expr)

StmtIfElse

public StmtIfElse()
Method Detail

toString

public java.lang.String toString()