-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFunctionEntry.java
More file actions
56 lines (43 loc) · 1.01 KB
/
Copy pathFunctionEntry.java
File metadata and controls
56 lines (43 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import java.util.Vector;
class FunctionEntry {
public FunctionEntry(Type result, Vector formals) {
result_ = result;
formals_ = formals;
startlabel_ = null;
endlabel_ = null;
}
public FunctionEntry(Type result, Vector formals, Label startlabel, Label endlabel) {
result_ = result;
formals_ = formals;
startlabel_ = startlabel;
endlabel_ = endlabel;
}
public Type result() {
return result_;
}
public Vector formals() {
return formals_;
}
public Label startlabel() {
return startlabel_;
}
public Label endlabel() {
return endlabel_;
}
public void setresult(Type result) {
result_ = result;
}
public void setformals(Vector formals) {
formals_ = formals;
}
public void setstartlabel(Label startlabel) {
startlabel_ = startlabel;
}
public void setendlabel(Label endlabel) {
endlabel_ = endlabel;
}
private Type result_;
private Vector formals_;
private Label startlabel_;
private Label endlabel_;
}