lab8
Interface MethodDeclaring

All Superinterfaces:
ASTNodeIsh, NodeDumpable, SymDeclaring

public interface MethodDeclaring
extends SymDeclaring

An interface for an AST node that declares a method. This allows you to use my jmm.cup or your own. For your own, make sure that if a node represents a method declaration, then it implements this interface.


Method Summary
 AbstractNode getBody()
           
 ModsAttrs getMods()
           
 AbstractNode getParams()
           
 TypeAttrs getType()
           
 
Methods inherited from interface lab8.SymDeclaring
getName, getSymInfo, setSymInfo
 
Methods inherited from interface lab7.NodeDumpable
dump
 

Method Detail

getMods

ModsAttrs getMods()

getType

TypeAttrs getType()

getParams

AbstractNode getParams()

getBody

AbstractNode getBody()