diff options
| author | student <student@69.161.224.78> | 2018-02-12 16:39:26 -0500 |
|---|---|---|
| committer | student <student@69.161.224.78> | 2018-02-12 16:39:26 -0500 |
| commit | 26b0cf727656b4d5984f04d73566661644c78fdd (patch) | |
| tree | ed74561644208a342d00ec0da901f6f186be361a /base/src/bjc/dicelang/Token.java | |
| parent | d74549cc7d871d32864d3a6dee944325a2ccc7bf (diff) | |
Refactor Token
Diffstat (limited to 'base/src/bjc/dicelang/Token.java')
| -rw-r--r-- | base/src/bjc/dicelang/Token.java | 18 |
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: |
