Lines Matching refs:Table
10 information into the Table object for further processing and creating the
23 table_name = re.compile(r'^\s*Table\s+[0-9]+')
30 ANCHOR = 0 # Look for table title anchor
31 TABLE_NAME = 1 # Look for table title in the data stream
32 TABLE_BODY = 2 # Scraping the actual table body
33 MAYBE_DONE = 3 # Could be over, unless a single spec table is split in
42 self._table = tpm_table.Table()
49 characters (like long dashes), which appear only in comments/table titles
62 """Return the Table object containing all information parsed so far."""
77 Each specification table is preceded with a tittle. The title is wrapped
79 text starts with ' Table [0-9]+ '. Once the table title is detected,
80 the state machine switches to looking for the actual HTML table, i.e. tags
81 'table', 'tr' and 'td' (the generated specs do not use the 'th' tags).
84 they fit in a page). This is why the presence of the closing 'table' tag
85 is not enough to close the parsing of the current specification table.
87 In some cases the next table is defined in the spec immediately after the
89 previous table has been completely consumed.
109 # This was not a valid table start, back to looking for the right anchor.
111 elif self._state == self.TABLE_NAME and tag == 'table':
113 # Table title does not match the expected format - back to square one.
119 print('Table(s) %s missing' % ' '.join(
138 if tag == 'table' and self._table.InProgress():