aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/zwobble/couscous/interpreter/Environment.java
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-01-10 20:11:38 +0000
committerMichael Williamson <mike@zwobble.org>2016-01-10 20:11:38 +0000
commit7469be61700daf1d19bfcb7085da4f635d0fd09f (patch)
tree6cd4a405bbbb18875f2c1c7d8c78843c75111ceb /src/main/java/org/zwobble/couscous/interpreter/Environment.java
parente1d8a9727e1a84ddfa5b38e8f8a433b7105bc6bd (diff)
Move interpreter exceptions into their own package
Diffstat (limited to 'src/main/java/org/zwobble/couscous/interpreter/Environment.java')
-rw-r--r--src/main/java/org/zwobble/couscous/interpreter/Environment.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/zwobble/couscous/interpreter/Environment.java b/src/main/java/org/zwobble/couscous/interpreter/Environment.java
index 23e2fdf..e57f8e5 100644
--- a/src/main/java/org/zwobble/couscous/interpreter/Environment.java
+++ b/src/main/java/org/zwobble/couscous/interpreter/Environment.java
@@ -6,6 +6,8 @@ import org.zwobble.couscous.ast.TypeName;
import org.zwobble.couscous.ast.VariableDeclaration;
import org.zwobble.couscous.ast.VariableNode;
import org.zwobble.couscous.ast.identifiers.Identifier;
+import org.zwobble.couscous.interpreter.errors.UnboundVariable;
+import org.zwobble.couscous.interpreter.errors.VariableNotInScope;
import org.zwobble.couscous.interpreter.values.ConcreteType;
import org.zwobble.couscous.interpreter.values.InterpreterValue;
import static java.util.stream.Collectors.toMap;