(self)
| 122 | return current |
| 123 | |
| 124 | def getLastValueElement(self): |
| 125 | current = self |
| 126 | # Move to last child as long as children exists |
| 127 | while len(current.children) > 0: |
| 128 | current = current.children[-1] |
| 129 | return current |
| 130 | |
| 131 | def getChildByValueElement(self, ed): |
| 132 | potentialChild = ed |