Fix tabbing.... Please fix your editors so they do tabbing correctly!!! (Spaces...
[IRC.git] / Robust / src / IR / Tree / ClassTypeNode.java
1 package IR.Tree;
2
3 import IR.TypeDescriptor;
4
5 public class ClassTypeNode extends ExpressionNode {
6   TypeDescriptor td;
7
8   public ClassTypeNode(TypeDescriptor td) {
9     this.td=td;
10   }
11
12   public TypeDescriptor getTypeDesc() {
13     return this.td;
14   }
15
16   public void setTypeDesc(TypeDescriptor td) {
17     this.td = td;
18   }
19
20   public TypeDescriptor getType() {
21     return td;
22   }
23
24   public String printNode(int indent) {
25     return td.toString();
26   }
27
28   public int kind() {
29     return Kind.ClassTypeNode;
30   }
31
32   public Long evaluate() {
33     eval = null;
34     return eval; //null;
35   }
36 }