massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-json / node_modules / vscode-json-languageservice / lib / esm / jsonLanguageTypes.js
diff --git a/.config/coc/extensions/node_modules/coc-json/node_modules/vscode-json-languageservice/lib/esm/jsonLanguageTypes.js b/.config/coc/extensions/node_modules/coc-json/node_modules/vscode-json-languageservice/lib/esm/jsonLanguageTypes.js
new file mode 100644 (file)
index 0000000..71fbb47
--- /dev/null
@@ -0,0 +1,45 @@
+/*---------------------------------------------------------------------------------------------
+ *  Copyright (c) Microsoft Corporation. All rights reserved.
+ *  Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+import { Range, TextEdit, Color, ColorInformation, ColorPresentation, FoldingRange, FoldingRangeKind, MarkupKind, SelectionRange, Diagnostic, DiagnosticSeverity, CompletionItem, CompletionItemKind, CompletionList, Position, InsertTextFormat, MarkupContent, SymbolInformation, SymbolKind, DocumentSymbol, Location, Hover, MarkedString } from 'vscode-languageserver-types';
+import { TextDocument } from 'vscode-languageserver-textdocument';
+export { TextDocument, Range, TextEdit, Color, ColorInformation, ColorPresentation, FoldingRange, FoldingRangeKind, SelectionRange, Diagnostic, DiagnosticSeverity, CompletionItem, CompletionItemKind, CompletionList, Position, InsertTextFormat, MarkupContent, MarkupKind, SymbolInformation, SymbolKind, DocumentSymbol, Location, Hover, MarkedString };
+/**
+ * Error codes used by diagnostics
+ */
+export var ErrorCode;
+(function (ErrorCode) {
+    ErrorCode[ErrorCode["Undefined"] = 0] = "Undefined";
+    ErrorCode[ErrorCode["EnumValueMismatch"] = 1] = "EnumValueMismatch";
+    ErrorCode[ErrorCode["Deprecated"] = 2] = "Deprecated";
+    ErrorCode[ErrorCode["UnexpectedEndOfComment"] = 257] = "UnexpectedEndOfComment";
+    ErrorCode[ErrorCode["UnexpectedEndOfString"] = 258] = "UnexpectedEndOfString";
+    ErrorCode[ErrorCode["UnexpectedEndOfNumber"] = 259] = "UnexpectedEndOfNumber";
+    ErrorCode[ErrorCode["InvalidUnicode"] = 260] = "InvalidUnicode";
+    ErrorCode[ErrorCode["InvalidEscapeCharacter"] = 261] = "InvalidEscapeCharacter";
+    ErrorCode[ErrorCode["InvalidCharacter"] = 262] = "InvalidCharacter";
+    ErrorCode[ErrorCode["PropertyExpected"] = 513] = "PropertyExpected";
+    ErrorCode[ErrorCode["CommaExpected"] = 514] = "CommaExpected";
+    ErrorCode[ErrorCode["ColonExpected"] = 515] = "ColonExpected";
+    ErrorCode[ErrorCode["ValueExpected"] = 516] = "ValueExpected";
+    ErrorCode[ErrorCode["CommaOrCloseBacketExpected"] = 517] = "CommaOrCloseBacketExpected";
+    ErrorCode[ErrorCode["CommaOrCloseBraceExpected"] = 518] = "CommaOrCloseBraceExpected";
+    ErrorCode[ErrorCode["TrailingComma"] = 519] = "TrailingComma";
+    ErrorCode[ErrorCode["DuplicateKey"] = 520] = "DuplicateKey";
+    ErrorCode[ErrorCode["CommentNotPermitted"] = 521] = "CommentNotPermitted";
+    ErrorCode[ErrorCode["SchemaResolveError"] = 768] = "SchemaResolveError";
+})(ErrorCode || (ErrorCode = {}));
+export var ClientCapabilities;
+(function (ClientCapabilities) {
+    ClientCapabilities.LATEST = {
+        textDocument: {
+            completion: {
+                completionItem: {
+                    documentationFormat: [MarkupKind.Markdown, MarkupKind.PlainText],
+                    commitCharactersSupport: true
+                }
+            }
+        }
+    };
+})(ClientCapabilities || (ClientCapabilities = {}));