Class LHoistNonunique
Object
|
+--Lens
|
+--LHoistNonunique
- class
LHoistNonunique
- extends Lens
Hoists (see LHoist) a property from among others, merging its
sub-properties into the root tree. On putback, a supplied predicate
identifies properties which belong to the grandchild, so that those
properties can be putback appropriately.
Note that the property must be object-valued; anything else won't be
able to merge with the rest of the root tree.
See:Defined in lens.js
|
Field Summary |
Object |
name
|
|
Constructor Summary |
LHoistNonunique(<String> prop, <function> pred_grandchild)
|
name
Object name
LHoistNonunique
LHoistNonunique(<String> prop, <function> pred_grandchild)
Parameters:
prop - The property to hoist
pred_grandchild - A predicate that matches exactly those properties which belong to the object under prop
Documentation generated by
JSDoc on Wed Feb 14 15:36:01 2007