You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: conan_info_parser_v2.rb
    path of file: ./repos/LicenseFinder/lib/license_finder/package_utils
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module LicenseFinder
  class ConanInfoParserV2
    def parse(info)
      @lines = info.lines.map(&:chomp)
      @state = :project_level # state of the state machin
    
    def parse_val_list(line)
      if val_list_level(line)
        @current_vals << line.strip
      else
        @current_project[@current_key] = @current_vals
        if line.start_with?(' ')
          @state = :key_val
          @lines.unshift(line)
        else
          change_to_new_project_state line
        end