| Package | org.spicefactory.lib.expr |
| Interface | public interface ExpressionContext |
| Implementors | DefaultExpressionContext |
| Method | Defined By | ||
|---|---|---|---|
addPropertyResolver(resolver:PropertyResolver):void
Adds a PropertyResolver to this context. | ExpressionContext | ||
addVariableResolver(resolver:VariableResolver):void
Adds a VariableResolver to this context. | ExpressionContext | ||
createExpression(expression:String):Expression
Creates a new Expression instance using the specified String value. | ExpressionContext | ||
removeVariable(name:String):void
Removes a variable from this context. | ExpressionContext | ||
setVariable(name:String, value:*):void
Sets a variable for this context. | ExpressionContext | ||
| addPropertyResolver | () | method |
public function addPropertyResolver(resolver:PropertyResolver):voidAdds a PropertyResolver to this context.
Parameters
resolver:PropertyResolver — PropertyResolver to add to this context
|
| addVariableResolver | () | method |
public function addVariableResolver(resolver:VariableResolver):voidAdds a VariableResolver to this context.
Parameters
resolver:VariableResolver — VariableResolver to add to this context
|
| createExpression | () | method |
public function createExpression(expression:String):ExpressionCreates a new Expression instance using the specified String value.
Parameters
expression:String |
Expression — a new Expression instance
|
| removeVariable | () | method |
public function removeVariable(name:String):voidRemoves a variable from this context.
Parameters
name:String — name of the variable
|
| setVariable | () | method |
public function setVariable(name:String, value:*):voidSets a variable for this context.
Parameters
name:String — name of the variable
| |
value:* — new value of the variable
|