Absyn
Class VarDec

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

public class VarDec
extends Stm

Type ID [ "=" Exp ]


Field Summary
 Exp init
           
 Parse.Token name
           
 Type type
           
 
Fields inherited from class Absyn.Stm
token
 
Constructor Summary
VarDec(Type t, Parse.Token n, Exp i)
           
 
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

type

public Type type

name

public Parse.Token name

init

public Exp init
Constructor Detail

VarDec

public VarDec(Type t,
              Parse.Token n,
              Exp i)
Method Detail

accept

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