| 23 | namespace ccls { |
| 24 | struct QueryFile { |
| 25 | struct Def { |
| 26 | std::string path; |
| 27 | std::vector<const char *> args; |
| 28 | LanguageId language; |
| 29 | // Includes in the file. |
| 30 | std::vector<IndexInclude> includes; |
| 31 | // Parts of the file which are disabled. |
| 32 | std::vector<Range> skipped_ranges; |
| 33 | // Used by |$ccls/reload|. |
| 34 | std::vector<const char *> dependencies; |
| 35 | }; |
| 36 | |
| 37 | using DefUpdate = std::pair<Def, std::string>; |
| 38 |