Table of Contents

Class ParsedExpressionSubtractInt64Operator

Namespace
LfrlAnvil.Computable.Expressions.Constructs.Int64
Assembly
LfrlAnvil.Computable.Expressions.dll

Represents a LfrlAnvil.Computable.Expressions.Constructs.Int64 binary subtract operator construct.

public sealed class ParsedExpressionSubtractInt64Operator : ParsedExpressionBinaryOperator<long>
Inheritance
ParsedExpressionSubtractInt64Operator
Inherited Members

Methods

CreateBinaryExpression(Expression, Expression)

Creates an expression.

[Pure]
protected override Expression CreateBinaryExpression(Expression left, Expression right)

Parameters

left Expression

Left argument.

right Expression

Right argument.

Returns

Expression

New Expression.

TryCreateFromOneConstant(ConstantExpression, Expression)

Attempts to create an expression from one constant.

[Pure]
protected override Expression? TryCreateFromOneConstant(ConstantExpression left, Expression right)

Parameters

left ConstantExpression

Left constant argument.

right Expression

Right argument.

Returns

Expression

New Expression or null when it could not be created.

TryCreateFromOneConstant(Expression, ConstantExpression)

Attempts to create an expression from one constant.

[Pure]
protected override Expression? TryCreateFromOneConstant(Expression left, ConstantExpression right)

Parameters

left Expression

Left argument.

right ConstantExpression

Right constant argument.

Returns

Expression

New Expression or null when it could not be created.

TryCreateFromTwoConstants(ConstantExpression, ConstantExpression)

Attempts to create an expression from two constants.

[Pure]
protected override Expression? TryCreateFromTwoConstants(ConstantExpression left, ConstantExpression right)

Parameters

left ConstantExpression

Left constant argument.

right ConstantExpression

Right constant argument.

Returns

Expression

New Expression or null when it could not be created.