>accept(Visitor v) >{ > v.execute(this); >} I'm afraid I really don't see a meaningful difference, in that case, between calling mynode.accept(myvisitor) and calling myvisitor.execute(mynode) directly. A difference only arises when accept() starts doing other things... and as I noted, the moment it does so you run into compatability problems between your visitors and visitees, and I don't see a way to define that cleanly at the API level. ______________________________________ Joe Kesselman / IBM ResearchReceived on Wednesday, 21 March 2001 16:08:15 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:52 GMT