Fix tabbing.... Please fix your editors so they do tabbing correctly!!! (Spaces...
[IRC.git] / Robust / src / IR / Tree / TreeNode.java
index 5aabe20c76c6e29a97ddf3d9c724238998872598..2451d6db9e8291ae865493c090853907a8391748 100644 (file)
@@ -1,15 +1,28 @@
 package IR.Tree;
 
-class TreeNode {
-    public static final int INDENT=2;
-
-    public String printNode(int indent) {
-       return null;
-    }
-    public static String printSpace(int x) {
-       String sp="";
-       for(int i=0;i<x;i++)
-           sp+=" ";
-       return sp;
-    }
+public class TreeNode {
+  public static final int INDENT=2;
+  int numLine=-1;
+
+  public String printNode(int indent) {
+    return null;
+  }
+  public static String printSpace(int x) {
+    String sp="";
+    for(int i=0; i<x; i++)
+      sp+=" ";
+    return sp;
+  }
+  public int kind() {
+    throw new Error();
+  }
+
+  public void setNumLine(int numLine) {
+    this.numLine=numLine;
+  }
+
+  public int getNumLine() {
+    return this.numLine;
+  }
+
 }