CxExpressionBinary

Description

sealed class Tinman.Core.Cx.Expressions.CxExpressionBinary

An binary expression:

a = b     a += b    a /= b
a &= b    a |= b    a ^= b
a %= b    a *= b    a <<= b
a >>= b   a -= b    a == b
a > b     a >= b    a < b
a <= b    a != b    a && b
a || b    a & b     a | b
a ^ b     a as b    a is b
a + b     a / b     a % b
a * b     a << b    a >> b
a - b

Public / Constructors

Cx​Expression​Binary


public constructor CxExpressionBinary → (3)

left in : CxExpression

[not-null]
See Left.

op in : CxBinary

See Op.

right in : CxExpression

[not-null]
See Right.

Creates a new instance of CxExpressionBinary.

Public / Attributes

Is​Right​Associative


[Constant]
public attribute IsRightAssociative → (get)

value : bool

true if the operator is right-associative,
false if the operator is left-associative.

Returns the associativity of the binary operator.

See also

CxBinary

Left


[Constant]
public attribute Left → (get)

value : CxExpression

[not-null]
The left-side value expression.

Returns the left-side value expression.

Op


public attribute Op → (get,set)

value : CxBinary

The operator.

The binary operator.

Right


[Constant]
public attribute Right → (get)

value : CxExpression

[not-null]
The right-side value expression.

Returns the right-side value expression.