summaryrefslogtreecommitdiff
path: root/dice-lang/src/bjc/dicelang/v1/ast/nodes/IDiceASTNode.java
blob: 7e8bb810f43f1782fd4ac2b275f7e05d7df0c5a9 (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.v1.ast.nodes;

/**
 * The interface for a node in a dice AST
 *
 * @author ben
 *
 */
public interface IDiceASTNode {
	/**
	 * Get the type of AST node this node is
	 *
	 * @return The type of AST node this AST node is
	 */
	public DiceASTType getType();

	/**
	 * Check if this node represents an operator or not
	 *
	 * @return Whether or not this node represents an operator
	 */
	public boolean isOperator();
}