Return the `data_node` if it was produced in this scope, or the appropriate split node that was created for accessing the `data_node` in this scope.
(self, data_node)
| 163 | return False |
| 164 | |
| 165 | def get(self, data_node): |
| 166 | """Return the `data_node` if it was produced in this scope, or the appropriate split node |
| 167 | that was created for accessing the `data_node` in this scope. |
| 168 | """ |
| 169 | assert self.has(data_node) |
| 170 | if _data_node_repr(data_node) in self.produced: |
| 171 | return data_node |
| 172 | else: |
| 173 | assert self.branch in {_Branch.TrueBranch, _Branch.FalseBranch} |
| 174 | return self.splits[_data_node_repr(data_node)][self.branch.value] |
| 175 | |
| 176 | |
| 177 | class _ConditionStack: |
no test coverage detected