This commit was manufactured by cvs2svn to create tag 'buildscript'.
[IRC.git] / Robust / src / IR / TagVarDescriptor.java
diff --git a/Robust/src/IR/TagVarDescriptor.java b/Robust/src/IR/TagVarDescriptor.java
deleted file mode 100644 (file)
index 4a0f2f9..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-package IR;
-
-/**
- * Descriptor 
- *
- * represents a symbol in the language (var name, function name, etc).
- */
-
-public class TagVarDescriptor extends Descriptor {
-
-    protected TagDescriptor td;
-    protected String identifier;
-    
-    public TagVarDescriptor(TagDescriptor t, String identifier) {
-       super(identifier);
-       this.td=t;
-       this.identifier=identifier;
-        this.safename = "___" + name + "___";
-       this.uniqueid=count++;
-    }
-
-    public String getName() {
-       return identifier;
-    }
-
-    public TagDescriptor getTag() {
-       return td;
-    }
-
-    public boolean equals(Object o) {
-       if (o instanceof TagVarDescriptor) {
-           TagVarDescriptor tvd=(TagVarDescriptor)o;
-           return tvd.identifier.equals(identifier)&&tvd.td.equals(td);
-       }
-       return false;
-    }
-
-    public int hashCode() {
-       return identifier.hashCode()^td.hashCode();
-    }
-
-    public String toString() {
-           return td.toString()+" "+identifier;
-    }
-}