nodestack: add Node::get_parent() function
authorBrian Norris <banorris@uci.edu>
Mon, 25 Jun 2012 18:47:24 +0000 (11:47 -0700)
committerBrian Norris <banorris@uci.edu>
Mon, 25 Jun 2012 18:47:24 +0000 (11:47 -0700)
commit2fd874e12b6349b5543b9a3014b38b556c672623
treef089c6f2f371c1e166a2e5bfa7e2d3a4179f65f1
parent6cb1abb7f1f69690ecf78a293744204980912a7d
nodestack: add Node::get_parent() function

As I add more complicated backtracking and may-read-from relationships,
each Node might need some structural information to be able to reach its
parent Node.

To support this:
* the NodeStack should provide the parent information via Node constructor
* the Node should provide a get_parent() method
nodestack.cc
nodestack.h