mirror of
https://github.com/DanilaFe/abacus
synced 2024-12-22 15:30:09 -08:00
Add a function that operates on trees.
This commit is contained in:
parent
01f80bbb53
commit
00462281fe
|
@ -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> {
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user