seanjensengrey / kiama

Automatically exported from code.google.com/p/kiama
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Reduce dependences on Attributable as much as possible #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This seems to be the only thing in Attributable that is not related to 
structural properties.  Or to put 
it another way, if you are not using structural properties you only really want 
this from that module.  
So, we should put it in Attribution somewhere so that Attributable could be 
ignored in some cases.

Original issue reported on code.google.com by inkytonik on 5 Nov 2009 at 5:34

GoogleCodeExporter commented 9 years ago

Original comment by inkytonik on 5 Nov 2009 at 5:41

GoogleCodeExporter commented 9 years ago

Original comment by inkytonik on 10 Nov 2009 at 4:14

GoogleCodeExporter commented 9 years ago
Can't really move -> since it needs to be in some class somewhere that is 
common to all attributed nodes. Leave 
it here for now, since it seems reasonable to make it one of the benefits of 
using Attributable.  If you don't want 
to use Attributable, you can use the a (n) notation for accessing an attribute 
instead of n->a.

Original comment by inkytonik on 10 Nov 2009 at 4:33

GoogleCodeExporter commented 9 years ago
Fixed in r89d10af54c

Original comment by inkytonik on 10 Nov 2009 at 5:04