1 //===-- CompletionRequest.cpp -----------------------------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #include "lldb/Utility/CompletionRequest.h" 11 12 using namespace lldb; 13 using namespace lldb_private; 14 15 CompletionRequest::CompletionRequest(llvm::StringRef command, 16 unsigned raw_cursor_pos, Args &parsed_line, 17 int cursor_index, int cursor_char_position, 18 int match_start_point, 19 int max_return_elements, 20 bool word_complete, StringList &matches) 21 : m_command(command), m_raw_cursor_pos(raw_cursor_pos), 22 m_parsed_line(parsed_line), m_cursor_index(cursor_index), 23 m_cursor_char_position(cursor_char_position), 24 m_match_start_point(match_start_point), 25 m_max_return_elements(max_return_elements), 26 m_word_complete(word_complete), m_matches(&matches) {} 27