diff options
Diffstat (limited to 'dice-lang/src/main/java/bjc/dicelang/ast/IntegerResult.java')
| -rw-r--r-- | dice-lang/src/main/java/bjc/dicelang/ast/IntegerResult.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dice-lang/src/main/java/bjc/dicelang/ast/IntegerResult.java b/dice-lang/src/main/java/bjc/dicelang/ast/IntegerResult.java index c8d9a64..ce61d38 100644 --- a/dice-lang/src/main/java/bjc/dicelang/ast/IntegerResult.java +++ b/dice-lang/src/main/java/bjc/dicelang/ast/IntegerResult.java @@ -19,6 +19,11 @@ public class IntegerResult implements IResult { value = val; } + @Override + public ResultType getType() { + return ResultType.INTEGER; + } + /** * Get the value of this result * @@ -29,11 +34,6 @@ public class IntegerResult implements IResult { } @Override - public ResultType getType() { - return ResultType.INTEGER; - } - - @Override public String toString() { return Integer.toString(value); } |
