summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/dice/ast/LiteralDiceNode.java
blob: 5bfbc8540e325f433ce528faeeb09fce4f08d119 (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.utils.dice.ast;

public class LiteralDiceNode implements IDiceASTNode {
	private String data;

	public LiteralDiceNode(String data) {
		this.data = data;
	}

	@Override
	public boolean isOperator() {
		return false;
	}

	/**
	 * Get the data stored in this AST node
	 * 
	 * @return the data stored in this AST node
	 */
	public String getData() {
		return data;
	}
}