Packageorg.spicefactory.parsley.core.context
Interfacepublic interface LookupStatus
Implementors DefaultLookupStatus

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 Methods
 MethodDefined By
  
addInstance(instance:Object):Boolean
Adds the specified instance to this lookup object.
LookupStatus
Method Detail
addInstance()method
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.

Parameters

instance:Object — the instance to add to this lookup object

Returns
Boolean — true, it the addition succeeded, false, if the same instance was already added to this object