lab8
Class CastNode

java.lang.Object
  extended by lab7.AbstractNode
      extended by lab8.CastNode
All Implemented Interfaces:
NodeDumpable, ReflectiveVisitable, AssignTypeRequiring

public class CastNode
extends AbstractNode
implements AssignTypeRequiring

A cast node


Constructor Summary
CastNode()
           
 
Method Summary
 AbstractNode getAssignTypeNode()
          Get the left child (target type)
 AbstractNode getSubjectNode()
          Get the right child
 
Methods inherited from class lab7.AbstractNode
abandonChildren, accept, adoptChildren, dump, getChild, getFirst, getName, getNodeNum, getNodeType, getParent, getSib, makeSibling, orphan, setNodeType, toString, walkTree, whatAmI
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CastNode

public CastNode()
Method Detail

getAssignTypeNode

public AbstractNode getAssignTypeNode()
Description copied from interface: AssignTypeRequiring
Get the left child (target type)

Specified by:
getAssignTypeNode in interface AssignTypeRequiring

getSubjectNode

public AbstractNode getSubjectNode()
Description copied from interface: AssignTypeRequiring
Get the right child

Specified by:
getSubjectNode in interface AssignTypeRequiring