Table of Contents

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

Op NcBinaryOp
Left NcExpr
Right NcExpr

Properties

Left

public NcExpr Left { get; init; }

Property Value

NcExpr

Op

public NcBinaryOp Op { get; init; }

Property Value

NcBinaryOp

Right

public NcExpr Right { get; init; }

Property Value

NcExpr