Add a function that operates on trees.

This commit is contained in:
Danila Fedorin 2017-08-25 00:49:16 -07:00
parent 01f80bbb53
commit 00462281fe
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
package org.nwapw.abacus.function;
import org.nwapw.abacus.number.NumberInterface;
import org.nwapw.abacus.tree.TreeNode;
/**
* A function that operates on parse tree nodes instead of on already simplified numbers.
* Despite this, it returns a number, not a tree.
*/
public abstract class TreeValueFunction extends Applicable<TreeNode, NumberInterface> {
}