Node - YiZhang-Paul/Mock_Up_Calculator GitHub Wiki
Namespace: ExpressionsClassLibrary
Implements: INode
Description: Format expressions to human-readable format.
| Constructors | Usage |
|---|---|
| Node() | Initializes an instance of Node class |
| Node(INode, INode) | Initializes an instance of Node class with predefined child nodes |
| Properties | Usage |
|---|---|
| IsOperand<bool> | check if node contains an operand |
| Left<INode> | get left child node |
| Right<INode> | get right child node |
| Parent<INode> | get parent node |
| Value<decimal> | get value held by node |
| Methods | Usage |
|---|---|
| AddLeft(INode) | add a new left child node |
| AddRight(INode) | add a new right child node |