[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Walking the tree



If I am right, there are defaultOut and defaultIn methods.  Maybe this
is what you are looking for?

Etienne

Will Hartung wrote:
> So, I would like to generate the code using something setOut(Node)...and
> then run through the tree again, although not in depth first, and dump out
> the code.
> 
> However, I'd like to not have to write indvidual visit methods for each node
> (outXXX)...
-- 
----------------------------------------------------------------------
Etienne M. Gagnon, M.Sc.                     e-mail: egagnon@j-meg.com
Author of SableCC:                             http://www.sablecc.org/
and SableVM:                                   http://www.sablevm.org/