Finds the last element beneath this object to be parsed.
(self)
| 195 | return self |
| 196 | |
| 197 | def _lastRecursiveChild(self): |
| 198 | "Finds the last element beneath this object to be parsed." |
| 199 | lastChild = self |
| 200 | while hasattr(lastChild, 'contents') and lastChild.contents: |
| 201 | lastChild = lastChild.contents[-1] |
| 202 | return lastChild |
| 203 | |
| 204 | def insert(self, position, newChild): |
| 205 | if isinstance(newChild, basestring) \ |
no outgoing calls
no test coverage detected