class_docstr: Parses the results of a SHOW CREATE TABLE statement.
class_docstr_tok: ["Parses","the","results","of","a","SHOW","CREATE","TABLE","statement","."]
docstr: Build a dictionary of all reflected table-level options.
  
  :param line: The final line of SHOW CREATE TABLE output.
docstr_tok: ["Build","a","dictionary","of","all","reflected","table-level","options",".",":","param","line",":","The","final","line","of","SHOW","CREATE","TABLE","output","."]
code: def _parse_table_options(self, line, state):
      """Build a dictionary of all reflected table-level options.
  
      :param line: The final line of SHOW CREATE TABLE output.
      """
  
      options = {}
  
      if line and line != ")":
          rest_of_line = line
          for regex, cleanup in self._pr_options:
              m = regex.search(rest_of_line)
              if not m:
                  continue
              directive, value = m.group("directive"), m.group("val")
              if cleanup:
                  value = cleanup(value)
              options[directive.lower()] = value
              rest_of_line = regex.sub("", rest_of_line)
  
      for nope in (
          "auto_increment",
          "data directory",
          "index directory",
      ):
          options.pop(nope, None)
  
      for opt, val in options.items():
          state.table_options["%s_%s" % (self.dialect.name, opt)] = val
  
imports: import re
  from .enumerated import ENUM
  from .enumerated import SET
  from .types import DATETIME
  from .types import TIME
  from .types import TIMESTAMP
  from ...None import log
  from ...None import types
  from ...None import util
label_desc: Use image node_id 6 for calling the MySQLTableDefinitionParser obj's underlying member method code with example usage: obj._parse_table_options(line, state) without return types