Change tabbing for everything....
[IRC.git] / Robust / src / IR / NameDescriptor.java
index 344d57c8cae4859caed49dc2122d4594b984b640..ded9d9e84e81894e0c85046dcd4319a9375833ef 100644 (file)
@@ -1,40 +1,40 @@
 package IR;
 
 public class NameDescriptor extends Descriptor {
-    String identifier;
-    NameDescriptor nd;
-    public NameDescriptor(NameDescriptor nd, String id) {
-       super(nd.toString()+"."+id);
-       identifier=id;
-       this.nd=nd;
-    }
+  String identifier;
+  NameDescriptor nd;
+  public NameDescriptor(NameDescriptor nd, String id) {
+    super(nd.toString()+"."+id);
+    identifier=id;
+    this.nd=nd;
+  }
 
-    public NameDescriptor(String id) {
-       super(id);
-       identifier=id;
-       nd=null;
-    }
+  public NameDescriptor(String id) {
+    super(id);
+    identifier=id;
+    nd=null;
+  }
 
-    public String getIdentifier() {
-       return identifier;
-    }
+  public String getIdentifier() {
+    return identifier;
+  }
 
-    public NameDescriptor getBase() {
-       return nd;
-    }
+  public NameDescriptor getBase() {
+    return nd;
+  }
 
-    public String getRoot() {
-       if (nd==null)
-           return identifier;
-       else 
-           return nd.getRoot();
-    }
+  public String getRoot() {
+    if (nd==null)
+      return identifier;
+    else
+      return nd.getRoot();
+  }
 
-    public String toString() {
-       if (nd==null) 
-           return identifier;
-       else
-           return nd+"."+identifier;
-    }
+  public String toString() {
+    if (nd==null)
+      return identifier;
+    else
+      return nd+"."+identifier;
+  }
 
 }