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