mirror of
https://github.com/DanilaFe/abacus
synced 2025-04-21 16:18:44 -07:00
Add a function that operates on trees.
This commit is contained in:
parent
f96f809abf
commit
a083cdfbaa
@ -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