projects
/
IRC.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
decide not to have additional grammar to declare the location hierarchy.
[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=-1;
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
}