<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dag Sverre Seljebotn wrote:
<blockquote cite="mid:48215041.7070805@student.matnat.uio.no"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">I think one could put a generic accept function in the Node class  
that would dispatch based on class name (or some class attribute) if  
one wanted, rather than having to write it for every class.
  
    </pre>
  </blockquote>
  <pre wrap=""><!---->Yes, simply move the function. You spoke against using the class name in 
the other thread though. I suppose I could use an attribute; still I 
like decorators much better.
  </pre>
</blockquote>
Sorry, left the thread of thought too early (I seem to do this a lot,
will try to read once more through my outgoing mails).<br>
<br>
I meant: Yes, simply move part of the function that is in
VisitorTransform in the patch into Node instead, and call it from
VisitorTransform. It is almost a cut and paste, so of course it is
doable :-)<br>
<br>
<pre class="moz-signature" cols="72">-- 
Dag Sverre
</pre>
</body>
</html>