Class NcBinaryExpr
- Namespace
- Hi.NcParsers.EvaluationSyntaxs.Evaluation
- Assembly
- HiMech.dll
Binary operation on two operands. Covers arithmetic
(+ - * / / MOD), comparison
(EQ NE GT GE LT LE, yielding 1.0 / 0.0), and
logical bitwise (AND OR XOR, operands truncated to
long).
public sealed record NcBinaryExpr : NcExpr, IEquatable<NcExpr>, IEquatable<NcBinaryExpr>
- Inheritance
-
NcBinaryExpr
- Implements
- Inherited Members
- Extension Methods
Constructors
NcBinaryExpr(NcBinaryOp, NcExpr, NcExpr)
Binary operation on two operands. Covers arithmetic
(+ - * / / MOD), comparison
(EQ NE GT GE LT LE, yielding 1.0 / 0.0), and
logical bitwise (AND OR XOR, operands truncated to
long).
public NcBinaryExpr(NcBinaryOp Op, NcExpr Left, NcExpr Right)
Parameters
OpNcBinaryOpLeftNcExprRightNcExpr
Properties
Left
public NcExpr Left { get; init; }
Property Value
Op
public NcBinaryOp Op { get; init; }
Property Value
Right
public NcExpr Right { get; init; }