File size: 13,538 Bytes
6abff73
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
/**
 * Unique identifiers for messages reported by the TSDoc parser.
 *
 * @remarks
 *
 * These strings are possible values for the {@link ParserMessage.messageId} property.
 * These identifiers can be used to suppress or configure the reporting of individual messages.
 * They are also useful when searching for help about a particular error.
 *
 * @public
 */
export declare enum TSDocMessageId {
    /**
     * File not found
     * @remarks
     * Reported by the `@microsoft/tsdoc-config` package when it failed to find a `tsdoc.json` file.
     */
    ConfigFileNotFound = "tsdoc-config-file-not-found",
    /**
     * Error parsing JSON input: ___
     * @remarks
     * Reported by the `@microsoft/tsdoc-config` package when the `tsdoc.json` file has invalid JSON syntax.
     */
    ConfigInvalidJson = "tsdoc-config-invalid-json",
    /**
     * Unsupported JSON "$schema" value
     * @remarks
     * Reported by the `@microsoft/tsdoc-config` package when the file format is not supported.
     */
    ConfigFileUnsupportedSchema = "tsdoc-config-unsupported-schema",
    /**
     * Error loading config file: ___
     * @remarks
     * Reported by the `@microsoft/tsdoc-config` package when the config file doesn't conform to its schema.
     */
    ConfigFileSchemaError = "tsdoc-config-schema-error",
    /**
     * Circular reference encountered for "extends" field of "___"
     * @remarks
     * Reported by the `@microsoft/tsdoc-config` package when the "extends" field creates a chain of references
     * that causes a file to indirectly extend itself.
     */
    ConfigFileCyclicExtends = "tsdoc-config-cyclic-extends",
    /**
     * Unable to resolve "extends" reference to "___"
     * @remarks
     * Reported by the `@microsoft/tsdoc-config` package when module resolution fails for the "extends" field.
     */
    ConfigFileUnresolvedExtends = "tsdoc-config-unresolved-extends",
    /**
     * The "supportForTags" field refers to an undefined tag "___".
     * @remarks
     * Reported by the `@microsoft/tsdoc-config` package when loading the tsdoc.json config file.
     */
    ConfigFileUndefinedTag = "tsdoc-config-undefined-tag",
    /**
     * The "tagDefinitions" field specifies more than one tag with the name "___".
     * @remarks
     * Reported by the `@microsoft/tsdoc-config` package when loading the tsdoc.json config file.
     */
    ConfigFileDuplicateTagName = "tsdoc-config-duplicate-tag-name",
    /**
     * A TSDoc tag name must start with a letter and contain only letters and numbers.
     * @remarks
     * Reported by the `@microsoft/tsdoc-config` package when loading the tsdoc.json config file.
     */
    ConfigFileInvalidTagName = "tsdoc-config-invalid-tag-name",
    /**
     * Expecting a `/**` comment.
     * Unexpected end of input.
     */
    CommentNotFound = "tsdoc-comment-not-found",
    /**
     * Expecting a leading `/**`
     */
    CommentOpeningDelimiterSyntax = "tsdoc-comment-missing-opening-delimiter",
    /**
     * Unexpected end of input.
     */
    CommentMissingClosingDelimiter = "tsdoc-comment-missing-closing-delimiter",
    /**
     * A doc comment cannot have more than one `@inheritDoc` tag
     */
    ExtraInheritDocTag = "tsdoc-extra-inheritdoc-tag",
    /**
     * The `}` character should be escaped using a backslash to avoid confusion with a TSDoc inline tag.
     */
    EscapeRightBrace = "tsdoc-escape-right-brace",
    /**
     * The `>` character should be escaped using a backslash to avoid confusion with an HTML tag.
     */
    EscapeGreaterThan = "tsdoc-escape-greater-than",
    /**
     * The ___ block must include a deprecation message, e.g. describing the recommended alternative.
     */
    MissingDeprecationMessage = "tsdoc-missing-deprecation-message",
    /**
     * A ___ block must not be used, because that content is provided by the `@inheritDoc` tag.
     */
    InheritDocIncompatibleTag = "tsdoc-inheritdoc-incompatible-tag",
    /**
     * The summary section must not have any content, because that content is provided by the `@inheritDoc` tag.
     */
    InheritDocIncompatibleSummary = "tsdoc-inheritdoc-incompatible-summary",
    /**
     * The TSDoc tag ___ is an inline tag; it must be enclosed in `{ }` braces.
     */
    InlineTagMissingBraces = "tsdoc-inline-tag-missing-braces",
    /**
     * The TSDoc tag ___ is not an inline tag; it must not be enclosed in `{ }` braces.
     */
    TagShouldNotHaveBraces = "tsdoc-tag-should-not-have-braces",
    /**
     * The TSDoc tag ___ is not supported by this tool.
     */
    UnsupportedTag = "tsdoc-unsupported-tag",
    /**
     * The TSDoc tag ___ is not defined in this configuration.
     */
    UndefinedTag = "tsdoc-undefined-tag",
    /**
     * The `@param` block should not include a JSDoc-style `{type}`.
     */
    ParamTagWithInvalidType = "tsdoc-param-tag-with-invalid-type",
    /**
     * The `@param` block should not include a JSDoc-style optional name; it must not be enclosed in `[ ]` brackets.
     */
    ParamTagWithInvalidOptionalName = "tsdoc-param-tag-with-invalid-optional-name",
    /**
     * The `@param` block should be followed by a parameter name.
     */
    ParamTagWithInvalidName = "tsdoc-param-tag-with-invalid-name",
    /**
     * The `@param` block should be followed by a parameter name and then a hyphen.
     */
    ParamTagMissingHyphen = "tsdoc-param-tag-missing-hyphen",
    /**
     * A backslash must precede another character that is being escaped.  OR
     * A backslash can only be used to escape a punctuation character.
     */
    UnnecessaryBackslash = "tsdoc-unnecessary-backslash",
    /**
     * Expecting a TSDoc tag starting with `@`.  OR
     * Expecting a TSDoc tag starting with `{`.
     */
    MissingTag = "tsdoc-missing-tag",
    /**
     * The `@` character looks like part of a TSDoc tag; use a backslash to escape it.
     */
    AtSignInWord = "tsdoc-at-sign-in-word",
    /**
     * Expecting a TSDoc tag name after `@`; if it is not a tag, use a backslash to escape this character.
     */
    AtSignWithoutTagName = "tsdoc-at-sign-without-tag-name",
    /**
     * Expecting a TSDoc tag starting with `{@`.  OR
     * Expecting a TSDoc inline tag name after the `{@` characters.
     */
    MalformedInlineTag = "tsdoc-malformed-inline-tag",
    /**
     * The token ___ looks like a TSDoc tag but contains an invalid character ___; if it is not a tag,
     * use a backslash to escape the `@`.
     */
    CharactersAfterBlockTag = "tsdoc-characters-after-block-tag",
    /**
     * A TSDoc tag name must start with a letter and contain only letters and numbers.
     */
    MalformedTagName = "tsdoc-malformed-tag-name",
    /**
     * The character ___ cannot appear after the TSDoc tag name; expecting a space.
     */
    CharactersAfterInlineTag = "tsdoc-characters-after-inline-tag",
    /**
     * The TSDoc inline tag name is missing its closing `}`.
     */
    InlineTagMissingRightBrace = "tsdoc-inline-tag-missing-right-brace",
    /**
     * The `{` character must be escaped with a backslash when used inside a TSDoc inline tag.
     */
    InlineTagUnescapedBrace = "tsdoc-inline-tag-unescaped-brace",
    /**
     * Unexpected character after declaration reference.
     */
    InheritDocTagSyntax = "tsdoc-inheritdoc-tag-syntax",
    /**
     * The `@link` tag content is missing.
     */
    LinkTagEmpty = "tsdoc-link-tag-empty",
    /**
     * The ___ character may not be used in the link text without escaping it.
     */
    LinkTagUnescapedText = "tsdoc-link-tag-unescaped-text",
    /**
     * Unexpected character after link destination.
     */
    LinkTagDestinationSyntax = "tsdoc-link-tag-destination-syntax",
    /**
     * The URL cannot be empty.  OR
     * An `@link` URL must begin with a scheme comprised only of letters and numbers followed by `://`.  OR
     * An `@link` URL must have at least one character after `://`.
     */
    LinkTagInvalidUrl = "tsdoc-link-tag-invalid-url",
    /**
     * The declaration reference appears to contain a package name or import path, but it is missing the `#` delimiter.
     */
    ReferenceMissingHash = "tsdoc-reference-missing-hash",
    /**
     * The hash character must be preceded by a package name or import path.
     */
    ReferenceHashSyntax = "tsdoc-reference-hash-syntax",
    /**
     * The package name cannot be an empty string.  OR
     * The package name ___ is not a valid package name.
     */
    ReferenceMalformedPackageName = "tsdoc-reference-malformed-package-name",
    /**
     * An import path must not contain `//`.  OR
     * An import path must not end with `/`.  OR
     * An import path must not start with `/` unless prefixed by a package name.
     */
    ReferenceMalformedImportPath = "tsdoc-reference-malformed-import-path",
    /**
     * Expecting a declaration reference.
     */
    MissingReference = "tsdoc-missing-reference",
    /**
     * Expecting a period before the next component of a declaration reference
     */
    ReferenceMissingDot = "tsdoc-reference-missing-dot",
    /**
     * Syntax error in declaration reference: the member selector must be enclosed in parentheses.
     */
    ReferenceSelectorMissingParens = "tsdoc-reference-selector-missing-parens",
    /**
     * Expecting a colon after the identifier because the expression is in parentheses.
     */
    ReferenceMissingColon = "tsdoc-reference-missing-colon",
    /**
     * Expecting a matching right parenthesis.
     */
    ReferenceMissingRightParen = "tsdoc-reference-missing-right-paren",
    /**
     * Missing declaration reference in symbol reference
     */
    ReferenceSymbolSyntax = "tsdoc-reference-symbol-syntax",
    /**
     * Missing closing square bracket for symbol reference
     */
    ReferenceMissingRightBracket = "tsdoc-reference-missing-right-bracket",
    /**
     * Unexpected end of input inside quoted member identifier.
     */
    ReferenceMissingQuote = "tsdoc-reference-missing-quote",
    /**
     * The quoted identifier cannot be empty.
     */
    ReferenceEmptyIdentifier = "tsdoc-reference-empty-identifier",
    /**
     * Syntax error in declaration reference: expecting a member identifier.
     */
    ReferenceMissingIdentifier = "tsdoc-reference-missing-identifier",
    /**
     * The identifier cannot be an empty string. OR
     * The identifier cannot non-word characters. OR
     * The identifier must not start with a number. OR
     * The identifier ___ must be quoted because it is a TSDoc system selector name.
     */
    ReferenceUnquotedIdentifier = "tsdoc-reference-unquoted-identifier",
    /**
     * Expecting a selector label after the colon.
     */
    ReferenceMissingLabel = "tsdoc-reference-missing-label",
    /**
     * The selector cannot be an empty string.  OR
     * If the selector begins with a number, it must be a positive integer value.  OR
     * A label selector must be comprised of upper case letters, numbers, and underscores
     * and must not start with a number.  OR
     * The selector ___ is not a recognized TSDoc system selector name.
     */
    ReferenceSelectorSyntax = "tsdoc-reference-selector-syntax",
    /**
     * Expecting an attribute or `>` or `/>`.
     */
    HtmlTagMissingGreaterThan = "tsdoc-html-tag-missing-greater-than",
    /**
     * Expecting `=` after HTML attribute name.
     */
    HtmlTagMissingEquals = "tsdoc-html-tag-missing-equals",
    /**
     * Expecting an HTML string starting with a single-quote or double-quote character.
     */
    HtmlTagMissingString = "tsdoc-html-tag-missing-string",
    /**
     * The HTML string is missing its closing quote.
     */
    HtmlStringMissingQuote = "tsdoc-html-string-missing-quote",
    /**
     * The next character after a closing quote must be spacing or punctuation.
     */
    TextAfterHtmlString = "tsdoc-text-after-html-string",
    /**
     * Expecting an HTML tag starting with `</`.
     */
    MissingHtmlEndTag = "tsdoc-missing-html-end-tag",
    /**
     * A space is not allowed here.  OR
     * Expecting an HTML name.  OR
     * An HTML name must be a sequence of letters separated by hyphens.
     */
    MalformedHtmlName = "tsdoc-malformed-html-name",
    /**
     * This HTML element name is not defined by your TSDoc configuration.
     */
    UnsupportedHtmlElementName = "tsdoc-unsupported-html-name",
    /**
     * The opening backtick for a code fence must appear at the start of the line.
     */
    CodeFenceOpeningIndent = "tsdoc-code-fence-opening-indent",
    /**
     * The language specifier cannot contain backtick characters.
     */
    CodeFenceSpecifierSyntax = "tsdoc-code-fence-specifier-syntax",
    /**
     * The closing delimiter for a code fence must not be indented.
     */
    CodeFenceClosingIndent = "tsdoc-code-fence-closing-indent",
    /**
     * Missing closing delimiter.
     */
    CodeFenceMissingDelimiter = "tsdoc-code-fence-missing-delimiter",
    /**
     * Unexpected characters after closing delimiter for code fence.
     */
    CodeFenceClosingSyntax = "tsdoc-code-fence-closing-syntax",
    /**
     * A code span must contain at least one character between the backticks.
     */
    CodeSpanEmpty = "tsdoc-code-span-empty",
    /**
     * The code span is missing its closing backtick.
     */
    CodeSpanMissingDelimiter = "tsdoc-code-span-missing-delimiter"
}
export declare const allTsdocMessageIds: string[];
export declare const allTsdocMessageIdsSet: ReadonlySet<string>;
//# sourceMappingURL=TSDocMessageId.d.ts.map