Table of Contents

Namespace Albatross.Expression.Infix

Classes

And

Represents the logical AND operator that returns true when both operands are true.

ComparisonInfixOperation

Base class for infix operations that perform comparison between two operands of the same type.

Divide

Infix operation that perform divide

Operand Count: 2

Operands

  1. Operrand1 : double
  2. Operrand2 : double

Output Type: double

Equal

Represents the equality comparison operator that checks if two values are equal.

GreaterEqual

Infix GreaterEqual operation.

Operand Count: 2

Operands

  1. Operand1 : any
  2. Operand2 : any

Output Type: Boolean

Usage: 3 >= 2

Precedance: 50

GreaterThan

Infix GreaterThan operation.

Operand Count: 2

Operands

  1. Operand1 : any
  2. Operand2 : any

Output Type: Boolean

Usage: 3 > 2

Precedance: 50

InfixExpression

Base implementation for infix binary operation expressions.

LessEqual

Infix expression that performs less-than-or-equal comparison between two operands. Uses the "<=" operator with precedence 50.

LessThan

Infix expression that performs less-than comparison between two operands. Uses the "<" operator with precedence 50.

Minus

Infix expression that performs arithmetic subtraction between two numeric operands. Uses the "-" operator with precedence 100.

Mod

Infix operation that perform an mod operation

Operand Count: 2

Operands

  1. Operrand1 : double
  2. Operrand2 : double

Output Type: double

Multiply

Infix operation that perform an multiply operation

Operand Count: 2

Operands

  1. Operrand1 : double
  2. Operrand2 : double

Output Type: double

NotEqual

Infix expression that performs not-equal comparison between two operands. Uses the "<>" operator with precedence 50.

Or

Infix OR operation.

Operand Count: 2

Operands

  1. Operand1 : any
  2. Operand2 : any

Output Type: Boolean

Usage: 3 > 2 or 2 > 1

Precedance: 20

Plus

Represents the addition operator that adds two numeric values.

Power

Infix operation that perform an power operation

Operand Count: 2

Operands

  1. base : double
  2. operand : double

Output Type: double