summaryrefslogtreecommitdiff
path: root/dice-lang/src/main/java/bjc/dicelang/ast/IOperatorCollapser.java
blob: 8fd066dc4321d3f0b90548a25f67b595c02881ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package bjc.dicelang.ast;

import java.util.function.Function;

import bjc.dicelang.ast.nodes.IDiceASTNode;
import bjc.utils.data.IPair;
import bjc.utils.funcdata.IFunctionalList;
import bjc.utils.funcdata.ITree;

/**
 * Alias for operator collapsers. Because 68-char types are too long
 * 
 * @author ben
 *
 */
public interface IOperatorCollapser extends
		Function<IFunctionalList<IPair<IResult, ITree<IDiceASTNode>>>,
							IPair<IResult, ITree<IDiceASTNode>>> {
	// Just an alias
}