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