mirror of
https://github.com/DanilaFe/abacus
synced 2025-01-09 07:44:14 -08:00
Make sure TreeValueOperator extends Operator.
This commit is contained in:
parent
f8eb051583
commit
b98b08b872
@ -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>
|
Loading…
Reference in New Issue
Block a user