A status object that can be passed along to avoid duplicate paths in recursive lookups.
Primarily used for all APIs that need to consult all their parents to determine the return value.
As Parsley supports multiple Context inheritance since version 2.4, some APIs must take care
of not visiting the same parent twice when doing a lookup.
public function addInstance(instance:Object):Boolean
Adds the specified instance to this lookup object.
When the method returns true, the addition succeeded.
Returning false means that the same instance was already added to this object.
instance:Object — the instance to add to this lookup object
Boolean — true, it the addition succeeded, false, if the same instance was already added to this object
Mon Feb 6 2012, 01:04 AM +01:00