...
[repair.git] / Repair / RepairCompiler / MCC / IR / TokenSetDescriptor.java
1 package MCC.IR;
2
3 import java.util.*;
4
5 public class TokenSetDescriptor extends SetDescriptor {
6     
7     private static int count = 0;
8     Vector literals = new Vector();
9     
10     public TokenSetDescriptor() {
11         super("toketsetdescriptor" + count++);
12     }
13     
14     public void addLiteral(LiteralExpr lit) {
15         literals.addElement(lit);
16     }
17
18     public TypeDescriptor getType() {
19         return ReservedTypeDescriptor.INT;
20     }
21
22     public void setType(TypeDescriptor td) {
23         throw new IRException("invalid");
24     }
25
26 }