code: def _build_config_tree(name, configuration):
      '''
      Build the configuration tree.
  
      The root object is _current_statement.
      '''
      type_, id_, options = _get_type_id_options(name, configuration)
      global _INDENT, _current_statement
      _INDENT = ''
      if type_ == 'config':
          _current_statement = GivenStatement(options)
      elif type_ == 'log':
          _current_statement = UnnamedStatement(type='log')
          _parse_log_statement(options)
      else:
          if _is_statement_unnamed(type_):
              _current_statement = UnnamedStatement(type=type_)
          else:
              _current_statement = NamedStatement(type=type_, id=id_)
          _parse_statement(optionsf _build_config_tree(name, configuration):
      '''
      Build the configuration tree.
  
      The root object is _current_statement.
      '''
      type_, id_, options = _get_type_id_options(name, configuration)
      global _INDENT, _current_statement
      _INDENT = ''
      if type_ == 'config':
          _current_statement = GivenStatement(options)
      elif type_ == 'log':
          _current_statement = UnnamedStatement(type='log')
          _parse_log_statement(options)
      else:
          if _is_statement_unnamed(type_):
              _current_statement = UnnamedStatement(type=type_)
          else:
              _current_statement = NamedStatement(type=type_, id=id_)
          _parse_statement(options)
docs: Build the configuration tree.
  
      The root object is _current_statement.