| Package | org.spicefactory.lib.expr.impl |
| Class | public class ChainedVariableResolver |
| Implements | VariableResolver |
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new instance.
| ChainedVariableResolver | ||
|
addResolver(resolver:VariableResolver):void
Adds the specified VariableResolver instance to the internal chain.
| ChainedVariableResolver | ||
|
resolveVariable(variableName:String):*
Resolves the variable with the specified name.
| ChainedVariableResolver | ||
| ChainedVariableResolver | () | constructor |
public function ChainedVariableResolver()Creates a new instance.
| addResolver | () | method |
public function addResolver(resolver:VariableResolver):voidAdds the specified VariableResolver instance to the internal chain.
Parametersresolver:VariableResolver — the resolver to add to the internal chain.
|
| resolveVariable | () | method |
public function resolveVariable(variableName:String):*Resolves the variable with the specified name. If the variable cannot be resolved this method should return undefined.
ParametersvariableName:String — the name of the variable to resolve
|
* — the value associated with the specified variable name or undefined if
the variable cannot be resolved
|