Ejemplo n.º 1
0
 def getDependencySet(self):
     deps = DependencySet()
     if self.option_a:
         deps = dependParallel(self.option_a.getDependencySet(), deps)
     if self.option_b:
         deps = dependParallel(self.option_b.getDependencySet(), deps)
     cond_deps = DependencySet(self.cond.getDependencies())
     return joinDependencies(cond_deps, deps)
Ejemplo n.º 2
0
 def getDependencySet(self):
     deps = DependencySet()
     if self.option_a:
         deps = dependParallel(self.option_a.getDependencySet(), deps)
     if self.option_b:
         deps = dependParallel(self.option_b.getDependencySet(), deps)
     cond_deps = DependencySet(self.cond.getDependencies())
     return joinDependencies(cond_deps, deps)
Ejemplo n.º 3
0
 def getDependencySet(self):
     x = self.inner.getDependencySet()
     postcond_deps = DependencySet(self.postcond.getDependencies())
     return joinDependencies(x, postcond_deps)
Ejemplo n.º 4
0
 def getDependencySet(self):
     cur = DependencySet()
     for instr in reversed(self.contents):
         cur = joinDependencies(instr.getDependencySet(), cur)
     return cur
Ejemplo n.º 5
0
 def getDependencySet(self):
     x = self.inner.getDependencySet()
     postcond_deps = DependencySet(self.postcond.getDependencies())
     return joinDependencies(x, postcond_deps)
Ejemplo n.º 6
0
 def getDependencySet(self):
     cur = DependencySet()
     for instr in reversed(self.contents):
         cur = joinDependencies(instr.getDependencySet(), cur)
     return cur