diff options
Diffstat (limited to 'dice-lang/src/main/java/bjc/dicelang/ast/IResult.java')
| -rw-r--r-- | dice-lang/src/main/java/bjc/dicelang/ast/IResult.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dice-lang/src/main/java/bjc/dicelang/ast/IResult.java b/dice-lang/src/main/java/bjc/dicelang/ast/IResult.java new file mode 100644 index 0000000..9a3f325 --- /dev/null +++ b/dice-lang/src/main/java/bjc/dicelang/ast/IResult.java @@ -0,0 +1,16 @@ +package bjc.dicelang.ast; + +/** + * Represents a result from an expression evaluation + * + * @author ben + * + */ +public interface IResult { + /** + * Get the type of this result + * + * @return The type of this result + */ + public ResultType getType(); +} |
