BinaryExpression

Overview

The BinaryExpression class is derived from the WhereExpression class and represents logical operations like And, Or, Greater Than etc.

Location

Properties


Left

The left side of the binary expression.

 

property Left: Expression read;

 

Expression Left { get; }

 

ReadOnly Property Left() As Expression

Operator

Represents the binary operator. It can be: addition, and, divide, =, >, in, <, <=, like, multiply, <>, or, subtraction, xor.

Available types of BinaryExpression are defined by the BinaryOperator.

 

property Operator: BinaryOperator read;

 

BinaryOperator Operator { get; }

 

ReadOnly Property Operator() As BinaryOperator

The right side of the expression.

 

property Right: Expression read;

 

Expression Right { get; }

 

ReadOnly Property Right() As Expression

Instance Methods


constructor

 

constructor(parser: Tokenizer; operator: BinaryOperator; left: Expression; right: Expression)

 

BinaryExpression(Tokenizer parser, BinaryOperator operator, Expression left, Expression right)

 

Sub New(parser As Tokenizer, operator As BinaryOperator, left As Expression, right As Expression)

Parameters:

  • parser:
  • operator:
  • left:
  • right:

Reconstruct

 

method Reconstruct(builder: SqlQueryBuilder)

 

void Reconstruct(SqlQueryBuilder builder)

 

Sub Reconstruct(builder As SqlQueryBuilder)

Parameters:

  • builder: