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

/**
 * 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();
}