Absyn
Class MethodDecl

java.lang.Object
  extended by Absyn.Absyn
      extended by Absyn.MethodDecl
All Implemented Interfaces:
Visitable
Direct Known Subclasses:
VoidDecl

public class MethodDecl
extends Absyn

Method Declaration structure.


Constructor Summary
MethodDecl(Type returnType, boolean synced, java.lang.String name, java.util.LinkedList<Formal> params, java.util.LinkedList<VarDecl> locals, java.util.LinkedList<Stmt> stmts, Expr returnVal)
           
 
Method Summary
 void accept(Visitor v)
          Visitor pattern dispatch.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodDecl

public MethodDecl(Type returnType,
                  boolean synced,
                  java.lang.String name,
                  java.util.LinkedList<Formal> params,
                  java.util.LinkedList<VarDecl> locals,
                  java.util.LinkedList<Stmt> stmts,
                  Expr returnVal)
Method Detail

accept

public void accept(Visitor v)
Visitor pattern dispatch.

Specified by:
accept in interface Visitable
Specified by:
accept in class Absyn