Class Negative
- Namespace
- Albatross.Expression.Unary
- Assembly
- Albatross.Expression.dll
Represents the unary negation operator that converts positive numbers to negative and vice versa.
public class Negative : UnaryExpression, IUnaryExpression, IExpression, IToken, IHasPrecedence
- Inheritance
-
Negative
- Implements
- Inherited Members
- Extension Methods
Constructors
Negative()
Initializes a new instance of the Negative class.
public Negative()
Methods
Run(object)
protected override object Run(object operand)
Parameters
operandobject