blob: a29b8b530f5f51f6af4de9d1e571b6ac6e983e12 (
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 java.util.function.BiConsumer;
import bjc.dicelang.v1.ast.nodes.IDiceASTNode;
import bjc.utils.data.ITree;
import bjc.utils.funcdata.FunctionalStringTokenizer;
import bjc.utils.funcdata.IMap;
/**
* 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
}
|