-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathLineNumber.java
More file actions
executable file
·51 lines (41 loc) · 920 Bytes
/
LineNumber.java
File metadata and controls
executable file
·51 lines (41 loc) · 920 Bytes
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
public class LineNumber {
private String linenum;
private String reason;
private Expression expr;
private String fullLine;
private LineNumber parent;
private LineNumber leftChild;
private LineNumber rightChild;
public LineNumber(String linenum, String reason, Expression expr) {
this.linenum = linenum;
this.reason = reason;
this.expr = expr;
}
public String getLineNumber ( ) {
return linenum;
}
public String getReason(){
return reason;
}
public LineNumber getParent() {
return parent;
}
public void setParent(LineNumber parent) {
this.parent = parent;
}
public Expression getExpr() {
return expr;
}
public LineNumber getLeftChild() {
return leftChild;
}
public LineNumber getRightChild() {
return rightChild;
}
public void setLeftChild(LineNumber child) {
leftChild = child;
}
public void setRightChild(LineNumber child) {
rightChild = child;
}
}