Absyn
Class ForStm

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

public class ForStm
extends Stm

"for" "(" [ VarDecList ] ";" [ Exp ] ";" [ ExpStm ( "," ExpStm )* ] ")" Stm


Field Summary
 Stm body
           
 java.util.List<VarDec> init
           
 Exp test
           
 java.util.List<ExpStm> update
           
 
Fields inherited from class Absyn.Stm
token
 
Constructor Summary
ForStm(Parse.Token tok, java.util.List<VarDec> i, Exp t, java.util.List<ExpStm> u, Stm b)
           
 
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

init

public java.util.List<VarDec> init

test

public Exp test

update

public java.util.List<ExpStm> update

body

public Stm body
Constructor Detail

ForStm

public ForStm(Parse.Token tok,
              java.util.List<VarDec> i,
              Exp t,
              java.util.List<ExpStm> u,
              Stm b)
Method Detail

accept

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