Class NumberExpr
- Namespace
- Invex.StructuredText.Expressions
- Assembly
- Invex.StructuredText.dll
An expression that evaluates to a number.
public abstract record NumberExpr : Expr
- Inheritance
-
objectNumberExpr
- Derived
- Inherited Members
Constructors
NumberExpr()
protected NumberExpr()
Methods
Eq(NumberExpr)
Tests this value for equality with other.
public BoolExpr Eq(NumberExpr other)
Parameters
otherNumberExprThe value to compare with.
Returns
Ge(NumberExpr)
Tests whether this value is greater than or equal to other.
public BoolExpr Ge(NumberExpr other)
Parameters
otherNumberExprThe value to compare with.
Returns
Gt(NumberExpr)
Tests whether this value is greater than other.
public BoolExpr Gt(NumberExpr other)
Parameters
otherNumberExprThe value to compare with.
Returns
Le(NumberExpr)
Tests whether this value is less than or equal to other.
public BoolExpr Le(NumberExpr other)
Parameters
otherNumberExprThe value to compare with.
Returns
Lt(NumberExpr)
Tests whether this value is less than other.
public BoolExpr Lt(NumberExpr other)
Parameters
otherNumberExprThe value to compare with.
Returns
Ne(NumberExpr)
Tests this value for inequality with other.
public BoolExpr Ne(NumberExpr other)
Parameters
otherNumberExprThe value to compare with.
Returns
Operators
implicit operator NumberExpr(double)
Converts a double to a numeric literal.
public static implicit operator NumberExpr(double value)
Parameters
valuedoubleThe literal value.