Uses of Class
lab7.AbstractNode

Packages that use AbstractNode
coursesolutions   
lab7   
lab8   
 

Uses of AbstractNode in coursesolutions
 

Methods in coursesolutions that return AbstractNode
 AbstractNode CourseSymtabVisitor.Info.getDefiningNode()
           
 

Methods in coursesolutions with parameters of type AbstractNode
 void CourseTypeSetVisitor.perform(AbstractNode root)
          Here is where semantic analysis happens.
 void CourseTypeSetVisitor.visitBothSame(AbstractNode n)
          Make sure both children have the samet ype, then set this node to that type
 

Constructors in coursesolutions with parameters of type AbstractNode
CourseSymtabVisitor.Info(AbstractNode n, ModsAttrs m, TypeAttrs t)
           
 

Uses of AbstractNode in lab7
 

Methods in lab7 that return AbstractNode
 AbstractNode AbstractNode.abandonChildren()
           
 AbstractNode AbstractNode.adoptChildren(AbstractNode n)
          Adopt the supplied node and all of its siblings under this node
 AbstractNode AbstractNode.getChild()
           
 AbstractNode AbstractNode.getFirst()
           
 AbstractNode AbstractNode.getParent()
           
 AbstractNode AbstractNode.getSib()
           
 AbstractNode AbstractNode.makeSibling(AbstractNode sib)
          Join the end of this sibling's list with the supplied sibling's list
 AbstractNode AbstractNode.orphan()
           
 

Methods in lab7 with parameters of type AbstractNode
 AbstractNode AbstractNode.adoptChildren(AbstractNode n)
          Adopt the supplied node and all of its siblings under this node
 AbstractNode AbstractNode.makeSibling(AbstractNode sib)
          Join the end of this sibling's list with the supplied sibling's list
 void ReflectiveVisitor.perform(AbstractNode n)
          Method to kick things off.
 ReflectiveVisitor ReflectiveVisitor.performVisit(AbstractNode n)
          Better version of perform
 void Visitable.post(int i, AbstractNode a)
           
 void PrintTree.post(int i, AbstractNode a)
           
 void Visitable.pre(int i, AbstractNode a)
           
 void PrintTree.pre(int level, AbstractNode n)
           
 

Uses of AbstractNode in lab8
 

Subclasses of AbstractNode in lab8
 class CastNode
          A cast node
 

Methods in lab8 that return AbstractNode
 AbstractNode AssignTypeRequiring.getAssignTypeNode()
          Get the left child (target type)
 AbstractNode CastNode.getAssignTypeNode()
           
 AbstractNode WhileIsh.getBody()
           
 AbstractNode MethodDeclaring.getBody()
           
 AbstractNode StaticReferencing.getClassName()
          All but the last part of the qualified name
 AbstractNode ClassIsh.getConstructors()
           
 AbstractNode SymInfo.getDefiningNode()
          This shows us the node that declares the symbol
 AbstractNode IfIsh.getFalsePart()
          The "false" branch
 AbstractNode ClassIsh.getFields()
           
 AbstractNode ClassIsh.getInners()
           
 AbstractNode SameTypeRequiring.getLeftChild()
           
 AbstractNode ClassIsh.getMethods()
           
 AbstractNode MethodDeclaring.getParams()
           
 AbstractNode WhileIsh.getPredicate()
           
 AbstractNode IfIsh.getPredicate()
          The boolean-valued predicate
 AbstractNode SameTypeRequiring.getRightChild()
           
 AbstractNode ClassIsh.getStatics()
           
 AbstractNode AssignTypeRequiring.getSubjectNode()
          Get the right child
 AbstractNode CastNode.getSubjectNode()
           
 AbstractNode InvokeReference.getThisNode()
          returns null if this is a static reference
 AbstractNode IfIsh.getTruePart()
          The "true" branch
 AbstractNode InvokeIsh.paramsNode()
           
 

Methods in lab8 with parameters of type AbstractNode
 void SymtabInterface.err(AbstractNode n, java.lang.String message)
           
 void Symtab.err(AbstractNode n, java.lang.String s)
           
 void SymtabInterface.out(AbstractNode n, java.lang.String message)
          This lets you put out a message about a node, indented by the current nest level
 void Symtab.out(AbstractNode n, java.lang.String s)