5392f1b814876a436f0175169c5f297592a0e0f2
[repair.git] / Repair / RepairCompiler / MCC / IR / TypeDescriptor.java
1 package MCC.IR;
2
3 /**
4  * TypeDescriptor 
5  *
6  * represents types in the language (bit, short, etc. as well as structures)
7  */
8
9 public abstract class TypeDescriptor extends Descriptor {
10
11     public TypeDescriptor(String name) {
12         super(name);
13     }
14
15     public boolean isSubtypeOf(TypeDescriptor td) {
16         return false;
17     }
18
19     public TypeDescriptor getGenerateType() {
20         return this;
21     }
22
23     public abstract Expr getSizeExpr();
24
25 }