OILS / _devbuild / gen / id_kind.py View on Github | oilshell.org

522 lines, 515 significant
1
2from _devbuild.gen.id_kind_asdl import Id, Kind
3from _devbuild.gen.types_asdl import redir_arg_type_e, bool_arg_type_e
4
5
6BOOL_ARG_TYPES = {
7 Id.Op_DAmp: bool_arg_type_e.Undefined,
8 Id.Op_DPipe: bool_arg_type_e.Undefined,
9 Id.Op_Less: bool_arg_type_e.Str,
10 Id.Op_Great: bool_arg_type_e.Str,
11 Id.KW_Bang: bool_arg_type_e.Undefined,
12 Id.BoolUnary_z: bool_arg_type_e.Str,
13 Id.BoolUnary_n: bool_arg_type_e.Str,
14 Id.BoolUnary_o: bool_arg_type_e.Other,
15 Id.BoolUnary_t: bool_arg_type_e.Other,
16 Id.BoolUnary_v: bool_arg_type_e.Other,
17 Id.BoolUnary_R: bool_arg_type_e.Other,
18 Id.BoolUnary_a: bool_arg_type_e.Path,
19 Id.BoolUnary_b: bool_arg_type_e.Path,
20 Id.BoolUnary_c: bool_arg_type_e.Path,
21 Id.BoolUnary_d: bool_arg_type_e.Path,
22 Id.BoolUnary_e: bool_arg_type_e.Path,
23 Id.BoolUnary_f: bool_arg_type_e.Path,
24 Id.BoolUnary_g: bool_arg_type_e.Path,
25 Id.BoolUnary_h: bool_arg_type_e.Path,
26 Id.BoolUnary_k: bool_arg_type_e.Path,
27 Id.BoolUnary_L: bool_arg_type_e.Path,
28 Id.BoolUnary_p: bool_arg_type_e.Path,
29 Id.BoolUnary_r: bool_arg_type_e.Path,
30 Id.BoolUnary_s: bool_arg_type_e.Path,
31 Id.BoolUnary_S: bool_arg_type_e.Path,
32 Id.BoolUnary_u: bool_arg_type_e.Path,
33 Id.BoolUnary_w: bool_arg_type_e.Path,
34 Id.BoolUnary_x: bool_arg_type_e.Path,
35 Id.BoolUnary_O: bool_arg_type_e.Path,
36 Id.BoolUnary_G: bool_arg_type_e.Path,
37 Id.BoolUnary_N: bool_arg_type_e.Path,
38 Id.BoolUnary_true: bool_arg_type_e.Str,
39 Id.BoolUnary_false: bool_arg_type_e.Str,
40 Id.BoolBinary_GlobEqual: bool_arg_type_e.Str,
41 Id.BoolBinary_GlobDEqual: bool_arg_type_e.Str,
42 Id.BoolBinary_GlobNEqual: bool_arg_type_e.Str,
43 Id.BoolBinary_EqualTilde: bool_arg_type_e.Str,
44 Id.BoolBinary_ef: bool_arg_type_e.Path,
45 Id.BoolBinary_nt: bool_arg_type_e.Path,
46 Id.BoolBinary_ot: bool_arg_type_e.Path,
47 Id.BoolBinary_eq: bool_arg_type_e.Int,
48 Id.BoolBinary_ne: bool_arg_type_e.Int,
49 Id.BoolBinary_gt: bool_arg_type_e.Int,
50 Id.BoolBinary_ge: bool_arg_type_e.Int,
51 Id.BoolBinary_lt: bool_arg_type_e.Int,
52 Id.BoolBinary_le: bool_arg_type_e.Int,
53 Id.BoolBinary_Equal: bool_arg_type_e.Str,
54 Id.BoolBinary_DEqual: bool_arg_type_e.Str,
55 Id.BoolBinary_NEqual: bool_arg_type_e.Str,
56}
57
58TEST_UNARY_LOOKUP = {
59 '-G': Id.BoolUnary_G,
60 '-L': Id.BoolUnary_L,
61 '-N': Id.BoolUnary_N,
62 '-O': Id.BoolUnary_O,
63 '-R': Id.BoolUnary_R,
64 '-S': Id.BoolUnary_S,
65 '-a': Id.BoolUnary_a,
66 '-b': Id.BoolUnary_b,
67 '-c': Id.BoolUnary_c,
68 '-d': Id.BoolUnary_d,
69 '-e': Id.BoolUnary_e,
70 '-f': Id.BoolUnary_f,
71 '-g': Id.BoolUnary_g,
72 '-h': Id.BoolUnary_h,
73 '-k': Id.BoolUnary_k,
74 '-n': Id.BoolUnary_n,
75 '-o': Id.BoolUnary_o,
76 '-p': Id.BoolUnary_p,
77 '-r': Id.BoolUnary_r,
78 '-s': Id.BoolUnary_s,
79 '-t': Id.BoolUnary_t,
80 '-u': Id.BoolUnary_u,
81 '-v': Id.BoolUnary_v,
82 '-w': Id.BoolUnary_w,
83 '-x': Id.BoolUnary_x,
84 '-z': Id.BoolUnary_z,
85}
86
87TEST_BINARY_LOOKUP = {
88 '!=': Id.BoolBinary_NEqual,
89 '-ef': Id.BoolBinary_ef,
90 '-eq': Id.BoolBinary_eq,
91 '-ge': Id.BoolBinary_ge,
92 '-gt': Id.BoolBinary_gt,
93 '-le': Id.BoolBinary_le,
94 '-lt': Id.BoolBinary_lt,
95 '-ne': Id.BoolBinary_ne,
96 '-nt': Id.BoolBinary_nt,
97 '-ot': Id.BoolBinary_ot,
98 '<': Id.Op_Less,
99 '=': Id.BoolBinary_Equal,
100 '==': Id.BoolBinary_DEqual,
101 '>': Id.Op_Great,
102}
103
104TEST_OTHER_LOOKUP = {
105 '!': Id.KW_Bang,
106 '(': Id.Op_LParen,
107 ')': Id.Op_RParen,
108 ']': Id.Arith_RBracket,
109}
110
111ID_TO_KIND = {
112 Id.Word_Compound: Kind.Word,
113 Id.Arith_Semi: Kind.Arith,
114 Id.Arith_Comma: Kind.Arith,
115 Id.Arith_Plus: Kind.Arith,
116 Id.Arith_Minus: Kind.Arith,
117 Id.Arith_Star: Kind.Arith,
118 Id.Arith_Slash: Kind.Arith,
119 Id.Arith_Percent: Kind.Arith,
120 Id.Arith_DPlus: Kind.Arith,
121 Id.Arith_DMinus: Kind.Arith,
122 Id.Arith_DStar: Kind.Arith,
123 Id.Arith_LParen: Kind.Arith,
124 Id.Arith_RParen: Kind.Arith,
125 Id.Arith_LBracket: Kind.Arith,
126 Id.Arith_RBracket: Kind.Arith,
127 Id.Arith_RBrace: Kind.Arith,
128 Id.Arith_QMark: Kind.Arith,
129 Id.Arith_Colon: Kind.Arith,
130 Id.Arith_LessEqual: Kind.Arith,
131 Id.Arith_Less: Kind.Arith,
132 Id.Arith_GreatEqual: Kind.Arith,
133 Id.Arith_Great: Kind.Arith,
134 Id.Arith_DEqual: Kind.Arith,
135 Id.Arith_NEqual: Kind.Arith,
136 Id.Arith_DAmp: Kind.Arith,
137 Id.Arith_DPipe: Kind.Arith,
138 Id.Arith_Bang: Kind.Arith,
139 Id.Arith_DGreat: Kind.Arith,
140 Id.Arith_DLess: Kind.Arith,
141 Id.Arith_Amp: Kind.Arith,
142 Id.Arith_Pipe: Kind.Arith,
143 Id.Arith_Caret: Kind.Arith,
144 Id.Arith_Tilde: Kind.Arith,
145 Id.Arith_Equal: Kind.Arith,
146 Id.Arith_PlusEqual: Kind.Arith,
147 Id.Arith_MinusEqual: Kind.Arith,
148 Id.Arith_StarEqual: Kind.Arith,
149 Id.Arith_SlashEqual: Kind.Arith,
150 Id.Arith_PercentEqual: Kind.Arith,
151 Id.Arith_DGreatEqual: Kind.Arith,
152 Id.Arith_DLessEqual: Kind.Arith,
153 Id.Arith_AmpEqual: Kind.Arith,
154 Id.Arith_CaretEqual: Kind.Arith,
155 Id.Arith_PipeEqual: Kind.Arith,
156 Id.Eof_Real: Kind.Eof,
157 Id.Eof_RParen: Kind.Eof,
158 Id.Eof_Backtick: Kind.Eof,
159 Id.Undefined_Tok: Kind.Undefined,
160 Id.Unknown_Tok: Kind.Unknown,
161 Id.Unknown_Backslash: Kind.Unknown,
162 Id.Unknown_DEqual: Kind.Unknown,
163 Id.Unknown_DAmp: Kind.Unknown,
164 Id.Unknown_DPipe: Kind.Unknown,
165 Id.Eol_Tok: Kind.Eol,
166 Id.Ignored_LineCont: Kind.Ignored,
167 Id.Ignored_Space: Kind.Ignored,
168 Id.Ignored_Comment: Kind.Ignored,
169 Id.Ignored_Newline: Kind.Ignored,
170 Id.WS_Space: Kind.WS,
171 Id.Lit_Chars: Kind.Lit,
172 Id.Lit_CharsWithoutPrefix: Kind.Lit,
173 Id.Lit_VarLike: Kind.Lit,
174 Id.Lit_ArrayLhsOpen: Kind.Lit,
175 Id.Lit_ArrayLhsClose: Kind.Lit,
176 Id.Lit_Splice: Kind.Lit,
177 Id.Lit_AtLBracket: Kind.Lit,
178 Id.Lit_AtLBraceDot: Kind.Lit,
179 Id.Lit_Other: Kind.Lit,
180 Id.Lit_EscapedChar: Kind.Lit,
181 Id.Lit_LBracket: Kind.Lit,
182 Id.Lit_RBracket: Kind.Lit,
183 Id.Lit_Star: Kind.Lit,
184 Id.Lit_QMark: Kind.Lit,
185 Id.Lit_LBrace: Kind.Lit,
186 Id.Lit_RBrace: Kind.Lit,
187 Id.Lit_Comma: Kind.Lit,
188 Id.Lit_Equals: Kind.Lit,
189 Id.Lit_Dollar: Kind.Lit,
190 Id.Lit_DRightBracket: Kind.Lit,
191 Id.Lit_Tilde: Kind.Lit,
192 Id.Lit_Pound: Kind.Lit,
193 Id.Lit_TPound: Kind.Lit,
194 Id.Lit_TDot: Kind.Lit,
195 Id.Lit_Slash: Kind.Lit,
196 Id.Lit_Percent: Kind.Lit,
197 Id.Lit_Colon: Kind.Lit,
198 Id.Lit_Digits: Kind.Lit,
199 Id.Lit_At: Kind.Lit,
200 Id.Lit_ArithVarLike: Kind.Lit,
201 Id.Lit_BadBackslash: Kind.Lit,
202 Id.Lit_CompDummy: Kind.Lit,
203 Id.Backtick_Right: Kind.Backtick,
204 Id.Backtick_Quoted: Kind.Backtick,
205 Id.Backtick_DoubleQuote: Kind.Backtick,
206 Id.Backtick_Other: Kind.Backtick,
207 Id.History_Op: Kind.History,
208 Id.History_Num: Kind.History,
209 Id.History_Search: Kind.History,
210 Id.History_Other: Kind.History,
211 Id.Op_Newline: Kind.Op,
212 Id.Op_Amp: Kind.Op,
213 Id.Op_Pipe: Kind.Op,
214 Id.Op_PipeAmp: Kind.Op,
215 Id.Op_DAmp: Kind.Op,
216 Id.Op_DPipe: Kind.Op,
217 Id.Op_Semi: Kind.Op,
218 Id.Op_DSemi: Kind.Op,
219 Id.Op_SemiAmp: Kind.Op,
220 Id.Op_DSemiAmp: Kind.Op,
221 Id.Op_LParen: Kind.Op,
222 Id.Op_RParen: Kind.Op,
223 Id.Op_DLeftParen: Kind.Op,
224 Id.Op_DRightParen: Kind.Op,
225 Id.Op_Less: Kind.Op,
226 Id.Op_Great: Kind.Op,
227 Id.Op_Bang: Kind.Op,
228 Id.Op_LBracket: Kind.Op,
229 Id.Op_RBracket: Kind.Op,
230 Id.Op_LBrace: Kind.Op,
231 Id.Op_RBrace: Kind.Op,
232 Id.Expr_Reserved: Kind.Expr,
233 Id.Expr_Symbol: Kind.Expr,
234 Id.Expr_Name: Kind.Expr,
235 Id.Expr_DecInt: Kind.Expr,
236 Id.Expr_BinInt: Kind.Expr,
237 Id.Expr_OctInt: Kind.Expr,
238 Id.Expr_HexInt: Kind.Expr,
239 Id.Expr_Float: Kind.Expr,
240 Id.Expr_Bang: Kind.Expr,
241 Id.Expr_Dot: Kind.Expr,
242 Id.Expr_DDot: Kind.Expr,
243 Id.Expr_Colon: Kind.Expr,
244 Id.Expr_RArrow: Kind.Expr,
245 Id.Expr_RDArrow: Kind.Expr,
246 Id.Expr_DSlash: Kind.Expr,
247 Id.Expr_TEqual: Kind.Expr,
248 Id.Expr_NotDEqual: Kind.Expr,
249 Id.Expr_TildeDEqual: Kind.Expr,
250 Id.Expr_At: Kind.Expr,
251 Id.Expr_DoubleAt: Kind.Expr,
252 Id.Expr_Ellipsis: Kind.Expr,
253 Id.Expr_Dollar: Kind.Expr,
254 Id.Expr_NotTilde: Kind.Expr,
255 Id.Expr_DTilde: Kind.Expr,
256 Id.Expr_NotDTilde: Kind.Expr,
257 Id.Expr_DStarEqual: Kind.Expr,
258 Id.Expr_DSlashEqual: Kind.Expr,
259 Id.Expr_CastedDummy: Kind.Expr,
260 Id.Expr_Null: Kind.Expr,
261 Id.Expr_True: Kind.Expr,
262 Id.Expr_False: Kind.Expr,
263 Id.Expr_And: Kind.Expr,
264 Id.Expr_Or: Kind.Expr,
265 Id.Expr_Not: Kind.Expr,
266 Id.Expr_For: Kind.Expr,
267 Id.Expr_Is: Kind.Expr,
268 Id.Expr_In: Kind.Expr,
269 Id.Expr_If: Kind.Expr,
270 Id.Expr_Else: Kind.Expr,
271 Id.Expr_Func: Kind.Expr,
272 Id.Expr_Capture: Kind.Expr,
273 Id.Expr_As: Kind.Expr,
274 Id.Char_OneChar: Kind.Char,
275 Id.Char_Stop: Kind.Char,
276 Id.Char_Hex: Kind.Char,
277 Id.Char_YHex: Kind.Char,
278 Id.Char_Octal3: Kind.Char,
279 Id.Char_Octal4: Kind.Char,
280 Id.Char_Unicode4: Kind.Char,
281 Id.Char_SurrogatePair: Kind.Char,
282 Id.Char_Unicode8: Kind.Char,
283 Id.Char_UBraced: Kind.Char,
284 Id.Char_Pound: Kind.Char,
285 Id.Char_AsciiControl: Kind.Char,
286 Id.BashRegex_LParen: Kind.BashRegex,
287 Id.BashRegex_AllowedInParens: Kind.BashRegex,
288 Id.Eggex_Start: Kind.Eggex,
289 Id.Eggex_End: Kind.Eggex,
290 Id.Eggex_Dot: Kind.Eggex,
291 Id.Redir_Less: Kind.Redir,
292 Id.Redir_Great: Kind.Redir,
293 Id.Redir_DLess: Kind.Redir,
294 Id.Redir_TLess: Kind.Redir,
295 Id.Redir_DGreat: Kind.Redir,
296 Id.Redir_GreatAnd: Kind.Redir,
297 Id.Redir_LessAnd: Kind.Redir,
298 Id.Redir_DLessDash: Kind.Redir,
299 Id.Redir_LessGreat: Kind.Redir,
300 Id.Redir_Clobber: Kind.Redir,
301 Id.Redir_AndGreat: Kind.Redir,
302 Id.Redir_AndDGreat: Kind.Redir,
303 Id.Left_DoubleQuote: Kind.Left,
304 Id.Left_JDoubleQuote: Kind.Left,
305 Id.Left_SingleQuote: Kind.Left,
306 Id.Left_DollarSingleQuote: Kind.Left,
307 Id.Left_RSingleQuote: Kind.Left,
308 Id.Left_USingleQuote: Kind.Left,
309 Id.Left_BSingleQuote: Kind.Left,
310 Id.Left_TDoubleQuote: Kind.Left,
311 Id.Left_DollarTDoubleQuote: Kind.Left,
312 Id.Left_TSingleQuote: Kind.Left,
313 Id.Left_RTSingleQuote: Kind.Left,
314 Id.Left_UTSingleQuote: Kind.Left,
315 Id.Left_BTSingleQuote: Kind.Left,
316 Id.Left_Backtick: Kind.Left,
317 Id.Left_DollarParen: Kind.Left,
318 Id.Left_DollarBrace: Kind.Left,
319 Id.Left_DollarBraceZsh: Kind.Left,
320 Id.Left_DollarDParen: Kind.Left,
321 Id.Left_DollarBracket: Kind.Left,
322 Id.Left_DollarDoubleQuote: Kind.Left,
323 Id.Left_ProcSubIn: Kind.Left,
324 Id.Left_ProcSubOut: Kind.Left,
325 Id.Left_AtParen: Kind.Left,
326 Id.Left_CaretParen: Kind.Left,
327 Id.Left_CaretBracket: Kind.Left,
328 Id.Left_CaretBrace: Kind.Left,
329 Id.Left_CaretDoubleQuote: Kind.Left,
330 Id.Left_ColonPipe: Kind.Left,
331 Id.Left_PercentParen: Kind.Left,
332 Id.Right_DoubleQuote: Kind.Right,
333 Id.Right_SingleQuote: Kind.Right,
334 Id.Right_Backtick: Kind.Right,
335 Id.Right_DollarBrace: Kind.Right,
336 Id.Right_DollarDParen: Kind.Right,
337 Id.Right_DollarDoubleQuote: Kind.Right,
338 Id.Right_DollarSingleQuote: Kind.Right,
339 Id.Right_Subshell: Kind.Right,
340 Id.Right_ShFunction: Kind.Right,
341 Id.Right_CasePat: Kind.Right,
342 Id.Right_ShArrayLiteral: Kind.Right,
343 Id.Right_ExtGlob: Kind.Right,
344 Id.Right_BashRegexGroup: Kind.Right,
345 Id.Right_BlockLiteral: Kind.Right,
346 Id.ExtGlob_Comma: Kind.ExtGlob,
347 Id.ExtGlob_At: Kind.ExtGlob,
348 Id.ExtGlob_Star: Kind.ExtGlob,
349 Id.ExtGlob_Plus: Kind.ExtGlob,
350 Id.ExtGlob_QMark: Kind.ExtGlob,
351 Id.ExtGlob_Bang: Kind.ExtGlob,
352 Id.VSub_DollarName: Kind.VSub,
353 Id.VSub_Name: Kind.VSub,
354 Id.VSub_Number: Kind.VSub,
355 Id.VSub_Bang: Kind.VSub,
356 Id.VSub_At: Kind.VSub,
357 Id.VSub_Pound: Kind.VSub,
358 Id.VSub_Dollar: Kind.VSub,
359 Id.VSub_Star: Kind.VSub,
360 Id.VSub_Hyphen: Kind.VSub,
361 Id.VSub_QMark: Kind.VSub,
362 Id.VSub_Dot: Kind.VSub,
363 Id.VTest_ColonHyphen: Kind.VTest,
364 Id.VTest_Hyphen: Kind.VTest,
365 Id.VTest_ColonEquals: Kind.VTest,
366 Id.VTest_Equals: Kind.VTest,
367 Id.VTest_ColonQMark: Kind.VTest,
368 Id.VTest_QMark: Kind.VTest,
369 Id.VTest_ColonPlus: Kind.VTest,
370 Id.VTest_Plus: Kind.VTest,
371 Id.VOp0_Q: Kind.VOp0,
372 Id.VOp0_E: Kind.VOp0,
373 Id.VOp0_P: Kind.VOp0,
374 Id.VOp0_A: Kind.VOp0,
375 Id.VOp0_a: Kind.VOp0,
376 Id.VOp1_Percent: Kind.VOp1,
377 Id.VOp1_DPercent: Kind.VOp1,
378 Id.VOp1_Pound: Kind.VOp1,
379 Id.VOp1_DPound: Kind.VOp1,
380 Id.VOp1_Caret: Kind.VOp1,
381 Id.VOp1_DCaret: Kind.VOp1,
382 Id.VOp1_Comma: Kind.VOp1,
383 Id.VOp1_DComma: Kind.VOp1,
384 Id.VOpYsh_Pipe: Kind.VOpYsh,
385 Id.VOpYsh_Space: Kind.VOpYsh,
386 Id.VOp2_Slash: Kind.VOp2,
387 Id.VOp2_Colon: Kind.VOp2,
388 Id.VOp2_LBracket: Kind.VOp2,
389 Id.VOp2_RBracket: Kind.VOp2,
390 Id.VOp3_At: Kind.VOp3,
391 Id.VOp3_Star: Kind.VOp3,
392 Id.Node_PostDPlus: Kind.Node,
393 Id.Node_PostDMinus: Kind.Node,
394 Id.Node_UnaryPlus: Kind.Node,
395 Id.Node_UnaryMinus: Kind.Node,
396 Id.Node_NotIn: Kind.Node,
397 Id.Node_IsNot: Kind.Node,
398 Id.KW_DLeftBracket: Kind.KW,
399 Id.KW_Bang: Kind.KW,
400 Id.KW_For: Kind.KW,
401 Id.KW_While: Kind.KW,
402 Id.KW_Until: Kind.KW,
403 Id.KW_Do: Kind.KW,
404 Id.KW_Done: Kind.KW,
405 Id.KW_In: Kind.KW,
406 Id.KW_Case: Kind.KW,
407 Id.KW_Esac: Kind.KW,
408 Id.KW_If: Kind.KW,
409 Id.KW_Fi: Kind.KW,
410 Id.KW_Then: Kind.KW,
411 Id.KW_Else: Kind.KW,
412 Id.KW_Elif: Kind.KW,
413 Id.KW_Function: Kind.KW,
414 Id.KW_Time: Kind.KW,
415 Id.KW_Const: Kind.KW,
416 Id.KW_Var: Kind.KW,
417 Id.KW_SetVar: Kind.KW,
418 Id.KW_SetGlobal: Kind.KW,
419 Id.KW_Call: Kind.KW,
420 Id.KW_Proc: Kind.KW,
421 Id.KW_Typed: Kind.KW,
422 Id.KW_Func: Kind.KW,
423 Id.ControlFlow_Break: Kind.ControlFlow,
424 Id.ControlFlow_Continue: Kind.ControlFlow,
425 Id.ControlFlow_Return: Kind.ControlFlow,
426 Id.ControlFlow_Exit: Kind.ControlFlow,
427 Id.LookAhead_FuncParens: Kind.LookAhead,
428 Id.Glob_LBracket: Kind.Glob,
429 Id.Glob_RBracket: Kind.Glob,
430 Id.Glob_Star: Kind.Glob,
431 Id.Glob_QMark: Kind.Glob,
432 Id.Glob_Bang: Kind.Glob,
433 Id.Glob_Caret: Kind.Glob,
434 Id.Glob_EscapedChar: Kind.Glob,
435 Id.Glob_BadBackslash: Kind.Glob,
436 Id.Glob_CleanLiterals: Kind.Glob,
437 Id.Glob_OtherLiteral: Kind.Glob,
438 Id.Format_EscapedPercent: Kind.Format,
439 Id.Format_Percent: Kind.Format,
440 Id.Format_Flag: Kind.Format,
441 Id.Format_Num: Kind.Format,
442 Id.Format_Dot: Kind.Format,
443 Id.Format_Type: Kind.Format,
444 Id.Format_Star: Kind.Format,
445 Id.Format_Time: Kind.Format,
446 Id.Format_Zero: Kind.Format,
447 Id.PS_Subst: Kind.PS,
448 Id.PS_Octal3: Kind.PS,
449 Id.PS_LBrace: Kind.PS,
450 Id.PS_RBrace: Kind.PS,
451 Id.PS_Literals: Kind.PS,
452 Id.PS_BadBackslash: Kind.PS,
453 Id.Range_Int: Kind.Range,
454 Id.Range_Char: Kind.Range,
455 Id.Range_Dots: Kind.Range,
456 Id.Range_Other: Kind.Range,
457 Id.J8_LBracket: Kind.J8,
458 Id.J8_RBracket: Kind.J8,
459 Id.J8_LBrace: Kind.J8,
460 Id.J8_RBrace: Kind.J8,
461 Id.J8_Comma: Kind.J8,
462 Id.J8_Colon: Kind.J8,
463 Id.J8_Null: Kind.J8,
464 Id.J8_Bool: Kind.J8,
465 Id.J8_Int: Kind.J8,
466 Id.J8_Float: Kind.J8,
467 Id.J8_String: Kind.J8,
468 Id.J8_Identifier: Kind.J8,
469 Id.J8_Newline: Kind.J8,
470 Id.J8_Tab: Kind.J8,
471 Id.J8_LParen: Kind.J8,
472 Id.J8_RParen: Kind.J8,
473 Id.J8_Operator: Kind.J8,
474 Id.ShNumber_Dec: Kind.ShNumber,
475 Id.ShNumber_Hex: Kind.ShNumber,
476 Id.ShNumber_Oct: Kind.ShNumber,
477 Id.ShNumber_BaseN: Kind.ShNumber,
478 Id.BoolUnary_z: Kind.BoolUnary,
479 Id.BoolUnary_n: Kind.BoolUnary,
480 Id.BoolUnary_o: Kind.BoolUnary,
481 Id.BoolUnary_t: Kind.BoolUnary,
482 Id.BoolUnary_v: Kind.BoolUnary,
483 Id.BoolUnary_R: Kind.BoolUnary,
484 Id.BoolUnary_a: Kind.BoolUnary,
485 Id.BoolUnary_b: Kind.BoolUnary,
486 Id.BoolUnary_c: Kind.BoolUnary,
487 Id.BoolUnary_d: Kind.BoolUnary,
488 Id.BoolUnary_e: Kind.BoolUnary,
489 Id.BoolUnary_f: Kind.BoolUnary,
490 Id.BoolUnary_g: Kind.BoolUnary,
491 Id.BoolUnary_h: Kind.BoolUnary,
492 Id.BoolUnary_k: Kind.BoolUnary,
493 Id.BoolUnary_L: Kind.BoolUnary,
494 Id.BoolUnary_p: Kind.BoolUnary,
495 Id.BoolUnary_r: Kind.BoolUnary,
496 Id.BoolUnary_s: Kind.BoolUnary,
497 Id.BoolUnary_S: Kind.BoolUnary,
498 Id.BoolUnary_u: Kind.BoolUnary,
499 Id.BoolUnary_w: Kind.BoolUnary,
500 Id.BoolUnary_x: Kind.BoolUnary,
501 Id.BoolUnary_O: Kind.BoolUnary,
502 Id.BoolUnary_G: Kind.BoolUnary,
503 Id.BoolUnary_N: Kind.BoolUnary,
504 Id.BoolUnary_true: Kind.BoolBinary,
505 Id.BoolUnary_false: Kind.BoolBinary,
506 Id.BoolBinary_GlobEqual: Kind.BoolBinary,
507 Id.BoolBinary_GlobDEqual: Kind.BoolBinary,
508 Id.BoolBinary_GlobNEqual: Kind.BoolBinary,
509 Id.BoolBinary_EqualTilde: Kind.BoolBinary,
510 Id.BoolBinary_ef: Kind.BoolBinary,
511 Id.BoolBinary_nt: Kind.BoolBinary,
512 Id.BoolBinary_ot: Kind.BoolBinary,
513 Id.BoolBinary_eq: Kind.BoolBinary,
514 Id.BoolBinary_ne: Kind.BoolBinary,
515 Id.BoolBinary_gt: Kind.BoolBinary,
516 Id.BoolBinary_ge: Kind.BoolBinary,
517 Id.BoolBinary_lt: Kind.BoolBinary,
518 Id.BoolBinary_le: Kind.BoolBinary,
519 Id.BoolBinary_Equal: Kind.BoolBinary,
520 Id.BoolBinary_DEqual: Kind.BoolBinary,
521 Id.BoolBinary_NEqual: Kind.BoolBinary,
522}