Lines Matching refs:previous
118 def setup(self, parent=None, previous=None):
122 self.previous = previous
158 if self.previous:
159 self.previous.next = nextElement
161 nextElement.previous = self.previous
162 self.previous = None
204 newChild.previous = self
209 newChild.previous = previousChild._lastRecursiveChild()
210 if newChild.previous:
211 newChild.previous.next = newChild
237 newChildsLastElement.next.previous = newChildsLastElement
365 i = i.previous
501 previous=None):
513 self.setup(parent, previous)
1322 o.setup(self.currentTag, self.previous)
1323 if self.previous:
1324 self.previous.next = o
1325 self.previous = o
1353 """We need to pop up to the previous tag of this type, unless
1355 tag and the previous tag of this type, OR unless this tag is a
1357 comes between this tag and the previous tag of this type.
1414 tag = Tag(self, name, attrs, self.currentTag, self.previous)
1415 if self.previous:
1416 self.previous.next = tag
1417 self.previous = tag
1462 a <p> tag should implicitly close the previous <p> tag.
1469 of a <blockquote> tag should _not_ implicitly close the previous
1478 implicitly close the previous <tr> tag within the same <table>,
1578 # sniffed during a previous pass through the