summaryrefslogtreecommitdiff
path: root/st/TypeInstance.java
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-04-06 20:00:31 -0600
committerbd-912 <bdunahu@colostate.edu>2024-04-06 20:00:31 -0600
commit8e660afb356c1f6d0b9cd115426cf21129e5d304 (patch)
treea8c885c83b138762ca51af640355048bc305b437 /st/TypeInstance.java
parentb03859dce5991169b07d1d5040c8faf7ba82e5b5 (diff)
Untested SymbolTable full implementation
Diffstat (limited to 'st/TypeInstance.java')
-rw-r--r--st/TypeInstance.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/st/TypeInstance.java b/st/TypeInstance.java
index e00c1f9..b4031d9 100644
--- a/st/TypeInstance.java
+++ b/st/TypeInstance.java
@@ -6,7 +6,6 @@ public class TypeInstance extends AbstractInstance {
public TypeInstance(String name, TypeEnum type) {
super(name, type);
- this.scope = null;
}
public boolean sameType(TypeInstance other) {
@@ -28,12 +27,4 @@ public class TypeInstance extends AbstractInstance {
return type != TypeEnum.ERROR;
}
- public AbstractInstance getScope() {
- /**
- * Returns the scope of the variable, or
- * `null' if unset.
- */
- return this.scope;
- }
-
}