Lines Matching defs:toJSON

92 llvm::json::Value toJSON(const URIForFile &U) { return U.uri(); }
98 llvm::json::Value toJSON(const TextDocumentIdentifier &R) {
108 llvm::json::Value toJSON(const VersionedTextDocumentIdentifier &R) {
109 auto Result = toJSON(static_cast<const TextDocumentIdentifier &>(R));
127 llvm::json::Value toJSON(const Position &P) {
143 llvm::json::Value toJSON(const Range &P) {
154 llvm::json::Value toJSON(const Location &P) {
165 llvm::json::Value toJSON(const ReferenceLocation &P) {
195 llvm::json::Value toJSON(const TextEdit &P) {
212 llvm::json::Value toJSON(const ChangeAnnotation & CA) {
226 llvm::json::Value toJSON(const TextDocumentEdit &P) {
567 llvm::json::Value toJSON(const WorkDoneProgressCreateParams &P) {
571 llvm::json::Value toJSON(const WorkDoneProgressBegin &P) {
585 llvm::json::Value toJSON(const WorkDoneProgressReport &P) {
597 llvm::json::Value toJSON(const WorkDoneProgressEnd &P) {
605 llvm::json::Value toJSON(const MessageType &R) {
609 llvm::json::Value toJSON(const ShowMessageParams &R) {
696 llvm::json::Value toJSON(const DiagnosticRelatedInformation &DRI) {
703 llvm::json::Value toJSON(DiagnosticTag Tag) { return static_cast<int>(Tag); }
705 llvm::json::Value toJSON(const CodeDescription &D) {
709 llvm::json::Value toJSON(const Diagnostic &D) {
749 llvm::json::Value toJSON(const PublishDiagnosticsParams &PDP) {
829 llvm::json::Value toJSON(const SymbolInformation &P) {
843 O << SI.containerName << "::" << SI.name << " - " << toJSON(SI);
854 llvm::json::Value toJSON(const SymbolDetails &P) {
890 O << S.name << " - " << toJSON(S);
901 llvm::json::Value toJSON(const Command &C) {
912 llvm::json::Value toJSON(const CodeAction &CA) {
928 return O << S.name << " - " << toJSON(S);
931 llvm::json::Value toJSON(const DocumentSymbol &S) {
947 llvm::json::Value toJSON(const WorkspaceEdit &WE) {
973 llvm::json::Value toJSON(const TweakArgs &A) {
978 llvm::json::Value toJSON(const ApplyWorkspaceEditParams &Params) {
1048 llvm::json::Value toJSON(const MarkupContent &MC) {
1058 llvm::json::Value toJSON(const Hover &H) {
1059 llvm::json::Object Result{{"contents", toJSON(H.contents)}};
1062 Result["range"] = toJSON(*H.range);
1114 llvm::json::Value toJSON(const CompletionItemLabelDetails &CD) {
1133 llvm::json::Value toJSON(const CompletionItem &CI) {
1163 O << I.label << " - " << toJSON(I);
1172 llvm::json::Value toJSON(const CompletionList &L) {
1179 llvm::json::Value toJSON(const ParameterInformation &PI) {
1193 llvm::json::Value toJSON(const SignatureInformation &SI) {
1206 O << I.label << " - " << toJSON(I);
1210 llvm::json::Value toJSON(const SignatureHelp &SH) {
1229 llvm::json::Value toJSON(const RenameParams &R) {
1237 llvm::json::Value toJSON(const PrepareRenameResult &PRR) {
1239 return toJSON(PRR.range);
1241 {"range", toJSON(PRR.range)},
1246 llvm::json::Value toJSON(const DocumentHighlight &DH) {
1248 {"range", toJSON(DH.range)},
1253 llvm::json::Value toJSON(const FileStatus &FStatus) {
1282 llvm::json::Value toJSON(const SemanticTokens &Tokens) {
1287 llvm::json::Value toJSON(const SemanticTokensEdit &Edit) {
1294 llvm::json::Value toJSON(const SemanticTokensOrDelta &TE) {
1316 llvm::json::Value toJSON(const InactiveRegionsParams &InactiveRegions) {
1389 return O << I.name << " - " << toJSON(I);
1392 llvm::json::Value toJSON(const TypeHierarchyItem::ResolveParams &RP) {
1405 llvm::json::Value toJSON(const TypeHierarchyItem &I) {
1453 llvm::json::Value toJSON(SymbolTag Tag) {
1457 llvm::json::Value toJSON(const CallHierarchyItem &I) {
1491 llvm::json::Value toJSON(const CallHierarchyIncomingCall &C) {
1501 llvm::json::Value toJSON(const CallHierarchyOutgoingCall &C) {
1511 llvm::json::Value toJSON(const InlayHintKind &Kind) {
1526 llvm::json::Value toJSON(const InlayHint &H) {
1531 auto K = toJSON(H.kind);
1568 llvm::json::Value toJSON(const InlayHintLabelPart &L) {
1608 llvm::json::Value toJSON(const OffsetEncoding &OE) { return toString(OE); }
1632 llvm::json::Value toJSON(const SelectionRange &Out) {
1635 {"parent", toJSON(*Out.parent)}};
1646 llvm::json::Value toJSON(const DocumentLink &DocumentLink) {
1663 llvm::json::Value toJSON(const FoldingRange &Range) {
1677 llvm::json::Value toJSON(const MemoryTree &MT) {
1682 auto Child = toJSON(Entry.getSecond());
1696 llvm::json::Value toJSON(const ASTNode &N) {
1741 llvm::json::Value toJSON(const SymbolID &S) { return S.str(); }