scala-subscript / subscript

9 stars 2 forks source link

Refactor Container.getCodeProperty+setCodeProperty #37

Open AndreVanDelft opened 8 years ago

AndreVanDelft commented 8 years ago

Container contains:

def getCodeProperty(key: Any): ()=>Unit 
def setCodeProperty(key: Any, c: ()=>Unit)

These should become more generic. Also they are related to nodes rather than just code fragments, so they should be renamed:

def getProperty(key: Any):Any 
def setProperty(key: Any, Any)