coursesolutions
Class CourseSymtabVisitor.Info

java.lang.Object
  extended by coursesolutions.CourseSymtabVisitor.Info
All Implemented Interfaces:
SymInfo
Enclosing class:
CourseSymtabVisitor

public class CourseSymtabVisitor.Info
extends java.lang.Object
implements SymInfo

Local class to carry symbol information


Constructor Summary
CourseSymtabVisitor.Info(AbstractNode n, ModsAttrs m, TypeAttrs t)
           
 
Method Summary
 AbstractNode getDefiningNode()
          This shows us the node that declares the symbol
 ModsAttrs getMods()
           
 int getRegister()
           
 TypeAttrs getType()
           
 void setRegister(int reg)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CourseSymtabVisitor.Info

public CourseSymtabVisitor.Info(AbstractNode n,
                                ModsAttrs m,
                                TypeAttrs t)
Method Detail

getDefiningNode

public AbstractNode getDefiningNode()
Description copied from interface: SymInfo
This shows us the node that declares the symbol

Specified by:
getDefiningNode in interface SymInfo

getMods

public ModsAttrs getMods()
Specified by:
getMods in interface SymInfo

getType

public TypeAttrs getType()
Specified by:
getType in interface SymInfo

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setRegister

public void setRegister(int reg)
Specified by:
setRegister in interface SymInfo

getRegister

public int getRegister()
Specified by:
getRegister in interface SymInfo