Lines Matching defs:Request
30 bool fromJSON(const llvm::json::Value &Parameters, FuzzyFindRequest &Request,
35 O && O.map("Query", Request.Query) && O.map("Scopes", Request.Scopes) &&
36 O.map("AnyScope", Request.AnyScope) && O.map("Limit", Limit) &&
37 O.map("RestrictForCodeCompletion", Request.RestrictForCodeCompletion) &&
38 O.map("ProximityPaths", Request.ProximityPaths) &&
39 O.map("PreferredTypes", Request.PreferredTypes);
41 Request.Limit = Limit;
45 llvm::json::Value toJSON(const FuzzyFindRequest &Request) {
47 {"Query", Request.Query},
48 {"Scopes", Request.Scopes},
49 {"AnyScope", Request.AnyScope},
50 {"Limit", Request.Limit},
51 {"RestrictForCodeCompletion", Request.RestrictForCodeCompletion},
52 {"ProximityPaths", Request.ProximityPaths},
53 {"PreferredTypes", Request.PreferredTypes},