BinaryValue Class
From The Oxygene Language Wiki
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
| | |
|---|---|
| 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 |
| constructor | Create a new instance of this class |
Properties
| | |
|---|---|
| Left: Value | Gets or sets the value on the left side of the expression |
| Operator: BinaryOperator | Gets or sets the operator |
| Right: Value | Gets or sets the value on the right side of the expression |
| Type: IType | Gets or sets the type of this value |
See Also
- Cirrus
- External Links:
- Prism Aspects to Help with Monobjc Development (RemObjects Blogs)
- Value Class
Area: Oxygene Language
Compiler version: Oxygene 5
Language Glossary — Keywords — Types — FAQ — How To