slime.absynt.absfc
Class StmtIf

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

public class StmtIf
extends Statement
implements java.io.Serializable

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

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

Field Summary
 Expr expr
           
 int ifdepth
           
 java.util.LinkedList stmtlist
           
 
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
StmtIf()
           
StmtIf(Expr _expr, java.util.LinkedList _stmtlist)
           
StmtIf(Expr _expr, java.util.LinkedList _stmtlist, 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

stmtlist

public java.util.LinkedList stmtlist

ifdepth

public int ifdepth
Constructor Detail

StmtIf

public StmtIf(Expr _expr,
              java.util.LinkedList _stmtlist,
              int _idepth)

StmtIf

public StmtIf(Expr _expr,
              java.util.LinkedList _stmtlist)

StmtIf

public StmtIf()
Method Detail

toString

public java.lang.String toString()