ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.icc.editors.model.el 

Expression  - AS3 Asset Composer

Packagecom.adobe.icc.editors.model.el
Classpublic class Expression
InheritanceExpression Inheritance Object
Implements IOperand

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Abstract class from which all expression types derive.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  operands : Array
Fetches the array of operands.
Expression
  operator : IOperator
Operator associated with the expression
Expression
Public Methods
 MethodDefined By
  
Expression(operator:IOperator, operands:Array)
Constructor.
Expression
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
  
[static] Function which returns the parsed expression
Expression
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
  
String representation of the operand
Expression
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

operands

property
operands:Array

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10
Runtime Versions: AIR (unsupported), Flash Player 10.2

Fetches the array of operands.



Implementation
    public function get operands():Array
    public function set operands(value:Array):void

operator

property 
operator:IOperator

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10
Runtime Versions: AIR (unsupported), Flash Player 10.2

Operator associated with the expression



Implementation
    public function get operator():IOperator
    public function set operator(value:IOperator):void
Constructor Detail

Expression

()Constructor
public function Expression(operator:IOperator, operands:Array)

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10.0
Runtime Versions: AIR (unsupported), Flash Player 10.2

Constructor.

Parameters
operator:IOperator — The Ioperator instance associated with this Expression class.
 
operands:Array — The array of operands used in the creation of an Expression instance.
Method Detail

parse

()method
public static function parse(expString:String):Expression

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10
Runtime Versions: AIR (unsupported), Flash Player 10.2

Function which returns the parsed expression

Parameters

expString:String — expression to be parsed

Returns
Expression — the parsed expression

toString

()method 
public function toString():String

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10
Runtime Versions: AIR (unsupported), Flash Player 10.2

String representation of the operand

Returns
String — String representation of the operand