seanjensengrey / kiama

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

Abstract Attributable interface #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
At the moment if you want to use things like childAttr you need to make your 
tree nodes inherit 
from Attributable, which makes them Products etc.  A more flexible situation 
would be to make the 
interface needed by things like childAttr into an interface that has an 
implementation from 
Attributable if you are using Products, but you could define it yourself if you 
want.

Original issue reported on code.google.com by inkytonik on 10 Nov 2009 at 3:31

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

Original comment by inkytonik on 18 May 2011 at 9:48

GoogleCodeExporter commented 9 years ago
Not sure if this one is really needed.

Original comment by inkytonik on 30 Jan 2012 at 2:34

GoogleCodeExporter commented 9 years ago
Closing since we are covering similar aims with the new relation/tree support 
that will be in 2.0. In particular Attributable will no longer exist and 
relationships such as "child" or "parent" will be accessible on a tree-by-tree 
basis.

Original comment by inkytonik on 5 Aug 2014 at 5:47