Skip to main content

file_identify/
generated.rs

1// @generated by `cargo xtask gen-identify` from Python identify 2.6.20.
2// DO NOT EDIT. Regenerate with:
3//     cargo xtask gen-identify --src <identify-2.6.20>/identify
4// identify/extensions.py and identify/interpreters.py are parsed as data
5// (xtask/src/pyliteral.rs); no Python code is executed.
6
7use crate::table::{StrIndex, TagTable};
8use crate::tags::{Tag, TagSet};
9
10/// Version of the Python [identify](https://github.com/pre-commit/identify)
11/// release the tables in this crate were generated from.
12pub const IDENTIFY_VERSION: &str = "2.6.20";
13
14/// Number of tags known to identify (`len(identify.ALL_TAGS)`).
15pub const TAG_COUNT: usize = 323;
16
17/// Number of `u64` words in a [`TagSet`] bitset.
18pub(crate) const WORDS: usize = 6;
19
20/// Length in bytes of the longest extension key.
21pub(crate) const MAX_EXTENSION_LEN: usize = 15;
22
23/// Every tag known to identify (`identify.ALL_TAGS`), sorted by name.
24///
25/// A tag's position in this array is its [`Tag::id`].
26pub static ALL_TAGS: [&str; TAG_COUNT] = [
27    "adobe-illustrator", // 0
28    "alpm", // 1
29    "apinotes", // 2
30    "asar", // 3
31    "asciidoc", // 4
32    "ash", // 5
33    "asm", // 6
34    "aspectj", // 7
35    "astro", // 8
36    "audio", // 9
37    "avif", // 10
38    "avro-schema", // 11
39    "awk", // 12
40    "babelrc", // 13
41    "bash", // 14
42    "batch", // 15
43    "bats", // 16
44    "bazel", // 17
45    "bazelrc", // 18
46    "beancount", // 19
47    "bib", // 20
48    "binary", // 21
49    "bitbake", // 22
50    "bitmap", // 23
51    "bowerrc", // 24
52    "browserslistrc", // 25
53    "bzip2", // 26
54    "bzip3", // 27
55    "c", // 28
56    "c#", // 29
57    "c#script", // 30
58    "c++", // 31
59    "c2hs", // 32
60    "cargo", // 33
61    "cargo-lock", // 34
62    "cbsd", // 35
63    "clojure", // 36
64    "clojurescript", // 37
65    "cmake", // 38
66    "codespellrc", // 39
67    "coffee", // 40
68    "coveragerc", // 41
69    "crystal", // 42
70    "csh", // 43
71    "cson", // 44
72    "csproj", // 45
73    "css", // 46
74    "csslintrc", // 47
75    "csv", // 48
76    "cuda", // 49
77    "cue", // 50
78    "cylc", // 51
79    "cython", // 52
80    "dart", // 53
81    "dash", // 54
82    "dbc", // 55
83    "def", // 56
84    "diff", // 57
85    "directory", // 58
86    "dockerfile", // 59
87    "dockerignore", // 60
88    "dotenv", // 61
89    "dtd", // 62
90    "editorconfig", // 63
91    "edn", // 64
92    "ejs", // 65
93    "ejson", // 66
94    "elixir", // 67
95    "elm", // 68
96    "entitlements", // 69
97    "eot", // 70
98    "eps", // 71
99    "erb", // 72
100    "erlang", // 73
101    "executable", // 74
102    "expect", // 75
103    "f#", // 76
104    "f#script", // 77
105    "file", // 78
106    "fish", // 79
107    "fits", // 80
108    "flake8", // 81
109    "fortran", // 82
110    "fsproj", // 83
111    "gdscript", // 84
112    "gemfile-lock", // 85
113    "geojson", // 86
114    "ggb", // 87
115    "gherkin", // 88
116    "gif", // 89
117    "gitattributes", // 90
118    "gitconfig", // 91
119    "gitignore", // 92
120    "gitlint", // 93
121    "gitmodules", // 94
122    "gleam", // 95
123    "go", // 96
124    "go-mod", // 97
125    "go-sum", // 98
126    "gotmpl", // 99
127    "gpx", // 100
128    "graphql", // 101
129    "groovy", // 102
130    "gyb", // 103
131    "gyp", // 104
132    "gzip", // 105
133    "handlebars", // 106
134    "haskell", // 107
135    "hcl", // 108
136    "header", // 109
137    "hgrc", // 110
138    "hlsl", // 111
139    "html", // 112
140    "icalendar", // 113
141    "icns", // 114
142    "icon", // 115
143    "idl", // 116
144    "idris", // 117
145    "image", // 118
146    "inc", // 119
147    "ini", // 120
148    "inl", // 121
149    "ino", // 122
150    "inx", // 123
151    "ipxe", // 124
152    "isort", // 125
153    "jade", // 126
154    "jar", // 127
155    "java", // 128
156    "java-properties", // 129
157    "javascript", // 130
158    "jbuilder", // 131
159    "jenkins", // 132
160    "jinja", // 133
161    "jpeg", // 134
162    "jshintrc", // 135
163    "json", // 136
164    "json5", // 137
165    "jsonld", // 138
166    "jsonnet", // 139
167    "jsx", // 140
168    "julia", // 141
169    "jupyter", // 142
170    "kml", // 143
171    "kotlin", // 144
172    "ksh", // 145
173    "lazarus", // 146
174    "lazarus-form", // 147
175    "lean", // 148
176    "lektor", // 149
177    "lektorproject", // 150
178    "less", // 151
179    "liquid", // 152
180    "literate-haskell", // 153
181    "lua", // 154
182    "luau", // 155
183    "m4", // 156
184    "magik", // 157
185    "mailmap", // 158
186    "makefile", // 159
187    "manifest", // 160
188    "map", // 161
189    "markdown", // 162
190    "mdx", // 163
191    "mention-bot", // 164
192    "meson", // 165
193    "meson-options", // 166
194    "metal", // 167
195    "mib", // 168
196    "modulemap", // 169
197    "msbuild", // 170
198    "musescore", // 171
199    "mustache", // 172
200    "myst", // 173
201    "ngdoc", // 174
202    "nim", // 175
203    "nimble", // 176
204    "nix", // 177
205    "non-executable", // 178
206    "npmignore", // 179
207    "nunjucks", // 180
208    "nushell", // 181
209    "objective-c", // 182
210    "objective-c++", // 183
211    "ocaml", // 184
212    "otf", // 185
213    "p12", // 186
214    "pascal", // 187
215    "pdbrc", // 188
216    "pdf", // 189
217    "pem", // 190
218    "perl", // 191
219    "php", // 192
220    "php7", // 193
221    "php8", // 194
222    "pipfile-lock", // 195
223    "piskel", // 196
224    "pkgbuild", // 197
225    "plain-text", // 198
226    "plantuml", // 199
227    "plist", // 200
228    "png", // 201
229    "poetry-lock", // 202
230    "pofile", // 203
231    "pom", // 204
232    "powershell", // 205
233    "ppm", // 206
234    "prettierignore", // 207
235    "prisma", // 208
236    "proto", // 209
237    "pug", // 210
238    "puppet", // 211
239    "purescript", // 212
240    "pyi", // 213
241    "pylintrc", // 214
242    "pypirc", // 215
243    "pyproj", // 216
244    "pyproject", // 217
245    "python", // 218
246    "python2", // 219
247    "python3", // 220
248    "pyz", // 221
249    "qml", // 222
250    "quarto", // 223
251    "r", // 224
252    "relax-ng", // 225
253    "resx", // 226
254    "robot", // 227
255    "rst", // 228
256    "ruby", // 229
257    "rust", // 230
258    "salt", // 231
259    "salt-lint", // 232
260    "sas", // 233
261    "sass", // 234
262    "sbt", // 235
263    "scala", // 236
264    "scheme", // 237
265    "scons", // 238
266    "scss", // 239
267    "sh", // 240
268    "shell", // 241
269    "sln", // 242
270    "slnx", // 243
271    "socket", // 244
272    "solidity", // 245
273    "spec", // 246
274    "sql", // 247
275    "stylus", // 248
276    "svelte", // 249
277    "svg", // 250
278    "swf", // 251
279    "swift", // 252
280    "swiftdeps", // 253
281    "symlink", // 254
282    "system-verilog", // 255
283    "tar", // 256
284    "tcsh", // 257
285    "templ", // 258
286    "terraform", // 259
287    "tex", // 260
288    "text", // 261
289    "textproto", // 262
290    "thrift", // 263
291    "tiff", // 264
292    "tiltfile", // 265
293    "toml", // 266
294    "ts", // 267
295    "tsv", // 268
296    "tsx", // 269
297    "ttf", // 270
298    "twig", // 271
299    "twisted", // 272
300    "txsprofile", // 273
301    "urdf", // 274
302    "uv-lock", // 275
303    "vala", // 276
304    "vb", // 277
305    "vbproj", // 278
306    "vcxproj", // 279
307    "vdx", // 280
308    "verilog", // 281
309    "vhdl", // 282
310    "vim", // 283
311    "vtl", // 284
312    "vue", // 285
313    "wav", // 286
314    "webp", // 287
315    "wheel", // 288
316    "wixproj", // 289
317    "wkt", // 290
318    "woff", // 291
319    "woff2", // 292
320    "wsdl", // 293
321    "wsgi", // 294
322    "wxi", // 295
323    "wxl", // 296
324    "wxs", // 297
325    "xacro", // 298
326    "xaml", // 299
327    "xcconfig", // 300
328    "xcodebuild", // 301
329    "xcprivacy", // 302
330    "xcscheme", // 303
331    "xcsettings", // 304
332    "xctestplan", // 305
333    "xcworkspacedata", // 306
334    "xhtml", // 307
335    "xliff", // 308
336    "xml", // 309
337    "xquery", // 310
338    "xsd", // 311
339    "xsl", // 312
340    "yaml", // 313
341    "yamlld", // 314
342    "yamllint", // 315
343    "yang", // 316
344    "yin", // 317
345    "zcml", // 318
346    "zig", // 319
347    "zip", // 320
348    "zpt", // 321
349    "zsh", // 322
350];
351
352/// Index from tag name to position in [`ALL_TAGS`].
353pub(crate) static TAG_INDEX: StrIndex =
354    StrIndex::new(2894, 54, 2, (1, 17), &[
355        96, 30, 241, 65535, 65535, 65535, 65535, 249, 65535, 240, 65535, 65535, 65535, 73, 65535, 177,
356        65535, 65535, 65535, 65535, 65535, 54, 65535, 237, 65535, 108, 65535, 65535, 65535, 171, 65535, 65535,
357        65535, 65535, 215, 152, 65535, 65535, 37, 65535, 65535, 131, 65535, 65535, 113, 65535, 65535, 65535,
358        65535, 65535, 65535, 65535, 65535, 270, 65535, 153, 306, 99, 65535, 65535, 192, 243, 65535, 34,
359        65535, 65535, 65535, 65535, 195, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 209, 65535,
360        65535, 65535, 65535, 65535, 65535, 134, 65535, 65535, 65535, 74, 65535, 65535, 65535, 65535, 65535, 193,
361        65535, 65535, 5, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 127, 65535,
362        65535, 65535, 65535, 65535, 65535, 65535, 72, 80, 65535, 65535, 155, 65535, 65535, 65535, 65535, 65535,
363        65535, 274, 65535, 132, 46, 217, 65535, 65535, 84, 10, 213, 65535, 65535, 45, 65535, 65535,
364        65535, 196, 65535, 191, 141, 65535, 65535, 65535, 40, 158, 294, 65535, 65535, 65535, 65535, 259,
365        120, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 154, 65535, 65535, 314,
366        101, 183, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 166, 199,
367        287, 65535, 118, 65535, 65535, 313, 65535, 7, 104, 65535, 65535, 65535, 65535, 65535, 65535, 55,
368        65535, 65535, 231, 65535, 65535, 307, 295, 65535, 41, 202, 65535, 65535, 65535, 65535, 65535, 65535,
369        205, 65535, 75, 65535, 65535, 320, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535,
370        174, 65535, 212, 65535, 65535, 130, 65535, 185, 65535, 16, 65535, 65535, 65535, 65535, 310, 65535,
371        65535, 43, 65535, 256, 301, 65535, 257, 265, 65535, 65535, 68, 65535, 65535, 65535, 60, 234,
372        65535, 65535, 65535, 65535, 65535, 65535, 65535, 275, 65535, 235, 65535, 65535, 65535, 65535, 11, 65535,
373        65535, 65535, 65535, 65535, 246, 65535, 65535, 65535, 224, 229, 65535, 65535, 65535, 65535, 65535, 65535,
374        65535, 65535, 65535, 65535, 65535, 124, 65535, 300, 65535, 18, 227, 65535, 65535, 65535, 65535, 65535,
375        128, 318, 180, 321, 65535, 53, 65535, 65535, 65535, 302, 65535, 65535, 65535, 65535, 65535, 92,
376        190, 65535, 65535, 65535, 65535, 65, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 35, 65535,
377        148, 65535, 65535, 65535, 65535, 65535, 304, 65535, 281, 65535, 222, 65535, 69, 65535, 278, 65535,
378        276, 182, 111, 284, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 21, 303, 65535, 36,
379        47, 305, 65535, 49, 29, 65535, 267, 65535, 65535, 65535, 65535, 65535, 135, 159, 106, 65535,
380        282, 51, 65535, 160, 65535, 25, 65535, 65535, 65535, 65535, 50, 65535, 65535, 65535, 65535, 65535,
381        65535, 65535, 65535, 65535, 65535, 65535, 260, 65535, 65535, 65535, 67, 6, 65535, 161, 65535, 65535,
382        65535, 65535, 65535, 65535, 248, 65535, 65535, 65535, 156, 283, 239, 65535, 62, 65535, 65535, 65535,
383        65535, 65535, 65535, 221, 228, 107, 110, 42, 65535, 308, 65535, 136, 65535, 65535, 65535, 13,
384        65535, 65535, 65535, 65535, 65535, 65535, 145, 65535, 280, 65535, 65535, 65535, 65535, 178, 65535, 65535,
385        207, 58, 201, 65535, 65535, 65535, 81, 65535, 137, 65535, 105, 252, 262, 65535, 65535, 65535,
386        288, 65535, 317, 286, 52, 187, 65535, 65535, 65535, 65535, 65535, 173, 65535, 271, 292, 83,
387        194, 65535, 129, 236, 157, 65535, 65535, 65535, 285, 65535, 65535, 65535, 65535, 272, 119, 65535,
388        225, 186, 65535, 65535, 65535, 65535, 175, 24, 65535, 65535, 65535, 65535, 65535, 65535, 97, 296,
389        65535, 65535, 245, 184, 322, 65535, 3, 65535, 65535, 65535, 65535, 86, 65535, 65535, 169, 33,
390        204, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 291, 65535, 65535, 65535, 100, 65535,
391        65535, 121, 65535, 316, 297, 65535, 65535, 65535, 293, 65535, 65535, 238, 65535, 65535, 142, 65535,
392        65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 269, 65535, 65535, 65535, 65535, 65535,
393        65535, 65535, 65535, 65535, 206, 65535, 82, 65535, 65535, 65535, 65535, 65535, 65535, 32, 147, 65535,
394        65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 254, 65535, 65535, 65535, 65535, 65535, 2,
395        65535, 65535, 65535, 65535, 138, 65535, 76, 63, 150, 165, 65535, 65535, 102, 65535, 65535, 65535,
396        26, 242, 151, 170, 203, 247, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535,
397        163, 65535, 65535, 250, 65535, 309, 65535, 65535, 65535, 65535, 253, 65535, 232, 244, 65535, 59,
398        65535, 65535, 65535, 65535, 65535, 65535, 176, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 9, 65535,
399        20, 65535, 12, 65535, 220, 261, 65535, 65535, 65535, 65535, 65535, 65535, 77, 65535, 65535, 65535,
400        65535, 65535, 65535, 65535, 65535, 125, 65535, 266, 65535, 65535, 65535, 65535, 65535, 65535, 319, 65535,
401        65535, 65535, 65535, 65535, 65535, 85, 78, 95, 65535, 65535, 65535, 87, 65535, 65535, 65535, 65535,
402        65535, 168, 65535, 223, 149, 65535, 65535, 65535, 65535, 65535, 65535, 112, 139, 65535, 65535, 65535,
403        65535, 65535, 103, 65535, 65535, 98, 65535, 65535, 208, 162, 255, 65535, 65535, 65535, 65535, 65535,
404        65535, 65535, 0, 23, 65535, 65535, 65535, 140, 39, 89, 115, 27, 65535, 65535, 65535, 65535,
405        65535, 94, 65535, 143, 65535, 65535, 164, 14, 65535, 65535, 65535, 70, 71, 65535, 65535, 65535,
406        216, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 126, 65535, 48, 210, 65535, 65535, 65535,
407        65535, 65535, 65535, 65535, 117, 65535, 65535, 65535, 66, 197, 172, 263, 65535, 15, 65535, 167,
408        219, 233, 65535, 65535, 315, 65535, 65535, 65535, 133, 312, 65535, 65535, 65535, 65535, 65535, 146,
409        65535, 65535, 273, 109, 65535, 123, 65535, 65535, 65535, 65535, 65535, 226, 65535, 91, 65535, 279,
410        65535, 65535, 65535, 65535, 258, 65535, 65535, 65535, 65535, 65535, 65535, 44, 188, 65535, 65535, 65535,
411        61, 65535, 114, 65535, 211, 65535, 31, 65535, 65535, 179, 65535, 65535, 65535, 65535, 277, 290,
412        65535, 65535, 230, 65535, 299, 65535, 65535, 65535, 4, 64, 65535, 65535, 56, 181, 198, 65535,
413        65535, 22, 57, 116, 65535, 65535, 65535, 65535, 264, 65535, 200, 65535, 65535, 65535, 65535, 65535,
414        65535, 311, 65535, 1, 90, 65535, 79, 65535, 65535, 65535, 65535, 189, 298, 65535, 65535, 65535,
415        65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 268, 65535, 65535, 65535, 65535, 65535, 65535, 144,
416        214, 65535, 65535, 65535, 218, 65535, 65535, 88, 93, 65535, 65535, 65535, 65535, 65535, 65535, 251,
417        65535, 65535, 122, 65535, 65535, 65535, 65535, 65535, 8, 65535, 65535, 65535, 65535, 17, 19, 28,
418        65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 38, 289, 65535, 65535, 65535, 65535, 65535, 65535,
419    ]);
420
421impl Tag {
422    /// `binary`: encoding tag (`identify.ENCODING_TAGS`).
423    pub const BINARY: Tag = Tag::from_id_const(21);
424
425    /// `directory`: file type tag (`identify.TYPE_TAGS`).
426    pub const DIRECTORY: Tag = Tag::from_id_const(58);
427
428    /// `executable`: file mode tag (`identify.MODE_TAGS`).
429    pub const EXECUTABLE: Tag = Tag::from_id_const(74);
430
431    /// `file`: file type tag (`identify.TYPE_TAGS`).
432    pub const FILE: Tag = Tag::from_id_const(78);
433
434    /// `non-executable`: file mode tag (`identify.MODE_TAGS`).
435    pub const NON_EXECUTABLE: Tag = Tag::from_id_const(178);
436
437    /// `socket`: file type tag (`identify.TYPE_TAGS`).
438    pub const SOCKET: Tag = Tag::from_id_const(244);
439
440    /// `symlink`: file type tag (`identify.TYPE_TAGS`).
441    pub const SYMLINK: Tag = Tag::from_id_const(254);
442
443    /// `text`: encoding tag (`identify.ENCODING_TAGS`).
444    pub const TEXT: Tag = Tag::from_id_const(261);
445}
446
447/// `identify.extensions.EXTENSIONS`: lower-cased file extension (without the
448/// leading dot) → tags. Every entry carries exactly one of `text` / `binary`.
449pub static EXTENSIONS: TagTable = TagTable::new(
450    &[
451        ("adoc", TagSet::from_ids(&[4, 261])), // asciidoc, text
452        ("ai", TagSet::from_ids(&[0, 21])), // adobe-illustrator, binary
453        ("aj", TagSet::from_ids(&[7, 261])), // aspectj, text
454        ("apinotes", TagSet::from_ids(&[2, 261])), // apinotes, text
455        ("asar", TagSet::from_ids(&[3, 21])), // asar, binary
456        ("asciidoc", TagSet::from_ids(&[4, 261])), // asciidoc, text
457        ("asm", TagSet::from_ids(&[6, 261])), // asm, text
458        ("astro", TagSet::from_ids(&[8, 261])), // astro, text
459        ("avif", TagSet::from_ids(&[10, 21, 118])), // avif, binary, image
460        ("avsc", TagSet::from_ids(&[11, 261])), // avro-schema, text
461        ("bash", TagSet::from_ids(&[14, 241, 261])), // bash, shell, text
462        ("bat", TagSet::from_ids(&[15, 261])), // batch, text
463        ("bats", TagSet::from_ids(&[14, 16, 241, 261])), // bash, bats, shell, text
464        ("bazel", TagSet::from_ids(&[17, 261])), // bazel, text
465        ("bb", TagSet::from_ids(&[22, 261])), // bitbake, text
466        ("bbappend", TagSet::from_ids(&[22, 261])), // bitbake, text
467        ("bbclass", TagSet::from_ids(&[22, 261])), // bitbake, text
468        ("beancount", TagSet::from_ids(&[19, 261])), // beancount, text
469        ("bib", TagSet::from_ids(&[20, 261])), // bib, text
470        ("bmp", TagSet::from_ids(&[21, 23, 118])), // binary, bitmap, image
471        ("bz2", TagSet::from_ids(&[21, 26])), // binary, bzip2
472        ("bz3", TagSet::from_ids(&[21, 27])), // binary, bzip3
473        ("bzl", TagSet::from_ids(&[17, 261])), // bazel, text
474        ("c", TagSet::from_ids(&[28, 261])), // c, text
475        ("c++", TagSet::from_ids(&[31, 261])), // c++, text
476        ("c++m", TagSet::from_ids(&[31, 261])), // c++, text
477        ("cc", TagSet::from_ids(&[31, 261])), // c++, text
478        ("ccm", TagSet::from_ids(&[31, 261])), // c++, text
479        ("cfg", TagSet::from_ids(&[261])), // text
480        ("chs", TagSet::from_ids(&[32, 261])), // c2hs, text
481        ("cjs", TagSet::from_ids(&[130, 261])), // javascript, text
482        ("clj", TagSet::from_ids(&[36, 261])), // clojure, text
483        ("cljc", TagSet::from_ids(&[36, 261])), // clojure, text
484        ("cljs", TagSet::from_ids(&[36, 37, 261])), // clojure, clojurescript, text
485        ("cmake", TagSet::from_ids(&[38, 261])), // cmake, text
486        ("cmd", TagSet::from_ids(&[15, 261])), // batch, text
487        ("cnf", TagSet::from_ids(&[261])), // text
488        ("coffee", TagSet::from_ids(&[40, 261])), // coffee, text
489        ("conf", TagSet::from_ids(&[261])), // text
490        ("cpp", TagSet::from_ids(&[31, 261])), // c++, text
491        ("cppm", TagSet::from_ids(&[31, 261])), // c++, text
492        ("cr", TagSet::from_ids(&[42, 261])), // crystal, text
493        ("crt", TagSet::from_ids(&[190, 261])), // pem, text
494        ("cs", TagSet::from_ids(&[29, 261])), // c#, text
495        ("csh", TagSet::from_ids(&[43, 241, 261])), // csh, shell, text
496        ("cson", TagSet::from_ids(&[44, 261])), // cson, text
497        ("csproj", TagSet::from_ids(&[45, 170, 261, 309])), // csproj, msbuild, text, xml
498        ("css", TagSet::from_ids(&[46, 261])), // css, text
499        ("csv", TagSet::from_ids(&[48, 261])), // csv, text
500        ("csx", TagSet::from_ids(&[29, 30, 261])), // c#, c#script, text
501        ("cu", TagSet::from_ids(&[49, 261])), // cuda, text
502        ("cue", TagSet::from_ids(&[50, 261])), // cue, text
503        ("cuh", TagSet::from_ids(&[49, 261])), // cuda, text
504        ("cxx", TagSet::from_ids(&[31, 261])), // c++, text
505        ("cxxm", TagSet::from_ids(&[31, 261])), // c++, text
506        ("cylc", TagSet::from_ids(&[51, 261])), // cylc, text
507        ("dart", TagSet::from_ids(&[53, 261])), // dart, text
508        ("dbc", TagSet::from_ids(&[55, 261])), // dbc, text
509        ("def", TagSet::from_ids(&[56, 261])), // def, text
510        ("diff", TagSet::from_ids(&[57, 261])), // diff, text
511        ("dll", TagSet::from_ids(&[21])), // binary
512        ("dtd", TagSet::from_ids(&[62, 261])), // dtd, text
513        ("ear", TagSet::from_ids(&[21, 127, 320])), // binary, jar, zip
514        ("edn", TagSet::from_ids(&[36, 64, 261])), // clojure, edn, text
515        ("ejs", TagSet::from_ids(&[65, 261])), // ejs, text
516        ("ejson", TagSet::from_ids(&[66, 136, 261])), // ejson, json, text
517        ("elm", TagSet::from_ids(&[68, 261])), // elm, text
518        ("env", TagSet::from_ids(&[61, 261])), // dotenv, text
519        ("eot", TagSet::from_ids(&[21, 70])), // binary, eot
520        ("eps", TagSet::from_ids(&[21, 71])), // binary, eps
521        ("erb", TagSet::from_ids(&[72, 261])), // erb, text
522        ("erl", TagSet::from_ids(&[73, 261])), // erlang, text
523        ("escript", TagSet::from_ids(&[73, 261])), // erlang, text
524        ("ex", TagSet::from_ids(&[67, 261])), // elixir, text
525        ("exe", TagSet::from_ids(&[21])), // binary
526        ("exs", TagSet::from_ids(&[67, 261])), // elixir, text
527        ("eyaml", TagSet::from_ids(&[261, 313])), // text, yaml
528        ("f03", TagSet::from_ids(&[82, 261])), // fortran, text
529        ("f08", TagSet::from_ids(&[82, 261])), // fortran, text
530        ("f90", TagSet::from_ids(&[82, 261])), // fortran, text
531        ("f95", TagSet::from_ids(&[82, 261])), // fortran, text
532        ("feature", TagSet::from_ids(&[88, 261])), // gherkin, text
533        ("fish", TagSet::from_ids(&[79, 261])), // fish, text
534        ("fits", TagSet::from_ids(&[21, 80])), // binary, fits
535        ("fs", TagSet::from_ids(&[76, 261])), // f#, text
536        ("fsproj", TagSet::from_ids(&[83, 170, 261, 309])), // fsproj, msbuild, text, xml
537        ("fsx", TagSet::from_ids(&[76, 77, 261])), // f#, f#script, text
538        ("gd", TagSet::from_ids(&[84, 261])), // gdscript, text
539        ("gemspec", TagSet::from_ids(&[229, 261])), // ruby, text
540        ("geojson", TagSet::from_ids(&[86, 136, 261])), // geojson, json, text
541        ("ggb", TagSet::from_ids(&[21, 87, 320])), // binary, ggb, zip
542        ("gif", TagSet::from_ids(&[21, 89, 118])), // binary, gif, image
543        ("gleam", TagSet::from_ids(&[95, 261])), // gleam, text
544        ("go", TagSet::from_ids(&[96, 261])), // go, text
545        ("gotmpl", TagSet::from_ids(&[99, 261])), // gotmpl, text
546        ("gpx", TagSet::from_ids(&[100, 261, 309])), // gpx, text, xml
547        ("gradle", TagSet::from_ids(&[102, 261])), // groovy, text
548        ("graphql", TagSet::from_ids(&[101, 261])), // graphql, text
549        ("groovy", TagSet::from_ids(&[102, 261])), // groovy, text
550        ("gyb", TagSet::from_ids(&[103, 261])), // gyb, text
551        ("gyp", TagSet::from_ids(&[104, 218, 261])), // gyp, python, text
552        ("gypi", TagSet::from_ids(&[104, 218, 261])), // gyp, python, text
553        ("gz", TagSet::from_ids(&[21, 105])), // binary, gzip
554        ("h", TagSet::from_ids(&[28, 31, 109, 261])), // c, c++, header, text
555        ("hbs", TagSet::from_ids(&[106, 261])), // handlebars, text
556        ("hcl", TagSet::from_ids(&[108, 261])), // hcl, text
557        ("hh", TagSet::from_ids(&[31, 109, 261])), // c++, header, text
558        ("hlsl", TagSet::from_ids(&[111, 261])), // hlsl, text
559        ("hlsli", TagSet::from_ids(&[111, 261])), // hlsl, text
560        ("hpp", TagSet::from_ids(&[31, 109, 261])), // c++, header, text
561        ("hrl", TagSet::from_ids(&[73, 261])), // erlang, text
562        ("hs", TagSet::from_ids(&[107, 261])), // haskell, text
563        ("htm", TagSet::from_ids(&[112, 261])), // html, text
564        ("html", TagSet::from_ids(&[112, 261])), // html, text
565        ("hxx", TagSet::from_ids(&[31, 109, 261])), // c++, header, text
566        ("icns", TagSet::from_ids(&[21, 114])), // binary, icns
567        ("ico", TagSet::from_ids(&[21, 115])), // binary, icon
568        ("ics", TagSet::from_ids(&[113, 261])), // icalendar, text
569        ("idl", TagSet::from_ids(&[116, 261])), // idl, text
570        ("idr", TagSet::from_ids(&[117, 261])), // idris, text
571        ("inc", TagSet::from_ids(&[119, 261])), // inc, text
572        ("ini", TagSet::from_ids(&[120, 261])), // ini, text
573        ("inl", TagSet::from_ids(&[31, 121, 261])), // c++, inl, text
574        ("ino", TagSet::from_ids(&[31, 122, 261])), // c++, ino, text
575        ("inx", TagSet::from_ids(&[123, 261, 309])), // inx, text, xml
576        ("ipp", TagSet::from_ids(&[31, 261])), // c++, text
577        ("ipxe", TagSet::from_ids(&[124, 261])), // ipxe, text
578        ("ipynb", TagSet::from_ids(&[136, 142, 261])), // json, jupyter, text
579        ("ixx", TagSet::from_ids(&[31, 261])), // c++, text
580        ("j2", TagSet::from_ids(&[133, 261])), // jinja, text
581        ("jade", TagSet::from_ids(&[126, 261])), // jade, text
582        ("jar", TagSet::from_ids(&[21, 127, 320])), // binary, jar, zip
583        ("java", TagSet::from_ids(&[128, 261])), // java, text
584        ("jbuilder", TagSet::from_ids(&[131, 229, 261])), // jbuilder, ruby, text
585        ("jenkins", TagSet::from_ids(&[102, 132, 261])), // groovy, jenkins, text
586        ("jenkinsfile", TagSet::from_ids(&[102, 132, 261])), // groovy, jenkins, text
587        ("jinja", TagSet::from_ids(&[133, 261])), // jinja, text
588        ("jinja2", TagSet::from_ids(&[133, 261])), // jinja, text
589        ("jl", TagSet::from_ids(&[141, 261])), // julia, text
590        ("jpeg", TagSet::from_ids(&[21, 118, 134])), // binary, image, jpeg
591        ("jpg", TagSet::from_ids(&[21, 118, 134])), // binary, image, jpeg
592        ("js", TagSet::from_ids(&[130, 261])), // javascript, text
593        ("json", TagSet::from_ids(&[136, 261])), // json, text
594        ("json5", TagSet::from_ids(&[137, 261])), // json5, text
595        ("jsonld", TagSet::from_ids(&[136, 138, 261])), // json, jsonld, text
596        ("jsonnet", TagSet::from_ids(&[139, 261])), // jsonnet, text
597        ("jsx", TagSet::from_ids(&[140, 261])), // jsx, text
598        ("key", TagSet::from_ids(&[190, 261])), // pem, text
599        ("kml", TagSet::from_ids(&[143, 261, 309])), // kml, text, xml
600        ("kt", TagSet::from_ids(&[144, 261])), // kotlin, text
601        ("kts", TagSet::from_ids(&[144, 261])), // kotlin, text
602        ("lean", TagSet::from_ids(&[148, 261])), // lean, text
603        ("lektorproject", TagSet::from_ids(&[120, 150, 261])), // ini, lektorproject, text
604        ("less", TagSet::from_ids(&[151, 261])), // less, text
605        ("lfm", TagSet::from_ids(&[146, 147, 261])), // lazarus, lazarus-form, text
606        ("lhs", TagSet::from_ids(&[153, 261])), // literate-haskell, text
607        ("libsonnet", TagSet::from_ids(&[139, 261])), // jsonnet, text
608        ("lidr", TagSet::from_ids(&[117, 261])), // idris, text
609        ("liquid", TagSet::from_ids(&[152, 261])), // liquid, text
610        ("lpi", TagSet::from_ids(&[146, 261, 309])), // lazarus, text, xml
611        ("lpr", TagSet::from_ids(&[146, 187, 261])), // lazarus, pascal, text
612        ("lr", TagSet::from_ids(&[149, 261])), // lektor, text
613        ("lua", TagSet::from_ids(&[154, 261])), // lua, text
614        ("luau", TagSet::from_ids(&[155, 261])), // luau, text
615        ("m", TagSet::from_ids(&[182, 261])), // objective-c, text
616        ("m4", TagSet::from_ids(&[156, 261])), // m4, text
617        ("magik", TagSet::from_ids(&[157, 261])), // magik, text
618        ("make", TagSet::from_ids(&[159, 261])), // makefile, text
619        ("manifest", TagSet::from_ids(&[160, 261])), // manifest, text
620        ("map", TagSet::from_ids(&[161, 261])), // map, text
621        ("markdown", TagSet::from_ids(&[162, 261])), // markdown, text
622        ("md", TagSet::from_ids(&[162, 261])), // markdown, text
623        ("mdx", TagSet::from_ids(&[163, 261])), // mdx, text
624        ("meson", TagSet::from_ids(&[165, 261])), // meson, text
625        ("metal", TagSet::from_ids(&[167, 261])), // metal, text
626        ("mib", TagSet::from_ids(&[168, 261])), // mib, text
627        ("mjs", TagSet::from_ids(&[130, 261])), // javascript, text
628        ("mk", TagSet::from_ids(&[159, 261])), // makefile, text
629        ("ml", TagSet::from_ids(&[184, 261])), // ocaml, text
630        ("mli", TagSet::from_ids(&[184, 261])), // ocaml, text
631        ("mm", TagSet::from_ids(&[31, 183, 261])), // c++, objective-c++, text
632        ("modulemap", TagSet::from_ids(&[169, 261])), // modulemap, text
633        ("mscx", TagSet::from_ids(&[171, 261, 309])), // musescore, text, xml
634        ("mscz", TagSet::from_ids(&[21, 171, 320])), // binary, musescore, zip
635        ("mustache", TagSet::from_ids(&[172, 261])), // mustache, text
636        ("myst", TagSet::from_ids(&[173, 261])), // myst, text
637        ("ngdoc", TagSet::from_ids(&[174, 261])), // ngdoc, text
638        ("nim", TagSet::from_ids(&[175, 261])), // nim, text
639        ("nimble", TagSet::from_ids(&[176, 261])), // nimble, text
640        ("nims", TagSet::from_ids(&[175, 261])), // nim, text
641        ("nix", TagSet::from_ids(&[177, 261])), // nix, text
642        ("njk", TagSet::from_ids(&[180, 261])), // nunjucks, text
643        ("nu", TagSet::from_ids(&[181, 261])), // nushell, text
644        ("otf", TagSet::from_ids(&[21, 185])), // binary, otf
645        ("p12", TagSet::from_ids(&[21, 186])), // binary, p12
646        ("pas", TagSet::from_ids(&[187, 261])), // pascal, text
647        ("patch", TagSet::from_ids(&[57, 261])), // diff, text
648        ("pdf", TagSet::from_ids(&[21, 189])), // binary, pdf
649        ("pem", TagSet::from_ids(&[190, 261])), // pem, text
650        ("php", TagSet::from_ids(&[192, 261])), // php, text
651        ("php4", TagSet::from_ids(&[192, 261])), // php, text
652        ("php5", TagSet::from_ids(&[192, 261])), // php, text
653        ("phtml", TagSet::from_ids(&[192, 261])), // php, text
654        ("piskel", TagSet::from_ids(&[136, 196, 261])), // json, piskel, text
655        ("pl", TagSet::from_ids(&[191, 261])), // perl, text
656        ("plantuml", TagSet::from_ids(&[199, 261])), // plantuml, text
657        ("pm", TagSet::from_ids(&[191, 261])), // perl, text
658        ("png", TagSet::from_ids(&[21, 118, 201])), // binary, image, png
659        ("po", TagSet::from_ids(&[203, 261])), // pofile, text
660        ("pom", TagSet::from_ids(&[204, 261, 309])), // pom, text, xml
661        ("pp", TagSet::from_ids(&[211, 261])), // puppet, text
662        ("prisma", TagSet::from_ids(&[208, 261])), // prisma, text
663        ("properties", TagSet::from_ids(&[129, 261])), // java-properties, text
664        ("props", TagSet::from_ids(&[170, 261, 309])), // msbuild, text, xml
665        ("proto", TagSet::from_ids(&[209, 261])), // proto, text
666        ("ps1", TagSet::from_ids(&[205, 261])), // powershell, text
667        ("psd1", TagSet::from_ids(&[205, 261])), // powershell, text
668        ("psm1", TagSet::from_ids(&[205, 261])), // powershell, text
669        ("pug", TagSet::from_ids(&[210, 261])), // pug, text
670        ("puml", TagSet::from_ids(&[199, 261])), // plantuml, text
671        ("purs", TagSet::from_ids(&[212, 261])), // purescript, text
672        ("pxd", TagSet::from_ids(&[52, 261])), // cython, text
673        ("pxi", TagSet::from_ids(&[52, 261])), // cython, text
674        ("py", TagSet::from_ids(&[218, 261])), // python, text
675        ("pyi", TagSet::from_ids(&[213, 261])), // pyi, text
676        ("pyproj", TagSet::from_ids(&[170, 216, 261, 309])), // msbuild, pyproj, text, xml
677        ("pyt", TagSet::from_ids(&[218, 261])), // python, text
678        ("pyw", TagSet::from_ids(&[218, 261])), // python, text
679        ("pyx", TagSet::from_ids(&[52, 261])), // cython, text
680        ("pyz", TagSet::from_ids(&[21, 221])), // binary, pyz
681        ("pyzw", TagSet::from_ids(&[21, 221])), // binary, pyz
682        ("qmd", TagSet::from_ids(&[223, 261])), // quarto, text
683        ("qml", TagSet::from_ids(&[222, 261])), // qml, text
684        ("r", TagSet::from_ids(&[224, 261])), // r, text
685        ("rake", TagSet::from_ids(&[229, 261])), // ruby, text
686        ("rb", TagSet::from_ids(&[229, 261])), // ruby, text
687        ("resx", TagSet::from_ids(&[226, 261, 309])), // resx, text, xml
688        ("rng", TagSet::from_ids(&[225, 261, 309])), // relax-ng, text, xml
689        ("robot", TagSet::from_ids(&[227, 261])), // robot, text
690        ("rs", TagSet::from_ids(&[230, 261])), // rust, text
691        ("rst", TagSet::from_ids(&[228, 261])), // rst, text
692        ("s", TagSet::from_ids(&[6, 261])), // asm, text
693        ("sas", TagSet::from_ids(&[233, 261])), // sas, text
694        ("sass", TagSet::from_ids(&[234, 261])), // sass, text
695        ("sbt", TagSet::from_ids(&[235, 236, 261])), // sbt, scala, text
696        ("sc", TagSet::from_ids(&[236, 261])), // scala, text
697        ("scala", TagSet::from_ids(&[236, 261])), // scala, text
698        ("scm", TagSet::from_ids(&[237, 261])), // scheme, text
699        ("scss", TagSet::from_ids(&[239, 261])), // scss, text
700        ("sh", TagSet::from_ids(&[241, 261])), // shell, text
701        ("sln", TagSet::from_ids(&[242, 261])), // sln, text
702        ("slnx", TagSet::from_ids(&[170, 243, 261, 309])), // msbuild, slnx, text, xml
703        ("sls", TagSet::from_ids(&[231, 261])), // salt, text
704        ("so", TagSet::from_ids(&[21])), // binary
705        ("sol", TagSet::from_ids(&[245, 261])), // solidity, text
706        ("spec", TagSet::from_ids(&[246, 261])), // spec, text
707        ("sql", TagSet::from_ids(&[247, 261])), // sql, text
708        ("ss", TagSet::from_ids(&[237, 261])), // scheme, text
709        ("sty", TagSet::from_ids(&[260, 261])), // tex, text
710        ("styl", TagSet::from_ids(&[248, 261])), // stylus, text
711        ("sv", TagSet::from_ids(&[255, 261])), // system-verilog, text
712        ("svelte", TagSet::from_ids(&[249, 261])), // svelte, text
713        ("svg", TagSet::from_ids(&[118, 250, 261, 309])), // image, svg, text, xml
714        ("svh", TagSet::from_ids(&[255, 261])), // system-verilog, text
715        ("swf", TagSet::from_ids(&[21, 251])), // binary, swf
716        ("swift", TagSet::from_ids(&[252, 261])), // swift, text
717        ("swiftdeps", TagSet::from_ids(&[253, 261])), // swiftdeps, text
718        ("tac", TagSet::from_ids(&[218, 261, 272])), // python, text, twisted
719        ("tar", TagSet::from_ids(&[21, 256])), // binary, tar
720        ("targets", TagSet::from_ids(&[170, 261, 309])), // msbuild, text, xml
721        ("templ", TagSet::from_ids(&[258, 261])), // templ, text
722        ("tex", TagSet::from_ids(&[260, 261])), // tex, text
723        ("textproto", TagSet::from_ids(&[261, 262])), // text, textproto
724        ("tf", TagSet::from_ids(&[259, 261])), // terraform, text
725        ("tfvars", TagSet::from_ids(&[259, 261])), // terraform, text
726        ("tgz", TagSet::from_ids(&[21, 105])), // binary, gzip
727        ("thrift", TagSet::from_ids(&[261, 263])), // text, thrift
728        ("tif", TagSet::from_ids(&[21, 118, 264])), // binary, image, tiff
729        ("tiff", TagSet::from_ids(&[21, 118, 264])), // binary, image, tiff
730        ("toml", TagSet::from_ids(&[261, 266])), // text, toml
731        ("tpp", TagSet::from_ids(&[31, 261])), // c++, text
732        ("ts", TagSet::from_ids(&[261, 267])), // text, ts
733        ("tsv", TagSet::from_ids(&[261, 268])), // text, tsv
734        ("tsx", TagSet::from_ids(&[261, 269])), // text, tsx
735        ("ttf", TagSet::from_ids(&[21, 270])), // binary, ttf
736        ("twig", TagSet::from_ids(&[261, 271])), // text, twig
737        ("txsprofile", TagSet::from_ids(&[120, 261, 273])), // ini, text, txsprofile
738        ("txt", TagSet::from_ids(&[198, 261])), // plain-text, text
739        ("txtpb", TagSet::from_ids(&[261, 262])), // text, textproto
740        ("urdf", TagSet::from_ids(&[261, 274, 309])), // text, urdf, xml
741        ("v", TagSet::from_ids(&[261, 281])), // text, verilog
742        ("vala", TagSet::from_ids(&[261, 276])), // text, vala
743        ("vb", TagSet::from_ids(&[261, 277])), // text, vb
744        ("vbproj", TagSet::from_ids(&[170, 261, 278, 309])), // msbuild, text, vbproj, xml
745        ("vcxproj", TagSet::from_ids(&[170, 261, 279, 309])), // msbuild, text, vcxproj, xml
746        ("vdx", TagSet::from_ids(&[261, 280])), // text, vdx
747        ("vh", TagSet::from_ids(&[261, 281])), // text, verilog
748        ("vhd", TagSet::from_ids(&[261, 282])), // text, vhdl
749        ("vim", TagSet::from_ids(&[261, 283])), // text, vim
750        ("vtl", TagSet::from_ids(&[261, 284])), // text, vtl
751        ("vue", TagSet::from_ids(&[261, 285])), // text, vue
752        ("war", TagSet::from_ids(&[21, 127, 320])), // binary, jar, zip
753        ("wav", TagSet::from_ids(&[9, 21, 286])), // audio, binary, wav
754        ("webp", TagSet::from_ids(&[21, 118, 287])), // binary, image, webp
755        ("whl", TagSet::from_ids(&[21, 288, 320])), // binary, wheel, zip
756        ("wixproj", TagSet::from_ids(&[261, 289, 309])), // text, wixproj, xml
757        ("wkt", TagSet::from_ids(&[261, 290])), // text, wkt
758        ("woff", TagSet::from_ids(&[21, 291])), // binary, woff
759        ("woff2", TagSet::from_ids(&[21, 292])), // binary, woff2
760        ("wsdl", TagSet::from_ids(&[261, 293, 309])), // text, wsdl, xml
761        ("wsgi", TagSet::from_ids(&[218, 261, 294])), // python, text, wsgi
762        ("wxi", TagSet::from_ids(&[261, 295, 309])), // text, wxi, xml
763        ("wxl", TagSet::from_ids(&[261, 296, 309])), // text, wxl, xml
764        ("wxs", TagSet::from_ids(&[261, 297, 309])), // text, wxs, xml
765        ("xacro", TagSet::from_ids(&[261, 274, 298, 309])), // text, urdf, xacro, xml
766        ("xaml", TagSet::from_ids(&[261, 299, 309])), // text, xaml, xml
767        ("xcconfig", TagSet::from_ids(&[261, 300, 301])), // text, xcconfig, xcodebuild
768        ("xcscheme", TagSet::from_ids(&[261, 301, 303, 309])), // text, xcodebuild, xcscheme, xml
769        ("xctestplan", TagSet::from_ids(&[136, 261, 301, 305])), // json, text, xcodebuild, xctestplan
770        ("xcworkspacedata", TagSet::from_ids(&[261, 301, 306, 309])), // text, xcodebuild, xcworkspacedata, xml
771        ("xhtml", TagSet::from_ids(&[112, 261, 307, 309])), // html, text, xhtml, xml
772        ("xlf", TagSet::from_ids(&[261, 308, 309])), // text, xliff, xml
773        ("xliff", TagSet::from_ids(&[261, 308, 309])), // text, xliff, xml
774        ("xml", TagSet::from_ids(&[261, 309])), // text, xml
775        ("xq", TagSet::from_ids(&[261, 310])), // text, xquery
776        ("xql", TagSet::from_ids(&[261, 310])), // text, xquery
777        ("xqm", TagSet::from_ids(&[261, 310])), // text, xquery
778        ("xqu", TagSet::from_ids(&[261, 310])), // text, xquery
779        ("xquery", TagSet::from_ids(&[261, 310])), // text, xquery
780        ("xqy", TagSet::from_ids(&[261, 310])), // text, xquery
781        ("xsd", TagSet::from_ids(&[261, 309, 311])), // text, xml, xsd
782        ("xsl", TagSet::from_ids(&[261, 309, 312])), // text, xml, xsl
783        ("xslt", TagSet::from_ids(&[261, 309, 312])), // text, xml, xsl
784        ("yaml", TagSet::from_ids(&[261, 313])), // text, yaml
785        ("yamlld", TagSet::from_ids(&[261, 313, 314])), // text, yaml, yamlld
786        ("yang", TagSet::from_ids(&[261, 316])), // text, yang
787        ("yin", TagSet::from_ids(&[261, 309, 317])), // text, xml, yin
788        ("yml", TagSet::from_ids(&[261, 313])), // text, yaml
789        ("zcml", TagSet::from_ids(&[261, 309, 318])), // text, xml, zcml
790        ("zig", TagSet::from_ids(&[261, 319])), // text, zig
791        ("zip", TagSet::from_ids(&[21, 320])), // binary, zip
792        ("zpt", TagSet::from_ids(&[261, 321])), // text, zpt
793        ("zsh", TagSet::from_ids(&[241, 261, 322])), // shell, text, zsh
794    ],
795    StrIndex::new(2254, 54, 2, (1, 15), &[
796        70, 65535, 170, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 78, 257, 47,
797        65535, 65535, 65535, 224, 217, 65, 65535, 65535, 152, 65535, 65535, 65535, 174, 55, 134, 261,
798        326, 65535, 65535, 65535, 11, 136, 177, 65535, 65535, 65535, 121, 65535, 65535, 189, 65535, 65535,
799        65535, 65535, 65535, 52, 263, 65535, 65535, 116, 162, 228, 158, 65535, 65535, 65535, 65535, 65535,
800        77, 270, 184, 65535, 65535, 65535, 248, 65535, 65535, 65535, 65535, 97, 286, 65535, 65535, 65535,
801        65535, 94, 206, 100, 65535, 65535, 65535, 142, 65535, 65535, 57, 235, 65535, 227, 65535, 65535,
802        311, 65535, 65535, 65535, 42, 65535, 41, 65535, 65535, 267, 65535, 65535, 297, 65535, 65535, 65535,
803        340, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 137, 65535, 65535,
804        114, 65535, 193, 65535, 31, 65535, 185, 65535, 285, 314, 65535, 65535, 44, 65535, 268, 65535,
805        5, 65535, 273, 65535, 65535, 66, 65535, 65535, 65535, 65535, 65535, 119, 65535, 65535, 65535, 65535,
806        65535, 65535, 65535, 65535, 46, 128, 244, 65535, 203, 65535, 65535, 65535, 65535, 65535, 65535, 37,
807        65535, 4, 65535, 65535, 65535, 65535, 7, 65535, 65535, 65535, 13, 25, 65535, 65535, 71, 155,
808        65535, 65535, 65535, 65535, 65535, 34, 307, 334, 65535, 65535, 65535, 65535, 65535, 65535, 341, 335,
809        65535, 65535, 65535, 277, 309, 195, 65535, 80, 65535, 65535, 65535, 1, 198, 204, 65535, 65535,
810        64, 65535, 65535, 65535, 65535, 202, 65535, 65535, 65535, 65535, 292, 183, 65535, 65535, 65535, 65535,
811        65535, 43, 127, 65535, 179, 232, 65535, 65535, 65535, 65535, 65535, 65535, 299, 17, 192, 65535,
812        65535, 65535, 53, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 230, 54, 65535, 65535, 65535,
813        65535, 65535, 65535, 74, 65535, 328, 65535, 65535, 258, 65535, 65535, 214, 65535, 153, 65535, 65535,
814        337, 65535, 133, 65535, 51, 321, 65535, 237, 327, 65535, 65535, 65535, 65535, 65535, 65535, 65535,
815        65535, 271, 253, 65535, 65535, 65535, 6, 169, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535,
816        65535, 65535, 288, 65535, 298, 65535, 65535, 61, 65535, 65535, 65535, 212, 231, 65535, 229, 240,
817        65535, 65535, 167, 65535, 65535, 65535, 164, 65535, 65535, 65535, 65535, 65535, 65535, 93, 150, 65535,
818        65535, 65535, 279, 295, 65535, 249, 65535, 219, 29, 208, 65535, 65535, 65535, 207, 247, 65535,
819        65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 67, 75, 65535, 65535, 65535, 336, 302, 65535,
820        65535, 65535, 65535, 65535, 65535, 293, 113, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 73,
821        65535, 65535, 65535, 300, 65535, 65535, 65535, 65535, 120, 65535, 65535, 65535, 194, 65535, 65535, 324,
822        65535, 26, 187, 320, 65535, 65535, 65535, 65535, 65535, 312, 65535, 332, 65535, 65535, 342, 260,
823        65535, 65535, 65535, 10, 65535, 65535, 65535, 65535, 205, 209, 65535, 65535, 65535, 65535, 186, 16,
824        221, 65535, 65535, 65535, 36, 130, 89, 141, 95, 65535, 65535, 122, 65535, 65535, 313, 65535,
825        65535, 65535, 65535, 290, 81, 201, 65535, 65535, 65535, 65535, 252, 65535, 65535, 65535, 287, 65535,
826        65535, 65535, 65535, 65535, 65535, 283, 135, 65535, 65535, 65535, 65535, 65535, 65535, 28, 196, 65535,
827        65535, 65535, 84, 65535, 157, 72, 65535, 236, 65535, 21, 65535, 65535, 65535, 65535, 65535, 65535,
828        19, 65535, 65535, 65535, 65535, 65535, 238, 45, 50, 65535, 65535, 117, 65535, 115, 65535, 65535,
829        147, 65535, 65535, 65535, 234, 65535, 85, 65535, 65535, 65535, 65535, 250, 65535, 256, 65535, 315,
830        79, 65535, 65535, 65535, 65535, 65535, 304, 65535, 65535, 65535, 65535, 172, 65535, 262, 59, 62,
831        316, 323, 65535, 88, 278, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535,
832        65535, 82, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 18, 65535, 65535, 65535, 65535,
833        254, 65535, 65535, 9, 65535, 65535, 65535, 76, 296, 65535, 65535, 65535, 65535, 65535, 65535, 65535,
834        200, 65535, 65535, 65535, 65535, 38, 65535, 109, 65535, 339, 65535, 318, 23, 220, 65535, 65535,
835        65535, 65535, 65535, 65535, 65535, 90, 317, 65535, 65535, 65535, 65535, 65535, 175, 65535, 60, 65535,
836        65535, 65535, 65535, 65535, 20, 171, 65535, 65535, 65535, 65535, 65535, 168, 65535, 99, 35, 65535,
837        65535, 65535, 108, 65535, 65535, 145, 322, 65535, 65535, 138, 65535, 144, 65535, 65535, 65535, 65535,
838        65535, 146, 65535, 91, 98, 329, 156, 112, 65535, 65535, 65535, 65535, 65535, 148, 22, 65535,
839        65535, 222, 65535, 65535, 65535, 143, 68, 69, 65535, 265, 65535, 65535, 226, 125, 65535, 65535,
840        65535, 259, 65535, 65535, 65535, 65535, 48, 218, 251, 65535, 308, 65535, 65535, 188, 65535, 65535,
841        65535, 166, 246, 65535, 65535, 65535, 223, 65535, 65535, 65535, 65535, 242, 65535, 178, 65535, 65535,
842        139, 65535, 65535, 30, 281, 331, 65535, 65535, 39, 101, 27, 65535, 65535, 65535, 65535, 124,
843        65535, 65535, 65535, 65535, 65535, 65535, 65535, 213, 216, 65535, 65535, 272, 65535, 65535, 65535, 65535,
844        65535, 83, 65535, 65535, 65535, 65535, 163, 65535, 65535, 210, 32, 294, 159, 289, 65535, 65535,
845        65535, 24, 65535, 161, 65535, 8, 165, 65535, 65535, 65535, 306, 176, 241, 65535, 65535, 211,
846        239, 65535, 63, 65535, 65535, 65535, 58, 310, 65535, 65535, 65535, 65535, 65535, 118, 65535, 269,
847        65535, 65535, 65535, 65535, 65535, 15, 65535, 65535, 65535, 65535, 2, 330, 65535, 181, 149, 65535,
848        65535, 65535, 65535, 65535, 65535, 65535, 197, 225, 65535, 65535, 303, 65535, 65535, 65535, 65535, 65535,
849        333, 65535, 65535, 282, 65535, 65535, 104, 173, 65535, 65535, 65535, 65535, 65535, 274, 245, 65535,
850        276, 65535, 65535, 65535, 87, 106, 65535, 65535, 180, 65535, 264, 65535, 0, 123, 65535, 65535,
851        65535, 65535, 65535, 65535, 65535, 65535, 65535, 3, 86, 65535, 65535, 65535, 65535, 65535, 65535, 65535,
852        65535, 65535, 65535, 65535, 12, 65535, 65535, 65535, 65535, 96, 160, 65535, 65535, 65535, 65535, 65535,
853        129, 65535, 65535, 305, 325, 65535, 65535, 65535, 111, 65535, 190, 243, 65535, 65535, 65535, 65535,
854        65535, 65535, 65535, 65535, 105, 191, 65535, 233, 65535, 40, 301, 65535, 140, 65535, 102, 255,
855        65535, 65535, 65535, 65535, 92, 103, 65535, 65535, 65535, 266, 33, 65535, 65535, 65535, 65535, 284,
856        65535, 126, 275, 65535, 215, 65535, 65535, 199, 65535, 65535, 65535, 132, 338, 65535, 65535, 65535,
857        65535, 56, 65535, 154, 65535, 182, 65535, 65535, 65535, 65535, 65535, 65535, 49, 65535, 14, 65535,
858        65535, 65535, 110, 65535, 65535, 65535, 65535, 65535, 65535, 280, 65535, 151, 65535, 65535, 65535, 65535,
859        65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 131, 65535, 65535, 319, 291, 65535, 107, 65535,
860    ]),
861);
862
863/// `identify.extensions.EXTENSIONS_NEED_BINARY_CHECK`: extensions whose files
864/// may be text or binary; the encoding tag is decided from the content.
865pub static EXTENSIONS_NEED_BINARY_CHECK: TagTable = TagTable::new(
866    &[
867        ("entitlements", TagSet::from_ids(&[69, 200])), // entitlements, plist
868        ("plist", TagSet::from_ids(&[200])), // plist
869        ("ppm", TagSet::from_ids(&[118, 206])), // image, ppm
870        ("xcprivacy", TagSet::from_ids(&[200, 301, 302])), // plist, xcodebuild, xcprivacy
871        ("xcsettings", TagSet::from_ids(&[200, 301, 304])), // plist, xcodebuild, xcsettings
872    ],
873    StrIndex::new(1, 60, 0, (3, 12), &[
874        65535, 65535, 65535, 65535, 2, 65535, 0, 65535, 65535, 65535, 65535, 3, 1, 65535, 65535, 4,
875    ]),
876);
877
878/// `identify.extensions.NAMES`: exact file names (or dot-separated name parts,
879/// e.g. `Dockerfile.xenial`) → tags. Matching is case-sensitive.
880pub static NAMES: TagTable = TagTable::new(
881    &[
882        (".ansible-lint", TagSet::from_ids(&[261, 313])), // text, yaml
883        (".babelrc", TagSet::from_ids(&[13, 136, 261])), // babelrc, json, text
884        (".bash_aliases", TagSet::from_ids(&[14, 241, 261])), // bash, shell, text
885        (".bash_profile", TagSet::from_ids(&[14, 241, 261])), // bash, shell, text
886        (".bashrc", TagSet::from_ids(&[14, 241, 261])), // bash, shell, text
887        (".bazelrc", TagSet::from_ids(&[18, 261])), // bazelrc, text
888        (".bowerrc", TagSet::from_ids(&[24, 136, 261])), // bowerrc, json, text
889        (".browserslistrc", TagSet::from_ids(&[25, 261])), // browserslistrc, text
890        (".clang-format", TagSet::from_ids(&[261, 313])), // text, yaml
891        (".clang-tidy", TagSet::from_ids(&[261, 313])), // text, yaml
892        (".codespellrc", TagSet::from_ids(&[39, 120, 261])), // codespellrc, ini, text
893        (".coveragerc", TagSet::from_ids(&[41, 120, 261])), // coveragerc, ini, text
894        (".cshrc", TagSet::from_ids(&[43, 241, 261])), // csh, shell, text
895        (".csslintrc", TagSet::from_ids(&[47, 136, 261])), // csslintrc, json, text
896        (".dockerignore", TagSet::from_ids(&[60, 261])), // dockerignore, text
897        (".editorconfig", TagSet::from_ids(&[63, 261])), // editorconfig, text
898        (".envrc", TagSet::from_ids(&[14, 241, 261])), // bash, shell, text
899        (".flake8", TagSet::from_ids(&[81, 120, 261])), // flake8, ini, text
900        (".gitattributes", TagSet::from_ids(&[90, 261])), // gitattributes, text
901        (".gitconfig", TagSet::from_ids(&[91, 120, 261])), // gitconfig, ini, text
902        (".gitignore", TagSet::from_ids(&[92, 261])), // gitignore, text
903        (".gitlint", TagSet::from_ids(&[93, 120, 261])), // gitlint, ini, text
904        (".gitmodules", TagSet::from_ids(&[94, 261])), // gitmodules, text
905        (".hgrc", TagSet::from_ids(&[110, 120, 261])), // hgrc, ini, text
906        (".isort.cfg", TagSet::from_ids(&[120, 125, 261])), // ini, isort, text
907        (".jshintrc", TagSet::from_ids(&[135, 136, 261])), // jshintrc, json, text
908        (".mailmap", TagSet::from_ids(&[158, 261])), // mailmap, text
909        (".mention-bot", TagSet::from_ids(&[136, 164, 261])), // json, mention-bot, text
910        (".npmignore", TagSet::from_ids(&[179, 261])), // npmignore, text
911        (".pdbrc", TagSet::from_ids(&[188, 218, 261])), // pdbrc, python, text
912        (".prettierignore", TagSet::from_ids(&[92, 207, 261])), // gitignore, prettierignore, text
913        (".profile", TagSet::from_ids(&[241, 261])), // shell, text
914        (".pypirc", TagSet::from_ids(&[120, 215, 261])), // ini, pypirc, text
915        (".rstcheck.cfg", TagSet::from_ids(&[120, 261])), // ini, text
916        (".salt-lint", TagSet::from_ids(&[232, 261, 313])), // salt-lint, text, yaml
917        (".sqlfluff", TagSet::from_ids(&[120, 261])), // ini, text
918        (".yamllint", TagSet::from_ids(&[261, 313, 315])), // text, yaml, yamllint
919        (".zlogin", TagSet::from_ids(&[241, 261, 322])), // shell, text, zsh
920        (".zlogout", TagSet::from_ids(&[241, 261, 322])), // shell, text, zsh
921        (".zprofile", TagSet::from_ids(&[241, 261, 322])), // shell, text, zsh
922        (".zshenv", TagSet::from_ids(&[241, 261, 322])), // shell, text, zsh
923        (".zshrc", TagSet::from_ids(&[241, 261, 322])), // shell, text, zsh
924        ("AUTHORS", TagSet::from_ids(&[198, 261])), // plain-text, text
925        ("BUILD", TagSet::from_ids(&[17, 261])), // bazel, text
926        ("Brewfile", TagSet::from_ids(&[229, 261])), // ruby, text
927        ("CHANGELOG", TagSet::from_ids(&[198, 261])), // plain-text, text
928        ("CMakeLists.txt", TagSet::from_ids(&[38, 261])), // cmake, text
929        ("CONTRIBUTING", TagSet::from_ids(&[198, 261])), // plain-text, text
930        ("COPYING", TagSet::from_ids(&[198, 261])), // plain-text, text
931        ("Cargo.lock", TagSet::from_ids(&[34, 261, 266])), // cargo-lock, text, toml
932        ("Cargo.toml", TagSet::from_ids(&[33, 261, 266])), // cargo, text, toml
933        ("Containerfile", TagSet::from_ids(&[59, 261])), // dockerfile, text
934        ("Dockerfile", TagSet::from_ids(&[59, 261])), // dockerfile, text
935        ("Fastfile", TagSet::from_ids(&[229, 261])), // ruby, text
936        ("GNUmakefile", TagSet::from_ids(&[159, 261])), // makefile, text
937        ("Gemfile", TagSet::from_ids(&[229, 261])), // ruby, text
938        ("Gemfile.lock", TagSet::from_ids(&[85, 261])), // gemfile-lock, text
939        ("Jenkinsfile", TagSet::from_ids(&[102, 132, 261])), // groovy, jenkins, text
940        ("LICENSE", TagSet::from_ids(&[198, 261])), // plain-text, text
941        ("MAINTAINERS", TagSet::from_ids(&[198, 261])), // plain-text, text
942        ("Makefile", TagSet::from_ids(&[159, 261])), // makefile, text
943        ("NEWS", TagSet::from_ids(&[198, 261])), // plain-text, text
944        ("NOTICE", TagSet::from_ids(&[198, 261])), // plain-text, text
945        ("PATENTS", TagSet::from_ids(&[198, 261])), // plain-text, text
946        ("PKGBUILD", TagSet::from_ids(&[1, 14, 197, 241, 261])), // alpm, bash, pkgbuild, shell, text
947        ("Pipfile", TagSet::from_ids(&[261, 266])), // text, toml
948        ("Pipfile.lock", TagSet::from_ids(&[136, 195, 261])), // json, pipfile-lock, text
949        ("README", TagSet::from_ids(&[198, 261])), // plain-text, text
950        ("Rakefile", TagSet::from_ids(&[229, 261])), // ruby, text
951        ("SConscript", TagSet::from_ids(&[238, 261])), // scons, text
952        ("SConstruct", TagSet::from_ids(&[238, 261])), // scons, text
953        ("SCsub", TagSet::from_ids(&[238, 261])), // scons, text
954        ("Tiltfile", TagSet::from_ids(&[261, 265])), // text, tiltfile
955        ("Vagrantfile", TagSet::from_ids(&[229, 261])), // ruby, text
956        ("WORKSPACE", TagSet::from_ids(&[17, 261])), // bazel, text
957        ("bblayers.conf", TagSet::from_ids(&[22, 261])), // bitbake, text
958        ("bitbake.conf", TagSet::from_ids(&[22, 261])), // bitbake, text
959        ("config.ru", TagSet::from_ids(&[229, 261])), // ruby, text
960        ("copy.bara.sky", TagSet::from_ids(&[17, 261])), // bazel, text
961        ("direnvrc", TagSet::from_ids(&[14, 241, 261])), // bash, shell, text
962        ("go.mod", TagSet::from_ids(&[97, 261])), // go-mod, text
963        ("go.sum", TagSet::from_ids(&[98, 261])), // go-sum, text
964        ("makefile", TagSet::from_ids(&[159, 261])), // makefile, text
965        ("meson.build", TagSet::from_ids(&[165, 261])), // meson, text
966        ("meson.options", TagSet::from_ids(&[165, 166, 261])), // meson, meson-options, text
967        ("meson_options.txt", TagSet::from_ids(&[165, 166, 261])), // meson, meson-options, text
968        ("poetry.lock", TagSet::from_ids(&[202, 261, 266])), // poetry-lock, text, toml
969        ("pom.xml", TagSet::from_ids(&[204, 261, 309])), // pom, text, xml
970        ("pylintrc", TagSet::from_ids(&[120, 214, 261])), // ini, pylintrc, text
971        ("pyproject.toml", TagSet::from_ids(&[217, 261, 266])), // pyproject, text, toml
972        ("rebar.config", TagSet::from_ids(&[73, 261])), // erlang, text
973        ("setup.cfg", TagSet::from_ids(&[120, 261])), // ini, text
974        ("sys.config", TagSet::from_ids(&[73, 261])), // erlang, text
975        ("sys.config.src", TagSet::from_ids(&[73, 261])), // erlang, text
976        ("uv.lock", TagSet::from_ids(&[261, 266, 275])), // text, toml, uv-lock
977        ("wscript", TagSet::from_ids(&[218, 261])), // python, text
978    ],
979    StrIndex::new(975, 56, 1, (4, 17), &[
980        65535, 59, 65535, 65535, 65535, 35, 65535, 65535, 65535, 65535, 78, 65535, 9, 65535, 62, 65535,
981        65535, 65535, 65535, 65535, 65535, 44, 65535, 65535, 39, 7, 32, 65535, 61, 30, 65535, 5,
982        65535, 8, 65535, 85, 65535, 65535, 29, 65535, 51, 65535, 26, 65535, 65535, 65535, 88, 84,
983        13, 77, 10, 6, 65535, 65535, 65535, 33, 74, 65535, 60, 65535, 65535, 65535, 37, 65535,
984        65535, 65535, 65535, 91, 65535, 11, 76, 86, 65535, 65535, 65535, 65535, 65535, 89, 65535, 53,
985        65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 68, 65535, 65535, 65535, 52,
986        65535, 65535, 65535, 58, 56, 65535, 87, 65535, 65535, 65535, 65, 65535, 15, 65535, 38, 70,
987        65535, 65535, 92, 65535, 65535, 65535, 65535, 65535, 3, 65535, 65535, 0, 65535, 65535, 42, 65535,
988        65535, 65535, 65535, 65535, 65535, 65535, 65535, 19, 65535, 80, 65535, 4, 45, 65535, 65535, 65535,
989        65535, 65535, 65535, 65535, 65535, 65535, 65535, 57, 65535, 12, 65535, 65535, 2, 65535, 65535, 83,
990        65535, 65535, 94, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 93, 81, 65535, 48, 65535,
991        65535, 65535, 65535, 47, 65535, 71, 43, 31, 36, 65535, 21, 65535, 65535, 27, 28, 50,
992        65535, 65535, 65535, 65535, 65535, 64, 20, 67, 65535, 69, 65535, 66, 65535, 65535, 65535, 65535,
993        65535, 40, 82, 16, 95, 17, 14, 63, 23, 55, 72, 54, 65535, 65535, 18, 79,
994        22, 90, 65535, 65535, 41, 25, 65535, 65535, 34, 65535, 65535, 73, 49, 65535, 65535, 65535,
995        65535, 65535, 65535, 65535, 65535, 46, 65535, 75, 24, 65535, 65535, 65535, 65535, 65535, 1, 65535,
996    ]),
997);
998
999/// `identify.interpreters.INTERPRETERS`: shebang interpreter name → tags.
1000pub static INTERPRETERS: TagTable = TagTable::new(
1001    &[
1002        ("ash", TagSet::from_ids(&[5, 241])), // ash, shell
1003        ("awk", TagSet::from_ids(&[12])), // awk
1004        ("bash", TagSet::from_ids(&[14, 241])), // bash, shell
1005        ("bats", TagSet::from_ids(&[14, 16, 241])), // bash, bats, shell
1006        ("cbsd", TagSet::from_ids(&[35, 241])), // cbsd, shell
1007        ("csh", TagSet::from_ids(&[43, 241])), // csh, shell
1008        ("dash", TagSet::from_ids(&[54, 241])), // dash, shell
1009        ("escript", TagSet::from_ids(&[73])), // erlang
1010        ("expect", TagSet::from_ids(&[75])), // expect
1011        ("ksh", TagSet::from_ids(&[145, 241])), // ksh, shell
1012        ("node", TagSet::from_ids(&[130])), // javascript
1013        ("nodejs", TagSet::from_ids(&[130])), // javascript
1014        ("nu", TagSet::from_ids(&[181])), // nushell
1015        ("nushell", TagSet::from_ids(&[181])), // nushell
1016        ("perl", TagSet::from_ids(&[191])), // perl
1017        ("php", TagSet::from_ids(&[192])), // php
1018        ("php7", TagSet::from_ids(&[192, 193])), // php, php7
1019        ("php8", TagSet::from_ids(&[192, 194])), // php, php8
1020        ("python", TagSet::from_ids(&[218])), // python
1021        ("python2", TagSet::from_ids(&[218, 219])), // python, python2
1022        ("python3", TagSet::from_ids(&[218, 220])), // python, python3
1023        ("ruby", TagSet::from_ids(&[229])), // ruby
1024        ("sh", TagSet::from_ids(&[240, 241])), // sh, shell
1025        ("tcsh", TagSet::from_ids(&[241, 257])), // shell, tcsh
1026        ("zsh", TagSet::from_ids(&[241, 322])), // shell, zsh
1027    ],
1028    StrIndex::new(162, 58, 0, (2, 7), &[
1029        65535, 65535, 65535, 65535, 65535, 65535, 17, 0, 65535, 65535, 65535, 8, 65535, 65535, 7, 2,
1030        65535, 65535, 14, 65535, 65535, 65535, 12, 13, 65535, 65535, 11, 3, 65535, 5, 65535, 22,
1031        65535, 65535, 65535, 65535, 18, 65535, 16, 1, 65535, 65535, 65535, 23, 15, 20, 21, 65535,
1032        65535, 10, 4, 65535, 65535, 65535, 19, 65535, 24, 9, 6, 65535, 65535, 65535, 65535, 65535,
1033    ]),
1034);