Expressions - YiZhang-Paul/Mock_Up_Calculator GitHub Wiki
Classes in Expressions Class Library handle the core functionality of calculators - to calculate. These classes receive input data, transform data into expressions, and compute result base on the expressions.
Name | Type | Description |
---|---|---|
INode | Interface | node interface |
IExpressionBuilder | Interface | expression builder interface |
IExpressionParser | Interface | expression parser interface |
IEvaluate | Interface | evaluator interface |
IOperatorLookup | Interface | operator lookup interface |
IParenthesize | Interface | parenthesizer interface |
Node | Class | parse tree node |
ExpressionBuilder | Class | building up math expressions |
ExpressionParser | Class | parse expressions into parse tree |
Evaluator | Class | evaluate parse tree to get result |
OperatorLookup | Class | provides operators lookup service |
Parenthesizer | Class | parenthesize expressions for parsing |