Absyn
Class MethodDec
java.lang.Object
Absyn.Absyn
Absyn.MemberDec
Absyn.MethodDec
public class MethodDec
- extends MemberDec
[ "public" ] [ "static" ] ( "void" | Type ) ID "(" [ Formal ( "," Formal )* ] ")" [ "throws" "java.io.IOException" ] Block
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
result
public Type result
name
public Parse.Token name
formals
public java.util.List<Formal> formals
body
public Block body
MethodDec
public MethodDec(Type r,
Parse.Token n,
java.util.List<Formal> f,
Block b)
accept
public <D,R> R accept(Visitor<D,R> v,
D d)
- Specified by:
accept
in class Absyn