Returns all the symbols (simple or composite) that own this QN. In other words, if this symbol was modified, the symbols in the owner set may also be affected. Examples: 'a.b[c.d]' has two owners, 'a' and 'a.b'
(self)
| 123 | |
| 124 | @property |
| 125 | def owner_set(self): |
| 126 | """Returns all the symbols (simple or composite) that own this QN. |
| 127 | |
| 128 | In other words, if this symbol was modified, the symbols in the owner set |
| 129 | may also be affected. |
| 130 | |
| 131 | Examples: |
| 132 | 'a.b[c.d]' has two owners, 'a' and 'a.b' |
| 133 | """ |
| 134 | owners = set() |
| 135 | if self.has_attr() or self.has_subscript(): |
| 136 | owners.add(self.parent) |
| 137 | owners.update(self.parent.owner_set) |
| 138 | return owners |
| 139 | |
| 140 | @property |
| 141 | def support_set(self): |
nothing calls this directly
no test coverage detected