25b16795c4c0ccba0d4d3bca8c7bcf2cf1115897
[IRC.git] / Robust / src / IR / Tree / TreeNode.java
1 package IR.Tree;
2
3 public class TreeNode {
4   public static final int INDENT=2;
5   int numLine;
6
7   public String printNode(int indent) {
8     return null;
9   }
10   public static String printSpace(int x) {
11     String sp="";
12     for(int i=0; i<x; i++)
13       sp+=" ";
14     return sp;
15   }
16   public int kind() {
17     throw new Error();
18   }
19   
20   public void setNumLine(int numLine){
21     this.numLine=numLine;
22   }
23   
24   public int getNumLine(){
25     return this.numLine;
26   }
27   
28 }