Return if the node has references to other nodes.
(self, nodes, slices)
| 23 | super().__init__(data, Sequence1D(children)) |
| 24 | |
| 25 | def has_references(self, nodes, slices): |
| 26 | """ |
| 27 | Return if the node has references to other nodes. |
| 28 | """ |
| 29 | for index in slices: |
| 30 | child_id = id(self.children[index]) |
| 31 | if child_id in nodes: |
| 32 | child = nodes[child_id] |
| 33 | if not child.is_hidden_node(): |
| 34 | return True |
| 35 | return False |
| 36 | |
| 37 | def is_vertical(self, nodes, slices, id_to_slices): |
| 38 | """ |
no test coverage detected