code: def convert_group(tokens):
      
      tok = tokens.asList()
      dic = dict(tok)
      if not (len(dic) == len(tok)):
          raise ParseFatalException("Names in group must be unique: %s" % tokens)
      return ConfGroup(dic)
docs: Converts parseResult from to ConfGroup type.