diff options
Diffstat (limited to 'boil/library/TypeFactory.java')
-rw-r--r-- | boil/library/TypeFactory.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/boil/library/TypeFactory.java b/boil/library/TypeFactory.java index be77f63..8c64101 100644 --- a/boil/library/TypeFactory.java +++ b/boil/library/TypeFactory.java @@ -1,19 +1,18 @@ package boil.library; import java.util.HashMap; -import st.TypeInstance; public class TypeFactory { private int type_num; - private HashMap<TypeInstance,String> map; + private HashMap<String,String> map; public void reset() { this.type_num = 0; this.map = new HashMap<>(); } - public String alias(TypeInstance t) { + public String alias(String t) { /** * Given a TypeInstance, return the designated * vapor alias. If the alias does not exist, create it. |