|
1 |
| package edu.rice.cs.javalanglevels.tree; |
|
2 |
| |
|
3 |
| import edu.rice.cs.javalanglevels.SourceInfo; |
|
4 |
| |
|
5 |
| |
|
6 |
| |
|
7 |
| |
|
8 |
| |
|
9 |
| |
|
10 |
| public abstract class MethodInvocation extends FunctionInvocation { |
|
11 |
| private final Word _name; |
|
12 |
| |
|
13 |
| |
|
14 |
| |
|
15 |
| |
|
16 |
| |
|
17 |
108
| public MethodInvocation(SourceInfo in_sourceInfo, ParenthesizedExpressionList in_arguments, Word in_name) {
|
|
18 |
108
| super(in_sourceInfo, in_arguments);
|
|
19 |
| |
|
20 |
108
| if (in_name == null) {
|
|
21 |
0
| throw new java.lang.IllegalArgumentException("Parameter 'name' to the MethodInvocation constructor was null. This class may not have null field values.");
|
|
22 |
| } |
|
23 |
108
| _name = in_name;
|
|
24 |
| } |
|
25 |
| |
|
26 |
230
| public Word getName() { return _name; }
|
|
27 |
| |
|
28 |
| public abstract <RetType> RetType visit(JExpressionIFVisitor<RetType> visitor); |
|
29 |
| public abstract void visit(JExpressionIFVisitor_void visitor); |
|
30 |
| public abstract void outputHelp(TabPrintWriter writer); |
|
31 |
| protected abstract int generateHashCode(); |
|
32 |
| } |