Packageorg.spicefactory.lib.expr.impl
Classpublic class ValueExpression
InheritanceValueExpression Inheritance Object
Implements Expression

Represents a value expression without literal parts. That means the expression starts with ${ and ends with }. Example: "${user.address.city}"



Public Properties
 PropertyDefined By
  defaultValue : *
[read-only] The default value to use when this expression evaluates to undefined.
ValueExpression
  expressionString : String
[read-only] The unresolved expression string.
ValueExpression
  value : *
[read-only] The fully resolved value of this expression.
ValueExpression
Public Methods
 MethodDefined By
  
ValueExpression(expressionString:String, variableResolver:VariableResolver, propertyResolver:PropertyResolver)
Creates a new expression instance.
ValueExpression
Property Detail
defaultValueproperty
defaultValue:*  [read-only]

The default value to use when this expression evaluates to undefined. Might be an instance of ValueExpression itself.


Implementation
    public function get defaultValue():*
expressionStringproperty 
expressionString:String  [read-only]

The unresolved expression string.


Implementation
    public function get expressionString():String
valueproperty 
value:*  [read-only]

The fully resolved value of this expression.


Implementation
    public function get value():*
Constructor Detail
ValueExpression()Constructor
public function ValueExpression(expressionString:String, variableResolver:VariableResolver, propertyResolver:PropertyResolver)

Creates a new expression instance.

Parameters
expressionString:String — the expression string
 
variableResolver:VariableResolver — the VariableResolver to use for this expression
 
propertyResolver:PropertyResolver — the PropertyResolver to use for this expression