parameters: (self, line)
docstring: Parse a line in config.h and return the corresponding template.
docstring_summary: Parse a line in config.h and return the corresponding template.
docstring_tokens: Parse a line in config . h and return the corresponding template .
function: def _parse_line(self, line):
          """Parse a line in config.h and return the corresponding template."""
          line = line.rstrip('\r\n')
          m = re.match(self._config_line_regexp, line)
          if m is None:
              return line
          elif m.group('section'):
              self.current_section = m.group('section')
              return line
          else:
              active = not m.group('commented_out')
              name = m.group('name')
              value = m.group('value')
              template = (name,
                          m.group('indentation'),
                          m.group('define') + name +
                          m.group('arguments') + m.group('separator'))
              self.settings[name] = Setting(active, name, value,
                                            self.current_section)
              return template
function_tokens: def _parse_line ( self , line ) : line = line . rstrip ( '\r\n' ) m = re . match ( self . _config_line_regexp , line ) if m is None : return line elif m . group ( 'section' ) : self . current_section = m . group ( 'section' ) return line else : active = not m . group ( 'commented_out' ) name = m . group ( 'name' ) value = m . group ( 'value' ) template = ( name , m . group ( 'indentation' ) , m . group ( 'define' ) + name + m . group ( 'arguments' ) + m . group ( 'separator' ) ) self . settings [ name ] = Setting ( active , name , value , self . current_section ) return template