blob: 4900e462672320992fd5738afc72577074842616 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package bjc.dicelang.examples;
import java.util.function.BiConsumer;
import bjc.utils.funcdata.FunctionalStringTokenizer;
import bjc.utils.funcdata.IMap;
import bjc.utils.funcdata.ITree;
import bjc.dicelang.ast.nodes.IDiceASTNode;
/**
* 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
}
|