Class Plus
- Namespace
- Albatross.Expression.Infix
- Assembly
- Albatross.Expression.dll
Represents the addition operator that adds two numeric values.
public class Plus : InfixExpression, IInfixExpression, IExpression, IToken, IHasPrecedence
- Inheritance
-
Plus
- Implements
- Inherited Members
- Extension Methods
Constructors
Plus()
Initializes a new instance of the Plus class.
public Plus()
Methods
Run(object, object)
Executes the infix operation with the evaluated left and right operands. Derived classes should override this method to implement specific operations.
protected override object Run(object left, object right)
Parameters
Returns
- object
The result of the operation.