| 52 | public static final Type CONTROL = new Type( TCTRL ).intern(); // Ctrl |
| 53 | public static final Type XCONTROL = new Type( TXCTRL ).intern(); // ~Ctrl |
| 54 | public static Type[] gather() { |
| 55 | ArrayList<Type> ts = new ArrayList<>(); |
| 56 | ts.add(BOTTOM); |
| 57 | ts.add(CONTROL); |
| 58 | Field.gather(ts); |
| 59 | TypeInteger.gather(ts); |
| 60 | TypeFloat.gather(ts); |
| 61 | TypeMem.gather(ts); |
| 62 | TypeMemPtr.gather(ts); |
| 63 | TypeStruct.gather(ts); |
| 64 | TypeTuple.gather(ts); |
| 65 | int sz = ts.size(); |
| 66 | for( int i = 0; i < sz; i++ ) |
| 67 | ts.add(ts.get(i).dual()); |
| 68 | return ts.toArray(new Type[ts.size()]); |
| 69 | } |
| 70 | |
| 71 | // Is high or on the lattice centerline. |
| 72 | public boolean isHigh () { return _type==TTOP || _type==TXCTRL; } |