Lines Matching full:_state
40 self._state = self.ANCHOR
66 if self._state != new_state:
67 self._state = new_state
99 if self._state == self.ANCHOR:
101 elif self._state == self.MAYBE_DONE:
106 elif self._state == self.TABLE_NAME:
108 elif tag == 'p' and self._state == self.TABLE_NAME and not self._title:
111 elif self._state == self.TABLE_NAME and tag == 'table':
125 elif self._state == self.MAYBE_DONE and tag == 'tr':
127 elif self._state == self.SKIP_HEADER and tag == 'tr':
130 elif self._state == self.TABLE_BODY:
143 if self._state == self.TABLE_NAME:
145 elif self._state == self.TABLE_BODY:
147 elif self._state == self.MAYBE_DONE:
155 if self._state in (self.TABLE_BODY, self.MAYBE_DONE):
157 self._state = self.ANCHOR
168 if self._state == self.TABLE_BODY:
170 elif self._state == self.TABLE_NAME: