граф циклов в джсоне
This commit is contained in:
@@ -29,10 +29,6 @@ public class Loop extends FileObjectWithMessages {
|
||||
}
|
||||
}
|
||||
//---
|
||||
@Expose
|
||||
public List<FuncCall> funcCalls = new Vector<>();
|
||||
// @Expose
|
||||
// public List<NonRectIter> non_rect_iters = new Vector<>();
|
||||
@Expose
|
||||
public List<Integer> extGotos = new Vector<>();
|
||||
@Expose
|
||||
@@ -41,6 +37,9 @@ public class Loop extends FileObjectWithMessages {
|
||||
public List<Integer> ios = new Vector<>();
|
||||
@Expose
|
||||
public List<Integer> stops = new Vector<>();
|
||||
//--
|
||||
@Expose
|
||||
public List<FuncCall> funcCalls = new Vector<>();
|
||||
@Expose
|
||||
public List<Loop> children = new Vector<>();
|
||||
//--
|
||||
@@ -89,4 +88,12 @@ public class Loop extends FileObjectWithMessages {
|
||||
for (Loop loop: children)
|
||||
loop.toMap_r(loops_map);
|
||||
}
|
||||
@Override
|
||||
public void setFile(String file_in) {
|
||||
super.setFile(file_in);
|
||||
for (FuncCall funcCall: funcCalls)
|
||||
funcCall.setFile(file_in);
|
||||
for (Loop child: children)
|
||||
child.setFile(file_in);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user