blob: 502dafd232957ce2bf9eec1bd1dc2512c8f640ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package bjc.dicelang.v1.examples;
import bjc.dicelang.v1.ast.nodes.IDiceASTNode;
import bjc.utils.data.ITree;
import bjc.utils.funcdata.FunctionalStringTokenizer;
import bjc.utils.funcdata.IMap;
import java.util.function.BiConsumer;
/**
* Alias for the type of a 'pragma' or special language command
*
* To explain it, a pragma is a function that takes a tokenizer with the rest of
* the line, and an enviroment that contains variable bindings
*
* @author ben
*
*/
public interface DiceASTPragma extends BiConsumer<FunctionalStringTokenizer, IMap<String, ITree<IDiceASTNode>>> {
// Just an alias
}
|