This commit was manufactured by cvs2svn to create tag 'buildscript'.
[IRC.git] / Robust / src / IR / Descriptor.java
diff --git a/Robust/src/IR/Descriptor.java b/Robust/src/IR/Descriptor.java
deleted file mode 100644 (file)
index edafd62..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-package IR;
-
-/**
- * Descriptor 
- *
- * represents a symbol in the language (var name, function name, etc).
- */
-
-public abstract class Descriptor {
-
-    protected String name;
-    protected String safename;
-    static int count=0;
-    int uniqueid;
-    
-    public Descriptor(String name) {
-       this.name = name;
-        this.safename = "___" + name + "___";
-       this.uniqueid=count++;
-    }
-
-    protected Descriptor(String name, String safename) {
-       this.name = name;
-        this.safename = safename;
-       this.uniqueid=count++;
-    }
-    
-    public String toString() {
-       return name;
-    }
-    
-    public String getSymbol() {
-       return name;
-    }
-
-    public String getSafeSymbol() {
-        return safename;
-    }
-    public int getNum() {
-       return uniqueid;
-    }
-}