Absyn
Class IfStm

java.lang.Object
  extended by Absyn.Absyn
      extended by Absyn.Stm
          extended by Absyn.IfStm

public class IfStm
extends Stm

"if" "(" Exp ")" Stm [ "else" Stm ]


Field Summary
 Stm elseStm
           
 Exp ifExp
           
 Stm thenStm
           
 
Fields inherited from class Absyn.Stm
token
 
Constructor Summary
IfStm(Parse.Token t, Exp x, Stm y, Stm z)
           
 
Method Summary
<D,R> R
accept(Visitor<D,R> v, D d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ifExp

public Exp ifExp

thenStm

public Stm thenStm

elseStm

public Stm elseStm
Constructor Detail

IfStm

public IfStm(Parse.Token t,
             Exp x,
             Stm y,
             Stm z)
Method Detail

accept

public <D,R> R accept(Visitor<D,R> v,
                      D d)
Specified by:
accept in class Absyn