Finds the last element beneath this object to be parsed.
(self)
| 180 | return self |
| 181 | |
| 182 | def _lastRecursiveChild(self): |
| 183 | "Finds the last element beneath this object to be parsed." |
| 184 | lastChild = self |
| 185 | while hasattr(lastChild, 'contents') and lastChild.contents: |
| 186 | lastChild = lastChild.contents[-1] |
| 187 | return lastChild |
| 188 | |
| 189 | def insert(self, position, newChild): |
| 190 | if isinstance(newChild, basestring) \ |
no outgoing calls
no test coverage detected