A PropertyResolver is responsible for resolving properties of resolved variables.
Example: For the expression
VariableResolver will be requested to resolve the variable
property will then be resolved by a PropertyResolver.
may be interpreted in any way. You could, for example,
implement a PropertyResolver for
and use the
"property" name as a parameter for
public function resolveProperty(baseObject:Object, propertyName:String):*
Resolves the property with the specified name in the given base object.
The term "property" may be loosely interpreted and does not necessarily
have to refer to a real property in the base object. If the property cannot be resolved
this method should return undefined.
baseObject:Object — the object to extract the property from
propertyName:String — the name of the property to resolve
* — the resolved property value or undefined if
the variable cannot be resolved
Sat Apr 2 2011, 11:09 PM +01:00