Make sure TreeValueOperator extends Operator.

This commit is contained in:
Danila Fedorin 2017-08-25 19:49:15 -07:00
parent f8eb051583
commit b98b08b872
1 changed files with 3 additions and 1 deletions

View File

@ -13,4 +13,6 @@ import org.nwapw.abacus.tree.TreeNode
* @param precedence the precedence of the operator.
*/
abstract class TreeValueOperator(associativity: OperatorAssociativity, type: OperatorType,
precedence: Int) : ReducerApplicable<TreeNode, NumberInterface, NumberInterface>
precedence: Int) :
Operator(associativity, type, precedence),
ReducerApplicable<TreeNode, NumberInterface, NumberInterface>