Table of Contents

Class NumberExpr

Namespace
Invex.StructuredText.Expressions
Assembly
Invex.StructuredText.dll

An expression that evaluates to a number.

public abstract record NumberExpr : Expr
Inheritance
object
NumberExpr
Derived
Inherited Members

Constructors

NumberExpr()

protected NumberExpr()

Methods

Eq(NumberExpr)

Tests this value for equality with other.

public BoolExpr Eq(NumberExpr other)

Parameters

other NumberExpr

The value to compare with.

Returns

BoolExpr

Ge(NumberExpr)

Tests whether this value is greater than or equal to other.

public BoolExpr Ge(NumberExpr other)

Parameters

other NumberExpr

The value to compare with.

Returns

BoolExpr

Gt(NumberExpr)

Tests whether this value is greater than other.

public BoolExpr Gt(NumberExpr other)

Parameters

other NumberExpr

The value to compare with.

Returns

BoolExpr

Le(NumberExpr)

Tests whether this value is less than or equal to other.

public BoolExpr Le(NumberExpr other)

Parameters

other NumberExpr

The value to compare with.

Returns

BoolExpr

Lt(NumberExpr)

Tests whether this value is less than other.

public BoolExpr Lt(NumberExpr other)

Parameters

other NumberExpr

The value to compare with.

Returns

BoolExpr

Ne(NumberExpr)

Tests this value for inequality with other.

public BoolExpr Ne(NumberExpr other)

Parameters

other NumberExpr

The value to compare with.

Returns

BoolExpr

Operators

implicit operator NumberExpr(double)

Converts a double to a numeric literal.

public static implicit operator NumberExpr(double value)

Parameters

value double

The literal value.

Returns

NumberExpr