mirror of
https://github.com/DanilaFe/abacus
synced 2026-01-27 09:05:19 +00:00
Implement the ability to reduce a tree to a single variable of a type.
This commit is contained in:
@@ -137,4 +137,6 @@ public abstract class TreeNode {
|
||||
return fromStringRecursive(string, matches);
|
||||
}
|
||||
|
||||
public abstract <T> T reduce(Reducer<T> reducer);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user