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