|
1 |
| package edu.rice.cs.dynamicjava.symbol.type; |
|
2 |
| |
|
3 |
| import edu.rice.cs.dynamicjava.symbol.*; |
|
4 |
| |
|
5 |
| |
|
6 |
| |
|
7 |
| |
|
8 |
| |
|
9 |
| |
|
10 |
| @SuppressWarnings("unused") |
|
11 |
| public abstract class Type extends java.lang.Object { |
|
12 |
| |
|
13 |
| |
|
14 |
| |
|
15 |
| |
|
16 |
| |
|
17 |
73009
| public Type() {
|
|
18 |
73009
| super();
|
|
19 |
| } |
|
20 |
| |
|
21 |
| |
|
22 |
| public abstract <RetType> RetType apply(TypeVisitor<RetType> visitor); |
|
23 |
| |
|
24 |
| public abstract void apply(TypeVisitor_void visitor); |
|
25 |
| |
|
26 |
| public abstract void output(java.io.Writer writer); |
|
27 |
| private int _hashCode; |
|
28 |
| private boolean _hasHashCode = false; |
|
29 |
| |
|
30 |
812851
| public final int hashCode() {
|
|
31 |
30553
| if (! _hasHashCode) { _hashCode = generateHashCode(); _hasHashCode = true; }
|
|
32 |
812851
| return _hashCode;
|
|
33 |
| } |
|
34 |
| |
|
35 |
| public abstract int generateHashCode(); |
|
36 |
| public abstract void walk(TreeWalker w); |
|
37 |
| } |