summaryrefslogtreecommitdiff
path: root/dice-lang/src/bjc/utils/dice/ast/LiteralDiceNode.java
diff options
context:
space:
mode:
authorbculkin2442 <bjculkin@mix.wvu.edu>2016-03-28 08:47:23 -0400
committerbculkin2442 <bjculkin@mix.wvu.edu>2016-03-28 08:47:23 -0400
commit62e94ef994a59e87543445bb3c0ce0a37017a70a (patch)
treedfa1a488d3929e3f93e2a91669cdaf97c6d707f3 /dice-lang/src/bjc/utils/dice/ast/LiteralDiceNode.java
parent78d9c539e25f16fd15f06c2b2c48c0ad37a21540 (diff)
Renamed packages to suit updated project
Diffstat (limited to 'dice-lang/src/bjc/utils/dice/ast/LiteralDiceNode.java')
-rw-r--r--dice-lang/src/bjc/utils/dice/ast/LiteralDiceNode.java48
1 files changed, 0 insertions, 48 deletions
diff --git a/dice-lang/src/bjc/utils/dice/ast/LiteralDiceNode.java b/dice-lang/src/bjc/utils/dice/ast/LiteralDiceNode.java
deleted file mode 100644
index b0c1400..0000000
--- a/dice-lang/src/bjc/utils/dice/ast/LiteralDiceNode.java
+++ /dev/null
@@ -1,48 +0,0 @@
-package bjc.utils.dice.ast;
-
-/**
- * A AST node that represents a literal value
- *
- * @author ben
- *
- */
-public class LiteralDiceNode implements IDiceASTNode {
- /**
- * The value contained by this node
- */
- private String data;
-
- /**
- * Create a new node with the given value
- *
- * @param data
- * The value to be in this node
- */
- 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;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see java.lang.Object#toString()
- */
- @Override
- public String toString() {
- return data;
- }
-}