-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathASTForStatement.java
More file actions
61 lines (48 loc) · 1.14 KB
/
Copy pathASTForStatement.java
File metadata and controls
61 lines (48 loc) · 1.14 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
57
58
59
60
61
public class ASTForStatement extends ASTStatement {
public ASTForStatement(ASTStatement initialize, ASTExpression test,
ASTStatement increment, ASTStatement body, int line) {
initialize_ = initialize;
test_ = test;
increment_ = increment;
body_ = body;
line_ = line;
}
public ASTStatement initialize() {
return initialize_;
}
public ASTExpression test() {
return test_;
}
public ASTStatement increment() {
return increment_;
}
public ASTStatement body() {
return body_;
}
public int line() {
return line_;
}
public void setinitialize(ASTStatement initialize) {
initialize_ = initialize;
}
public void settest(ASTExpression test) {
test_ = test;
}
public void setincrement(ASTStatement increment) {
increment_ = increment;
}
public void setbody(ASTStatement body) {
body_ = body;
}
public void setline(int line) {
line_= line;
}
public Object Accept(ASTVisitor V) {
return V.VisitForStatement(this);
}
ASTStatement initialize_;
ASTExpression test_;
ASTStatement increment_;
ASTStatement body_;
int line_;
}