| Package | org.spicefactory.lib.expr.impl |
| Class | public class ChainedPropertyResolver |
| Implements | PropertyResolver |
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new instance.
| ChainedPropertyResolver | ||
|
addResolver(resolver:PropertyResolver):void
Adds the specified VariableResolver instance to the internal chain.
| ChainedPropertyResolver | ||
|
resolveProperty(baseObject:Object, propertyName:String):*
Resolves the property with the specified name in the given base object.
| ChainedPropertyResolver | ||
| ChainedPropertyResolver | () | constructor |
public function ChainedPropertyResolver()Creates a new instance.
| addResolver | () | method |
public function addResolver(resolver:PropertyResolver):voidAdds the specified VariableResolver instance to the internal chain.
Parametersresolver:PropertyResolver — the resolver to add to the internal chain.
|
| resolveProperty | () | method |
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.
ParametersbaseObject: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
|