2017-08-25 15:25:46 -07:00
|
|
|
package org.nwapw.abacus.function
|
|
|
|
|
2017-09-06 21:43:07 -07:00
|
|
|
import org.nwapw.abacus.function.applicable.Applicable
|
2017-08-25 15:25:46 -07:00
|
|
|
import org.nwapw.abacus.number.NumberInterface
|
|
|
|
import org.nwapw.abacus.tree.TreeNode
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A function that operates on trees.
|
|
|
|
*
|
|
|
|
* A function that operates on parse tree nodes instead of on already simplified numbers.
|
|
|
|
* Despite this, it returns a number, not a tree.
|
|
|
|
*/
|
2017-09-06 21:43:07 -07:00
|
|
|
abstract class TreeValueFunction : Applicable<TreeNode, NumberInterface>
|