Interface for construction of ExpressionNode, the implementations of the interface, usually involves some simplification of the operands. More...
Public Member Functions | |
| makeNode ($leftOperand, $rightOperand) | |
| Factory method to create an ExpressionNode with given operands. More... | |
Interface for construction of ExpressionNode, the implementations of the interface, usually involves some simplification of the operands.
| MathParser\Parsing\Nodes\Interfaces\ExpressionNodeFactory::makeNode | ( | $leftOperand, | |
| $rightOperand | |||
| ) |
Factory method to create an ExpressionNode with given operands.
| mixed | $leftOperand | |
| mixed | $rightOperand |
| ExpressionNode|NumberNode |
Implemented in MathParser\Parsing\Nodes\Factories\DivisionNodeFactory, MathParser\Parsing\Nodes\Factories\ExponentiationNodeFactory, MathParser\Parsing\Nodes\Factories\SubtractionNodeFactory, MathParser\Parsing\Nodes\Factories\MultiplicationNodeFactory, and MathParser\Parsing\Nodes\Factories\AdditionNodeFactory.