blob: 38a1cc140ef5943caf903ce92bd4922bb9542573 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package bjc.dicelang.ast;
/**
* The interface for a node in a dice AST
*
* @author ben
*
*/
public interface IDiceASTNode {
/**
* Check if this node represents an operator or not
*
* @return Whether or not this node represents an operator
*/
public boolean isOperator();
/**
* Get the type of AST node this node is
*
* @return The type of AST node this AST node is
*/
public DiceASTType getType();
}
|