BinaryValue Class

From The Oxygene Language Wiki

Jump to:navigation, search

This is a Language topic
Feel free to add your notes to this topic below.


[Serializable]
BinaryValue = public class(Value)

The BinaryValue is used as a class to hold any operator that takes two operands, like Multiply or AND. For example the expression 1 + 5 would look like: new BinaryValue(new DataValue(1), new DataValue(5), BinaryOperator.Plus).

Namespace: Cirrus Values


Members

Method
Description
constructor(aLeft, aRight: Value; anOperator: BinaryOperator)Create a new instance of this class
constructor(aLeft, aRight: Value; anOperator: BinaryOperator; aType: IType)Create a new instance of this class; this overload allows passing a type parameter, to define the result type
constructorCreate a new instance of this class


Properties

Property
Description
Left: ValueGets or sets the value on the left side of the expression
Operator: BinaryOperatorGets or sets the operator
Right: ValueGets or sets the value on the right side of the expression
Type: ITypeGets or sets the type of this value


See Also


Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox