summaryrefslogtreecommitdiff
path: root/base/src/bjc/dicelang/Token.java
diff options
context:
space:
mode:
authorstudent <student@69.161.224.78>2018-02-12 16:39:26 -0500
committerstudent <student@69.161.224.78>2018-02-12 16:39:26 -0500
commit26b0cf727656b4d5984f04d73566661644c78fdd (patch)
treeed74561644208a342d00ec0da901f6f186be361a /base/src/bjc/dicelang/Token.java
parentd74549cc7d871d32864d3a6dee944325a2ccc7bf (diff)
Refactor Token
Diffstat (limited to 'base/src/bjc/dicelang/Token.java')
-rw-r--r--base/src/bjc/dicelang/Token.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/base/src/bjc/dicelang/Token.java b/base/src/bjc/dicelang/Token.java
index b152185..b940925 100644
--- a/base/src/bjc/dicelang/Token.java
+++ b/base/src/bjc/dicelang/Token.java
@@ -1,6 +1,5 @@
package bjc.dicelang;
-import bjc.dicelang.dice.DiceExpression;
import bjc.utils.funcdata.IList;
/*
@@ -80,14 +79,6 @@ public class Token {
/*
* This is used for the following token types
- *
- * - FLOAT_LIT (float value)
- *
- */
- public double floatValue;
-
- /*
- * This is used for the following token types
*
* - TOKGROUP (the tokens in the group)
*
@@ -106,12 +97,6 @@ public class Token {
intValue = val;
}
- public Token(final Type typ, final double val) {
- this(typ);
-
- floatValue = val;
- }
-
public Token(final Type typ, final IList<Token> tkVals) {
this(typ);
@@ -132,9 +117,6 @@ public class Token {
case CBRACE:
return type.toString() + "(" + intValue + ")";
- case FLOAT_LIT:
- return type.toString() + "(" + floatValue + ")";
-
case TAGOP:
case TAGOPR:
case TOKGROUP: