projects
/
repair.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fixed lot of random bugs. Added code generate strings for expr's.
[repair.git]
/
Repair
/
RepairCompiler
/
MCC
/
IR
/
Binding.java
1
package MCC.IR;
2
3
class Binding {
4
VarDescriptor var;
5
int position;
6
boolean search;
7
public Binding(VarDescriptor vd,int pos) {
8
var=vd;
9
position=pos;
10
search=false;
11
}
12
13
public Binding(VarDescriptor vd) {
14
var=vd;
15
search=true;
16
}
17
int getPosition() {
18
return position;
19
}
20
VarDescriptor getVar() {
21
return var;
22
}
23
24
}