sh-ast 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +116 -144
- package/dist/analyze/ansi-c-escapes.d.ts +1 -1
- package/dist/analyze/ansi-c-escapes.js +1 -1
- package/dist/analyze/enumerate-commands.d.ts +11 -16
- package/dist/analyze/enumerate-commands.d.ts.map +1 -1
- package/dist/analyze/enumerate-commands.js +82 -92
- package/dist/analyze/enumerate-commands.js.map +1 -1
- package/dist/analyze/index.d.ts +3 -2
- package/dist/analyze/index.d.ts.map +1 -1
- package/dist/analyze/index.js +1 -1
- package/dist/analyze/node-helpers.d.ts +10 -21
- package/dist/analyze/node-helpers.d.ts.map +1 -1
- package/dist/analyze/node-helpers.js +16 -27
- package/dist/analyze/node-helpers.js.map +1 -1
- package/dist/analyze/resolve-argv0.d.ts +6 -6
- package/dist/analyze/resolve-argv0.js +6 -6
- package/dist/analyze/resolve-word.d.ts +7 -10
- package/dist/analyze/resolve-word.d.ts.map +1 -1
- package/dist/analyze/resolve-word.js +39 -22
- package/dist/analyze/resolve-word.js.map +1 -1
- package/dist/analyze.d.ts +3780 -397
- package/dist/errors.d.ts +6 -79
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +5 -64
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +16 -14
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -4
- package/dist/index.js.map +1 -1
- package/dist/sh-ast.d.ts +3503 -1027
- package/dist/syntax-errors.d.ts +56 -0
- package/dist/syntax-errors.d.ts.map +1 -0
- package/dist/syntax-errors.js +80 -0
- package/dist/syntax-errors.js.map +1 -0
- package/dist/syntax-snapshot.d.ts +47 -0
- package/dist/syntax-snapshot.d.ts.map +1 -0
- package/dist/syntax-snapshot.js +121 -0
- package/dist/syntax-snapshot.js.map +1 -0
- package/dist/syntax-wire.d.ts +31 -0
- package/dist/syntax-wire.d.ts.map +1 -0
- package/dist/syntax-wire.js +202 -0
- package/dist/syntax-wire.js.map +1 -0
- package/dist/syntax.d.ts +65 -0
- package/dist/syntax.d.ts.map +1 -0
- package/dist/syntax.js +152 -0
- package/dist/syntax.js.map +1 -0
- package/dist/wasm-instance.d.ts +5 -8
- package/dist/wasm-instance.d.ts.map +1 -1
- package/dist/wasm-instance.js +44 -47
- package/dist/wasm-instance.js.map +1 -1
- package/generated/syntax-constants.d.ts +1652 -0
- package/generated/syntax-constants.js +1384 -0
- package/generated/syntax-schema.d.ts +60 -0
- package/generated/syntax-schema.js +1740 -0
- package/generated/syntax-types.d.ts +1977 -0
- package/package.json +2 -2
- package/shim/sh-ast.wasm +0 -0
- package/dist/normalize.d.ts +0 -52
- package/dist/normalize.d.ts.map +0 -1
- package/dist/normalize.js +0 -260
- package/dist/normalize.js.map +0 -1
- package/dist/parse.d.ts +0 -50
- package/dist/parse.d.ts.map +0 -1
- package/dist/parse.js +0 -125
- package/dist/parse.js.map +0 -1
- package/dist/types.d.ts +0 -74
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -2
- package/dist/types.js.map +0 -1
- package/dist/visitor-keys.d.ts +0 -21
- package/dist/visitor-keys.d.ts.map +0 -1
- package/dist/visitor-keys.js +0 -23
- package/dist/visitor-keys.js.map +0 -1
- package/dist/walk.d.ts +0 -18
- package/dist/walk.d.ts.map +0 -1
- package/dist/walk.js +0 -40
- package/dist/walk.js.map +0 -1
- package/generated/child-type-schema.d.ts +0 -14
- package/generated/child-type-schema.js +0 -188
- package/generated/node-types.d.ts +0 -1002
- package/generated/position-fields.d.ts +0 -21
- package/generated/position-fields.js +0 -50
- package/generated/visitor-keys.d.ts +0 -11
- package/generated/visitor-keys.js +0 -50
|
@@ -0,0 +1,1652 @@
|
|
|
1
|
+
// Code generated by tools/gen-visitor-keys from mvdan.cc/sh/v3 v3.13.1. DO NOT EDIT.
|
|
2
|
+
// Faithful syntax values; see design/ARCHITECTURE.md.
|
|
3
|
+
/*
|
|
4
|
+
Copyright (c) 2016, Daniel Martí. All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are
|
|
8
|
+
met:
|
|
9
|
+
|
|
10
|
+
* Redistributions of source code must retain the above copyright
|
|
11
|
+
notice, this list of conditions and the following disclaimer.
|
|
12
|
+
* Redistributions in binary form must reproduce the above
|
|
13
|
+
copyright notice, this list of conditions and the following disclaimer
|
|
14
|
+
in the documentation and/or other materials provided with the
|
|
15
|
+
distribution.
|
|
16
|
+
* Neither the name of the copyright holder nor the names of its
|
|
17
|
+
contributors may be used to endorse or promote products derived from
|
|
18
|
+
this software without specific prior written permission.
|
|
19
|
+
|
|
20
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
21
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
22
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
23
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
24
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
25
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
26
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
27
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
28
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
29
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
30
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Upstream BinAritOperator constant Add. Its numeric value is preserved exactly.
|
|
35
|
+
*
|
|
36
|
+
* +
|
|
37
|
+
*
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export declare const Add: 81;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Upstream BinAritOperator constant AddAssgn. Its numeric value is preserved exactly.
|
|
44
|
+
*
|
|
45
|
+
* +=
|
|
46
|
+
*
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export declare const AddAssgn: 49;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Upstream ParExpOperator constant AlternateUnset. Its numeric value is preserved exactly.
|
|
53
|
+
*
|
|
54
|
+
* +
|
|
55
|
+
*
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export declare const AlternateUnset: 81;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Upstream ParExpOperator constant AlternateUnsetOrNull. Its numeric value is preserved exactly.
|
|
62
|
+
*
|
|
63
|
+
* :+
|
|
64
|
+
*
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export declare const AlternateUnsetOrNull: 82;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Upstream BinAritOperator constant And. Its numeric value is preserved exactly.
|
|
71
|
+
*
|
|
72
|
+
* &
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare const And: 10;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Upstream BinAritOperator constant AndArit. Its numeric value is preserved exactly.
|
|
80
|
+
*
|
|
81
|
+
* &&
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare const AndArit: 11;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Upstream BinAritOperator constant AndAssgn. Its numeric value is preserved exactly.
|
|
89
|
+
*
|
|
90
|
+
* &=
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare const AndAssgn: 54;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Upstream BinAritOperator constant AndBoolAssgn. Its numeric value is preserved exactly.
|
|
98
|
+
*
|
|
99
|
+
* &&=
|
|
100
|
+
*
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export declare const AndBoolAssgn: 59;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Upstream BinCmdOperator constant AndStmt. Its numeric value is preserved exactly.
|
|
107
|
+
*
|
|
108
|
+
* &&
|
|
109
|
+
*
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare const AndStmt: 11;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Upstream BinTestOperator constant AndTest. Its numeric value is preserved exactly.
|
|
116
|
+
*
|
|
117
|
+
* &&
|
|
118
|
+
*
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export declare const AndTest: 11;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Upstream RedirOperator constant AppAll. Its numeric value is preserved exactly.
|
|
125
|
+
*
|
|
126
|
+
* &\>\>
|
|
127
|
+
*
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
export declare const AppAll: 76;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Upstream RedirOperator constant AppAllClob. Its numeric value is preserved exactly.
|
|
134
|
+
*
|
|
135
|
+
* &\>\>| with `LangZsh`
|
|
136
|
+
*
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
export declare const AppAllClob: 77;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Upstream RedirOperator constant AppClob. Its numeric value is preserved exactly.
|
|
143
|
+
*
|
|
144
|
+
* \>\>| with `LangZsh`
|
|
145
|
+
*
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
export declare const AppClob: 70;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Upstream RedirOperator constant AppOut. Its numeric value is preserved exactly.
|
|
152
|
+
*
|
|
153
|
+
* \>\>
|
|
154
|
+
*
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
export declare const AppOut: 64;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Upstream ParExpOperator constant ArrayExclude. Its numeric value is preserved exactly.
|
|
161
|
+
*
|
|
162
|
+
* :| with `LangZsh`
|
|
163
|
+
*
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
export declare const ArrayExclude: 94;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Upstream ParExpOperator constant ArrayIntersect. Its numeric value is preserved exactly.
|
|
170
|
+
*
|
|
171
|
+
* :* with `LangZsh`
|
|
172
|
+
*
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
export declare const ArrayIntersect: 95;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Upstream BinAritOperator constant Assgn. Its numeric value is preserved exactly.
|
|
179
|
+
*
|
|
180
|
+
* =
|
|
181
|
+
*
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
export declare const Assgn: 87;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Upstream ParExpOperator constant AssignUnset. Its numeric value is preserved exactly.
|
|
188
|
+
*
|
|
189
|
+
* =
|
|
190
|
+
*
|
|
191
|
+
* @public
|
|
192
|
+
*/
|
|
193
|
+
export declare const AssignUnset: 87;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Upstream ParExpOperator constant AssignUnsetOrNull. Its numeric value is preserved exactly.
|
|
197
|
+
*
|
|
198
|
+
* :=
|
|
199
|
+
*
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
export declare const AssignUnsetOrNull: 88;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Upstream UnAritOperator constant BitNegation. Its numeric value is preserved exactly.
|
|
206
|
+
*
|
|
207
|
+
* ~
|
|
208
|
+
*
|
|
209
|
+
* @public
|
|
210
|
+
*/
|
|
211
|
+
export declare const BitNegation: 40;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Upstream CaseOperator constant Break. Its numeric value is preserved exactly.
|
|
215
|
+
*
|
|
216
|
+
* ;;
|
|
217
|
+
*
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
export declare const Break: 35;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Upstream RedirOperator constant ClbOut. Its numeric value is preserved exactly.
|
|
224
|
+
*
|
|
225
|
+
* Deprecated: use `RdrClob`
|
|
226
|
+
*
|
|
227
|
+
* @public
|
|
228
|
+
*/
|
|
229
|
+
export declare const ClbOut: 69;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Upstream ProcOperator constant CmdIn. Its numeric value is preserved exactly.
|
|
233
|
+
*
|
|
234
|
+
* \<(
|
|
235
|
+
*
|
|
236
|
+
* @public
|
|
237
|
+
*/
|
|
238
|
+
export declare const CmdIn: 78;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Upstream ProcOperator constant CmdInTemp. Its numeric value is preserved exactly.
|
|
242
|
+
*
|
|
243
|
+
* =(
|
|
244
|
+
*
|
|
245
|
+
* @public
|
|
246
|
+
*/
|
|
247
|
+
export declare const CmdInTemp: 79;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Upstream ProcOperator constant CmdOut. Its numeric value is preserved exactly.
|
|
251
|
+
*
|
|
252
|
+
* \>(
|
|
253
|
+
*
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
256
|
+
export declare const CmdOut: 80;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Upstream BinAritOperator constant Comma. Its numeric value is preserved exactly.
|
|
260
|
+
*
|
|
261
|
+
* ,
|
|
262
|
+
*
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
265
|
+
export declare const Comma: 98;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Upstream RedirOperator constant DashHdoc. Its numeric value is preserved exactly.
|
|
269
|
+
*
|
|
270
|
+
* \<\<-
|
|
271
|
+
*
|
|
272
|
+
* @public
|
|
273
|
+
*/
|
|
274
|
+
export declare const DashHdoc: 72;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Upstream UnAritOperator constant Dec. Its numeric value is preserved exactly.
|
|
278
|
+
*
|
|
279
|
+
* --
|
|
280
|
+
*
|
|
281
|
+
* @public
|
|
282
|
+
*/
|
|
283
|
+
export declare const Dec: 42;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Upstream ParExpOperator constant DefaultUnset. Its numeric value is preserved exactly.
|
|
287
|
+
*
|
|
288
|
+
* -
|
|
289
|
+
*
|
|
290
|
+
* @public
|
|
291
|
+
*/
|
|
292
|
+
export declare const DefaultUnset: 83;
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Upstream ParExpOperator constant DefaultUnsetOrNull. Its numeric value is preserved exactly.
|
|
296
|
+
*
|
|
297
|
+
* :-
|
|
298
|
+
*
|
|
299
|
+
* @public
|
|
300
|
+
*/
|
|
301
|
+
export declare const DefaultUnsetOrNull: 84;
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Upstream RedirOperator constant DplIn. Its numeric value is preserved exactly.
|
|
305
|
+
*
|
|
306
|
+
* \<&
|
|
307
|
+
*
|
|
308
|
+
* @public
|
|
309
|
+
*/
|
|
310
|
+
export declare const DplIn: 67;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Upstream RedirOperator constant DplOut. Its numeric value is preserved exactly.
|
|
314
|
+
*
|
|
315
|
+
* \>&
|
|
316
|
+
*
|
|
317
|
+
* @public
|
|
318
|
+
*/
|
|
319
|
+
export declare const DplOut: 68;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Upstream BinAritOperator constant Eql. Its numeric value is preserved exactly.
|
|
323
|
+
*
|
|
324
|
+
* ==
|
|
325
|
+
*
|
|
326
|
+
* @public
|
|
327
|
+
*/
|
|
328
|
+
export declare const Eql: 45;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Upstream ParExpOperator constant ErrorUnset. Its numeric value is preserved exactly.
|
|
332
|
+
*
|
|
333
|
+
* ?
|
|
334
|
+
*
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
337
|
+
export declare const ErrorUnset: 85;
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Upstream ParExpOperator constant ErrorUnsetOrNull. Its numeric value is preserved exactly.
|
|
341
|
+
*
|
|
342
|
+
* :?
|
|
343
|
+
*
|
|
344
|
+
* @public
|
|
345
|
+
*/
|
|
346
|
+
export declare const ErrorUnsetOrNull: 86;
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Upstream CaseOperator constant Fallthrough. Its numeric value is preserved exactly.
|
|
350
|
+
*
|
|
351
|
+
* ;&
|
|
352
|
+
*
|
|
353
|
+
* @public
|
|
354
|
+
*/
|
|
355
|
+
export declare const Fallthrough: 36;
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Upstream BinAritOperator constant Geq. Its numeric value is preserved exactly.
|
|
359
|
+
*
|
|
360
|
+
* \>=
|
|
361
|
+
*
|
|
362
|
+
* @public
|
|
363
|
+
*/
|
|
364
|
+
export declare const Geq: 48;
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Upstream GlobOperator constant GlobExcept. Its numeric value is preserved exactly.
|
|
368
|
+
*
|
|
369
|
+
* !(
|
|
370
|
+
*
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
export declare const GlobExcept: 143;
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Upstream GlobOperator constant GlobOne. Its numeric value is preserved exactly.
|
|
377
|
+
*
|
|
378
|
+
* \@(
|
|
379
|
+
*
|
|
380
|
+
* @public
|
|
381
|
+
*/
|
|
382
|
+
export declare const GlobOne: 142;
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Upstream GlobOperator constant GlobOneOrMore. Its numeric value is preserved exactly.
|
|
386
|
+
*
|
|
387
|
+
* +(
|
|
388
|
+
*
|
|
389
|
+
* @public
|
|
390
|
+
*/
|
|
391
|
+
export declare const GlobOneOrMore: 141;
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* Upstream GlobOperator constant GlobZeroOrMore. Its numeric value is preserved exactly.
|
|
395
|
+
*
|
|
396
|
+
* *(
|
|
397
|
+
*
|
|
398
|
+
* @public
|
|
399
|
+
*/
|
|
400
|
+
export declare const GlobZeroOrMore: 140;
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* Upstream GlobOperator constant GlobZeroOrOne. Its numeric value is preserved exactly.
|
|
404
|
+
*
|
|
405
|
+
* ?(
|
|
406
|
+
*
|
|
407
|
+
* @public
|
|
408
|
+
*/
|
|
409
|
+
export declare const GlobZeroOrOne: 139;
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Upstream BinAritOperator constant Gtr. Its numeric value is preserved exactly.
|
|
413
|
+
*
|
|
414
|
+
* \>
|
|
415
|
+
*
|
|
416
|
+
* @public
|
|
417
|
+
*/
|
|
418
|
+
export declare const Gtr: 63;
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Upstream RedirOperator constant Hdoc. Its numeric value is preserved exactly.
|
|
422
|
+
*
|
|
423
|
+
* \<\<
|
|
424
|
+
*
|
|
425
|
+
* @public
|
|
426
|
+
*/
|
|
427
|
+
export declare const Hdoc: 71;
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* Upstream UnAritOperator constant Inc. Its numeric value is preserved exactly.
|
|
431
|
+
*
|
|
432
|
+
* ++
|
|
433
|
+
*
|
|
434
|
+
* @public
|
|
435
|
+
*/
|
|
436
|
+
export declare const Inc: 41;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Upstream LangVariant constant LangAuto. Its numeric value is preserved exactly.
|
|
440
|
+
*
|
|
441
|
+
* LangAuto corresponds to automatic language detection,
|
|
442
|
+
* commonly used by end-user applications like shfmt,
|
|
443
|
+
* which can guess a file's language variant given its filename or shebang.
|
|
444
|
+
*
|
|
445
|
+
* At this time, `Variant` does not support LangAuto.
|
|
446
|
+
*
|
|
447
|
+
* @public
|
|
448
|
+
*/
|
|
449
|
+
export declare const LangAuto: 32;
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* Upstream LangVariant constant LangBash. Its numeric value is preserved exactly.
|
|
453
|
+
*
|
|
454
|
+
* LangBash corresponds to the GNU Bash language, as described in its
|
|
455
|
+
* manual at https://www.gnu.org/software/bash/manual/bash.html.
|
|
456
|
+
*
|
|
457
|
+
* We currently follow Bash version 5.2.
|
|
458
|
+
*
|
|
459
|
+
* Its string representation is "bash".
|
|
460
|
+
*
|
|
461
|
+
* @public
|
|
462
|
+
*/
|
|
463
|
+
export declare const LangBash: 1;
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* Upstream LangVariant constant LangBats. Its numeric value is preserved exactly.
|
|
467
|
+
*
|
|
468
|
+
* LangBats corresponds to the Bash Automated Testing System language,
|
|
469
|
+
* as described at https://github.com/bats-core/bats-core. Note that
|
|
470
|
+
* it's just a small extension of the Bash language.
|
|
471
|
+
*
|
|
472
|
+
* Its string representation is "bats".
|
|
473
|
+
*
|
|
474
|
+
* @public
|
|
475
|
+
*/
|
|
476
|
+
export declare const LangBats: 8;
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* Upstream LangVariant constant LangMirBSDKorn. Its numeric value is preserved exactly.
|
|
480
|
+
*
|
|
481
|
+
* LangMirBSDKorn corresponds to the MirBSD Korn Shell, also known as
|
|
482
|
+
* mksh, as described at http://www.mirbsd.org/htman/i386/man1/mksh.htm.
|
|
483
|
+
* Note that it shares some features with Bash, due to the shared
|
|
484
|
+
* ancestry that is ksh.
|
|
485
|
+
*
|
|
486
|
+
* We currently follow mksh version 59.
|
|
487
|
+
*
|
|
488
|
+
* Its string representation is "mksh".
|
|
489
|
+
*
|
|
490
|
+
* @public
|
|
491
|
+
*/
|
|
492
|
+
export declare const LangMirBSDKorn: 4;
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* Upstream LangVariant constant LangPOSIX. Its numeric value is preserved exactly.
|
|
496
|
+
*
|
|
497
|
+
* LangPOSIX corresponds to the POSIX Shell language, as described at
|
|
498
|
+
* https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html.
|
|
499
|
+
*
|
|
500
|
+
* Its string representation is "posix" or "sh".
|
|
501
|
+
*
|
|
502
|
+
* @public
|
|
503
|
+
*/
|
|
504
|
+
export declare const LangPOSIX: 2;
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Upstream LangVariant constant LangZsh. Its numeric value is preserved exactly.
|
|
508
|
+
*
|
|
509
|
+
* LangZsh corresponds to the Z shell, as described at https://www.zsh.org/.
|
|
510
|
+
*
|
|
511
|
+
* Note that its support in the syntax package is experimental and
|
|
512
|
+
* incomplete for now. See https://github.com/mvdan/sh/issues/120.
|
|
513
|
+
*
|
|
514
|
+
* We currently follow Zsh version 5.9.
|
|
515
|
+
*
|
|
516
|
+
* Its string representation is "zsh".
|
|
517
|
+
*
|
|
518
|
+
* @public
|
|
519
|
+
*/
|
|
520
|
+
export declare const LangZsh: 16;
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* Upstream BinAritOperator constant Leq. Its numeric value is preserved exactly.
|
|
524
|
+
*
|
|
525
|
+
* \<=
|
|
526
|
+
*
|
|
527
|
+
* @public
|
|
528
|
+
*/
|
|
529
|
+
export declare const Leq: 47;
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Upstream ParExpOperator constant LowerAll. Its numeric value is preserved exactly.
|
|
533
|
+
*
|
|
534
|
+
* ,,
|
|
535
|
+
*
|
|
536
|
+
* @public
|
|
537
|
+
*/
|
|
538
|
+
export declare const LowerAll: 99;
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* Upstream ParExpOperator constant LowerFirst. Its numeric value is preserved exactly.
|
|
542
|
+
*
|
|
543
|
+
* ,
|
|
544
|
+
*
|
|
545
|
+
* @public
|
|
546
|
+
*/
|
|
547
|
+
export declare const LowerFirst: 98;
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* Upstream BinAritOperator constant Lss. Its numeric value is preserved exactly.
|
|
551
|
+
*
|
|
552
|
+
* \<
|
|
553
|
+
*
|
|
554
|
+
* @public
|
|
555
|
+
*/
|
|
556
|
+
export declare const Lss: 65;
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Upstream ParExpOperator constant MatchEmpty. Its numeric value is preserved exactly.
|
|
560
|
+
*
|
|
561
|
+
* :# with `LangZsh`
|
|
562
|
+
*
|
|
563
|
+
* @public
|
|
564
|
+
*/
|
|
565
|
+
export declare const MatchEmpty: 93;
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Upstream UnAritOperator constant Minus. Its numeric value is preserved exactly.
|
|
569
|
+
*
|
|
570
|
+
* -
|
|
571
|
+
*
|
|
572
|
+
* @public
|
|
573
|
+
*/
|
|
574
|
+
export declare const Minus: 83;
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* Upstream BinAritOperator constant Mul. Its numeric value is preserved exactly.
|
|
578
|
+
*
|
|
579
|
+
* *
|
|
580
|
+
*
|
|
581
|
+
* @public
|
|
582
|
+
*/
|
|
583
|
+
export declare const Mul: 43;
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Upstream BinAritOperator constant MulAssgn. Its numeric value is preserved exactly.
|
|
587
|
+
*
|
|
588
|
+
* *=
|
|
589
|
+
*
|
|
590
|
+
* @public
|
|
591
|
+
*/
|
|
592
|
+
export declare const MulAssgn: 51;
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* Upstream ParNamesOperator constant NamesPrefix. Its numeric value is preserved exactly.
|
|
596
|
+
*
|
|
597
|
+
* *
|
|
598
|
+
*
|
|
599
|
+
* @public
|
|
600
|
+
*/
|
|
601
|
+
export declare const NamesPrefix: 43;
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* Upstream ParNamesOperator constant NamesPrefixWords. Its numeric value is preserved exactly.
|
|
605
|
+
*
|
|
606
|
+
* \@
|
|
607
|
+
*
|
|
608
|
+
* @public
|
|
609
|
+
*/
|
|
610
|
+
export declare const NamesPrefixWords: 100;
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* Upstream BinAritOperator constant Neq. Its numeric value is preserved exactly.
|
|
614
|
+
*
|
|
615
|
+
* !=
|
|
616
|
+
*
|
|
617
|
+
* @public
|
|
618
|
+
*/
|
|
619
|
+
export declare const Neq: 46;
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* Upstream UnAritOperator constant Not. Its numeric value is preserved exactly.
|
|
623
|
+
*
|
|
624
|
+
* !
|
|
625
|
+
*
|
|
626
|
+
* @public
|
|
627
|
+
*/
|
|
628
|
+
export declare const Not: 39;
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* Upstream BinAritOperator constant Or. Its numeric value is preserved exactly.
|
|
632
|
+
*
|
|
633
|
+
* |
|
|
634
|
+
*
|
|
635
|
+
* @public
|
|
636
|
+
*/
|
|
637
|
+
export declare const Or: 13;
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* Upstream BinAritOperator constant OrArit. Its numeric value is preserved exactly.
|
|
641
|
+
*
|
|
642
|
+
* ||
|
|
643
|
+
*
|
|
644
|
+
* @public
|
|
645
|
+
*/
|
|
646
|
+
export declare const OrArit: 12;
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* Upstream BinAritOperator constant OrAssgn. Its numeric value is preserved exactly.
|
|
650
|
+
*
|
|
651
|
+
* |=
|
|
652
|
+
*
|
|
653
|
+
* @public
|
|
654
|
+
*/
|
|
655
|
+
export declare const OrAssgn: 55;
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* Upstream BinAritOperator constant OrBoolAssgn. Its numeric value is preserved exactly.
|
|
659
|
+
*
|
|
660
|
+
* ||=
|
|
661
|
+
*
|
|
662
|
+
* @public
|
|
663
|
+
*/
|
|
664
|
+
export declare const OrBoolAssgn: 60;
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* Upstream BinCmdOperator constant OrStmt. Its numeric value is preserved exactly.
|
|
668
|
+
*
|
|
669
|
+
* ||
|
|
670
|
+
*
|
|
671
|
+
* @public
|
|
672
|
+
*/
|
|
673
|
+
export declare const OrStmt: 12;
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* Upstream BinTestOperator constant OrTest. Its numeric value is preserved exactly.
|
|
677
|
+
*
|
|
678
|
+
* ||
|
|
679
|
+
*
|
|
680
|
+
* @public
|
|
681
|
+
*/
|
|
682
|
+
export declare const OrTest: 12;
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* Upstream ParExpOperator constant OtherParamOps. Its numeric value is preserved exactly.
|
|
686
|
+
*
|
|
687
|
+
* \@
|
|
688
|
+
*
|
|
689
|
+
* @public
|
|
690
|
+
*/
|
|
691
|
+
export declare const OtherParamOps: 100;
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* Upstream BinCmdOperator constant Pipe. Its numeric value is preserved exactly.
|
|
695
|
+
*
|
|
696
|
+
* |
|
|
697
|
+
*
|
|
698
|
+
* @public
|
|
699
|
+
*/
|
|
700
|
+
export declare const Pipe: 13;
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Upstream BinCmdOperator constant PipeAll. Its numeric value is preserved exactly.
|
|
704
|
+
*
|
|
705
|
+
* |&
|
|
706
|
+
*
|
|
707
|
+
* @public
|
|
708
|
+
*/
|
|
709
|
+
export declare const PipeAll: 14;
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* Upstream UnAritOperator constant Plus. Its numeric value is preserved exactly.
|
|
713
|
+
*
|
|
714
|
+
* +
|
|
715
|
+
*
|
|
716
|
+
* @public
|
|
717
|
+
*/
|
|
718
|
+
export declare const Plus: 81;
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* Upstream BinAritOperator constant Pow. Its numeric value is preserved exactly.
|
|
722
|
+
*
|
|
723
|
+
* **
|
|
724
|
+
*
|
|
725
|
+
* @public
|
|
726
|
+
*/
|
|
727
|
+
export declare const Pow: 44;
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* Upstream BinAritOperator constant PowAssgn. Its numeric value is preserved exactly.
|
|
731
|
+
*
|
|
732
|
+
* **=
|
|
733
|
+
*
|
|
734
|
+
* @public
|
|
735
|
+
*/
|
|
736
|
+
export declare const PowAssgn: 62;
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* Upstream BinAritOperator constant Quo. Its numeric value is preserved exactly.
|
|
740
|
+
*
|
|
741
|
+
* /
|
|
742
|
+
*
|
|
743
|
+
* @public
|
|
744
|
+
*/
|
|
745
|
+
export declare const Quo: 101;
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* Upstream BinAritOperator constant QuoAssgn. Its numeric value is preserved exactly.
|
|
749
|
+
*
|
|
750
|
+
* /=
|
|
751
|
+
*
|
|
752
|
+
* @public
|
|
753
|
+
*/
|
|
754
|
+
export declare const QuoAssgn: 52;
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* Upstream RedirOperator constant RdrAll. Its numeric value is preserved exactly.
|
|
758
|
+
*
|
|
759
|
+
* &\>
|
|
760
|
+
*
|
|
761
|
+
* @public
|
|
762
|
+
*/
|
|
763
|
+
export declare const RdrAll: 74;
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* Upstream RedirOperator constant RdrAllClob. Its numeric value is preserved exactly.
|
|
767
|
+
*
|
|
768
|
+
* &\>| with `LangZsh`
|
|
769
|
+
*
|
|
770
|
+
* @public
|
|
771
|
+
*/
|
|
772
|
+
export declare const RdrAllClob: 75;
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* Upstream RedirOperator constant RdrClob. Its numeric value is preserved exactly.
|
|
776
|
+
*
|
|
777
|
+
* \>|
|
|
778
|
+
*
|
|
779
|
+
* @public
|
|
780
|
+
*/
|
|
781
|
+
export declare const RdrClob: 69;
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* Upstream RedirOperator constant RdrIn. Its numeric value is preserved exactly.
|
|
785
|
+
*
|
|
786
|
+
* \<
|
|
787
|
+
*
|
|
788
|
+
* @public
|
|
789
|
+
*/
|
|
790
|
+
export declare const RdrIn: 65;
|
|
791
|
+
|
|
792
|
+
/**
|
|
793
|
+
* Upstream RedirOperator constant RdrInOut. Its numeric value is preserved exactly.
|
|
794
|
+
*
|
|
795
|
+
* \<\>
|
|
796
|
+
*
|
|
797
|
+
* @public
|
|
798
|
+
*/
|
|
799
|
+
export declare const RdrInOut: 66;
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* Upstream RedirOperator constant RdrOut. Its numeric value is preserved exactly.
|
|
803
|
+
*
|
|
804
|
+
* \>
|
|
805
|
+
*
|
|
806
|
+
* @public
|
|
807
|
+
*/
|
|
808
|
+
export declare const RdrOut: 63;
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* Upstream BinAritOperator constant Rem. Its numeric value is preserved exactly.
|
|
812
|
+
*
|
|
813
|
+
* %
|
|
814
|
+
*
|
|
815
|
+
* @public
|
|
816
|
+
*/
|
|
817
|
+
export declare const Rem: 89;
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* Upstream BinAritOperator constant RemAssgn. Its numeric value is preserved exactly.
|
|
821
|
+
*
|
|
822
|
+
* %=
|
|
823
|
+
*
|
|
824
|
+
* @public
|
|
825
|
+
*/
|
|
826
|
+
export declare const RemAssgn: 53;
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* Upstream ParExpOperator constant RemLargePrefix. Its numeric value is preserved exactly.
|
|
830
|
+
*
|
|
831
|
+
* ##
|
|
832
|
+
*
|
|
833
|
+
* @public
|
|
834
|
+
*/
|
|
835
|
+
export declare const RemLargePrefix: 92;
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* Upstream ParExpOperator constant RemLargeSuffix. Its numeric value is preserved exactly.
|
|
839
|
+
*
|
|
840
|
+
* %%
|
|
841
|
+
*
|
|
842
|
+
* @public
|
|
843
|
+
*/
|
|
844
|
+
export declare const RemLargeSuffix: 90;
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* Upstream ParExpOperator constant RemSmallPrefix. Its numeric value is preserved exactly.
|
|
848
|
+
*
|
|
849
|
+
* #
|
|
850
|
+
*
|
|
851
|
+
* @public
|
|
852
|
+
*/
|
|
853
|
+
export declare const RemSmallPrefix: 91;
|
|
854
|
+
|
|
855
|
+
/**
|
|
856
|
+
* Upstream ParExpOperator constant RemSmallSuffix. Its numeric value is preserved exactly.
|
|
857
|
+
*
|
|
858
|
+
* %
|
|
859
|
+
*
|
|
860
|
+
* @public
|
|
861
|
+
*/
|
|
862
|
+
export declare const RemSmallSuffix: 89;
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* Upstream CaseOperator constant Resume. Its numeric value is preserved exactly.
|
|
866
|
+
*
|
|
867
|
+
* ;;&
|
|
868
|
+
*
|
|
869
|
+
* @public
|
|
870
|
+
*/
|
|
871
|
+
export declare const Resume: 37;
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* Upstream CaseOperator constant ResumeKorn. Its numeric value is preserved exactly.
|
|
875
|
+
*
|
|
876
|
+
* ;|
|
|
877
|
+
*
|
|
878
|
+
* @public
|
|
879
|
+
*/
|
|
880
|
+
export declare const ResumeKorn: 38;
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* Upstream BinAritOperator constant Shl. Its numeric value is preserved exactly.
|
|
884
|
+
*
|
|
885
|
+
* \<\<
|
|
886
|
+
*
|
|
887
|
+
* @public
|
|
888
|
+
*/
|
|
889
|
+
export declare const Shl: 71;
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* Upstream BinAritOperator constant ShlAssgn. Its numeric value is preserved exactly.
|
|
893
|
+
*
|
|
894
|
+
* \<\<=
|
|
895
|
+
*
|
|
896
|
+
* @public
|
|
897
|
+
*/
|
|
898
|
+
export declare const ShlAssgn: 57;
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* Upstream BinAritOperator constant Shr. Its numeric value is preserved exactly.
|
|
902
|
+
*
|
|
903
|
+
* \>\>
|
|
904
|
+
*
|
|
905
|
+
* @public
|
|
906
|
+
*/
|
|
907
|
+
export declare const Shr: 64;
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* Upstream BinAritOperator constant ShrAssgn. Its numeric value is preserved exactly.
|
|
911
|
+
*
|
|
912
|
+
* \>\>=
|
|
913
|
+
*
|
|
914
|
+
* @public
|
|
915
|
+
*/
|
|
916
|
+
export declare const ShrAssgn: 58;
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* Upstream BinAritOperator constant Sub. Its numeric value is preserved exactly.
|
|
920
|
+
*
|
|
921
|
+
* -
|
|
922
|
+
*
|
|
923
|
+
* @public
|
|
924
|
+
*/
|
|
925
|
+
export declare const Sub: 83;
|
|
926
|
+
|
|
927
|
+
/**
|
|
928
|
+
* Upstream BinAritOperator constant SubAssgn. Its numeric value is preserved exactly.
|
|
929
|
+
*
|
|
930
|
+
* -=
|
|
931
|
+
*
|
|
932
|
+
* @public
|
|
933
|
+
*/
|
|
934
|
+
export declare const SubAssgn: 50;
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* Upstream BinAritOperator constant TernColon. Its numeric value is preserved exactly.
|
|
938
|
+
*
|
|
939
|
+
* :
|
|
940
|
+
*
|
|
941
|
+
* @public
|
|
942
|
+
*/
|
|
943
|
+
export declare const TernColon: 104;
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* Upstream BinAritOperator constant TernQuest. Its numeric value is preserved exactly.
|
|
947
|
+
*
|
|
948
|
+
* ?
|
|
949
|
+
*
|
|
950
|
+
* @public
|
|
951
|
+
*/
|
|
952
|
+
export declare const TernQuest: 85;
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* Upstream BinTestOperator constant TsAfter. Its numeric value is preserved exactly.
|
|
956
|
+
*
|
|
957
|
+
* \>
|
|
958
|
+
*
|
|
959
|
+
* @public
|
|
960
|
+
*/
|
|
961
|
+
export declare const TsAfter: 63;
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* Upstream BinTestOperator constant TsBefore. Its numeric value is preserved exactly.
|
|
965
|
+
*
|
|
966
|
+
* \<
|
|
967
|
+
*
|
|
968
|
+
* @public
|
|
969
|
+
*/
|
|
970
|
+
export declare const TsBefore: 65;
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* Upstream UnTestOperator constant TsBlckSp. Its numeric value is preserved exactly.
|
|
974
|
+
*
|
|
975
|
+
* -b
|
|
976
|
+
*
|
|
977
|
+
* @public
|
|
978
|
+
*/
|
|
979
|
+
export declare const TsBlckSp: 109;
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* Upstream UnTestOperator constant TsCharSp. Its numeric value is preserved exactly.
|
|
983
|
+
*
|
|
984
|
+
* -c
|
|
985
|
+
*
|
|
986
|
+
* @public
|
|
987
|
+
*/
|
|
988
|
+
export declare const TsCharSp: 108;
|
|
989
|
+
|
|
990
|
+
/**
|
|
991
|
+
* Upstream BinTestOperator constant TsDevIno. Its numeric value is preserved exactly.
|
|
992
|
+
*
|
|
993
|
+
* -ef
|
|
994
|
+
*
|
|
995
|
+
* @public
|
|
996
|
+
*/
|
|
997
|
+
export declare const TsDevIno: 132;
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* Upstream UnTestOperator constant TsDirect. Its numeric value is preserved exactly.
|
|
1001
|
+
*
|
|
1002
|
+
* -d
|
|
1003
|
+
*
|
|
1004
|
+
* @public
|
|
1005
|
+
*/
|
|
1006
|
+
export declare const TsDirect: 107;
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* Upstream UnTestOperator constant TsEmpStr. Its numeric value is preserved exactly.
|
|
1010
|
+
*
|
|
1011
|
+
* -z
|
|
1012
|
+
*
|
|
1013
|
+
* @public
|
|
1014
|
+
*/
|
|
1015
|
+
export declare const TsEmpStr: 124;
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* Upstream BinTestOperator constant TsEql. Its numeric value is preserved exactly.
|
|
1019
|
+
*
|
|
1020
|
+
* -eq
|
|
1021
|
+
*
|
|
1022
|
+
* @public
|
|
1023
|
+
*/
|
|
1024
|
+
export declare const TsEql: 133;
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* Upstream UnTestOperator constant TsExec. Its numeric value is preserved exactly.
|
|
1028
|
+
*
|
|
1029
|
+
* -x
|
|
1030
|
+
*
|
|
1031
|
+
* @public
|
|
1032
|
+
*/
|
|
1033
|
+
export declare const TsExec: 121;
|
|
1034
|
+
|
|
1035
|
+
/**
|
|
1036
|
+
* Upstream UnTestOperator constant TsExists. Its numeric value is preserved exactly.
|
|
1037
|
+
*
|
|
1038
|
+
* -e
|
|
1039
|
+
*
|
|
1040
|
+
* @public
|
|
1041
|
+
*/
|
|
1042
|
+
export declare const TsExists: 105;
|
|
1043
|
+
|
|
1044
|
+
/**
|
|
1045
|
+
* Upstream UnTestOperator constant TsFdTerm. Its numeric value is preserved exactly.
|
|
1046
|
+
*
|
|
1047
|
+
* -t
|
|
1048
|
+
*
|
|
1049
|
+
* @public
|
|
1050
|
+
*/
|
|
1051
|
+
export declare const TsFdTerm: 123;
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* Upstream UnTestOperator constant TsGIDSet. Its numeric value is preserved exactly.
|
|
1055
|
+
*
|
|
1056
|
+
* -g
|
|
1057
|
+
*
|
|
1058
|
+
* @public
|
|
1059
|
+
*/
|
|
1060
|
+
export declare const TsGIDSet: 114;
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* Upstream BinTestOperator constant TsGeq. Its numeric value is preserved exactly.
|
|
1064
|
+
*
|
|
1065
|
+
* -ge
|
|
1066
|
+
*
|
|
1067
|
+
* @public
|
|
1068
|
+
*/
|
|
1069
|
+
export declare const TsGeq: 136;
|
|
1070
|
+
|
|
1071
|
+
/**
|
|
1072
|
+
* Upstream UnTestOperator constant TsGrpOwn. Its numeric value is preserved exactly.
|
|
1073
|
+
*
|
|
1074
|
+
* -G
|
|
1075
|
+
*
|
|
1076
|
+
* @public
|
|
1077
|
+
*/
|
|
1078
|
+
export declare const TsGrpOwn: 116;
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* Upstream BinTestOperator constant TsGtr. Its numeric value is preserved exactly.
|
|
1082
|
+
*
|
|
1083
|
+
* -gt
|
|
1084
|
+
*
|
|
1085
|
+
* @public
|
|
1086
|
+
*/
|
|
1087
|
+
export declare const TsGtr: 138;
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* Upstream BinTestOperator constant TsLeq. Its numeric value is preserved exactly.
|
|
1091
|
+
*
|
|
1092
|
+
* -le
|
|
1093
|
+
*
|
|
1094
|
+
* @public
|
|
1095
|
+
*/
|
|
1096
|
+
export declare const TsLeq: 135;
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* Upstream BinTestOperator constant TsLss. Its numeric value is preserved exactly.
|
|
1100
|
+
*
|
|
1101
|
+
* -lt
|
|
1102
|
+
*
|
|
1103
|
+
* @public
|
|
1104
|
+
*/
|
|
1105
|
+
export declare const TsLss: 137;
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
* Upstream BinTestOperator constant TsMatch. Its numeric value is preserved exactly.
|
|
1109
|
+
*
|
|
1110
|
+
* ==
|
|
1111
|
+
*
|
|
1112
|
+
* @public
|
|
1113
|
+
*/
|
|
1114
|
+
export declare const TsMatch: 45;
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
* Upstream BinTestOperator constant TsMatchShort. Its numeric value is preserved exactly.
|
|
1118
|
+
*
|
|
1119
|
+
* =
|
|
1120
|
+
*
|
|
1121
|
+
* @public
|
|
1122
|
+
*/
|
|
1123
|
+
export declare const TsMatchShort: 87;
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* Upstream UnTestOperator constant TsModif. Its numeric value is preserved exactly.
|
|
1127
|
+
*
|
|
1128
|
+
* -N
|
|
1129
|
+
*
|
|
1130
|
+
* @public
|
|
1131
|
+
*/
|
|
1132
|
+
export declare const TsModif: 118;
|
|
1133
|
+
|
|
1134
|
+
/**
|
|
1135
|
+
* Upstream UnTestOperator constant TsNempStr. Its numeric value is preserved exactly.
|
|
1136
|
+
*
|
|
1137
|
+
* -n
|
|
1138
|
+
*
|
|
1139
|
+
* @public
|
|
1140
|
+
*/
|
|
1141
|
+
export declare const TsNempStr: 125;
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* Upstream BinTestOperator constant TsNeq. Its numeric value is preserved exactly.
|
|
1145
|
+
*
|
|
1146
|
+
* -ne
|
|
1147
|
+
*
|
|
1148
|
+
* @public
|
|
1149
|
+
*/
|
|
1150
|
+
export declare const TsNeq: 134;
|
|
1151
|
+
|
|
1152
|
+
/**
|
|
1153
|
+
* Upstream BinTestOperator constant TsNewer. Its numeric value is preserved exactly.
|
|
1154
|
+
*
|
|
1155
|
+
* -nt
|
|
1156
|
+
*
|
|
1157
|
+
* @public
|
|
1158
|
+
*/
|
|
1159
|
+
export declare const TsNewer: 130;
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* Upstream UnTestOperator constant TsNmPipe. Its numeric value is preserved exactly.
|
|
1163
|
+
*
|
|
1164
|
+
* -p
|
|
1165
|
+
*
|
|
1166
|
+
* @public
|
|
1167
|
+
*/
|
|
1168
|
+
export declare const TsNmPipe: 110;
|
|
1169
|
+
|
|
1170
|
+
/**
|
|
1171
|
+
* Upstream UnTestOperator constant TsNoEmpty. Its numeric value is preserved exactly.
|
|
1172
|
+
*
|
|
1173
|
+
* -s
|
|
1174
|
+
*
|
|
1175
|
+
* @public
|
|
1176
|
+
*/
|
|
1177
|
+
export declare const TsNoEmpty: 122;
|
|
1178
|
+
|
|
1179
|
+
/**
|
|
1180
|
+
* Upstream BinTestOperator constant TsNoMatch. Its numeric value is preserved exactly.
|
|
1181
|
+
*
|
|
1182
|
+
* !=
|
|
1183
|
+
*
|
|
1184
|
+
* @public
|
|
1185
|
+
*/
|
|
1186
|
+
export declare const TsNoMatch: 46;
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* Upstream UnTestOperator constant TsNot. Its numeric value is preserved exactly.
|
|
1190
|
+
*
|
|
1191
|
+
* !
|
|
1192
|
+
*
|
|
1193
|
+
* @public
|
|
1194
|
+
*/
|
|
1195
|
+
export declare const TsNot: 39;
|
|
1196
|
+
|
|
1197
|
+
/**
|
|
1198
|
+
* Upstream BinTestOperator constant TsOlder. Its numeric value is preserved exactly.
|
|
1199
|
+
*
|
|
1200
|
+
* -ot
|
|
1201
|
+
*
|
|
1202
|
+
* @public
|
|
1203
|
+
*/
|
|
1204
|
+
export declare const TsOlder: 131;
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* Upstream UnTestOperator constant TsOptSet. Its numeric value is preserved exactly.
|
|
1208
|
+
*
|
|
1209
|
+
* -o
|
|
1210
|
+
*
|
|
1211
|
+
* @public
|
|
1212
|
+
*/
|
|
1213
|
+
export declare const TsOptSet: 126;
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* Upstream UnTestOperator constant TsParen. Its numeric value is preserved exactly.
|
|
1217
|
+
*
|
|
1218
|
+
* (
|
|
1219
|
+
*
|
|
1220
|
+
* @public
|
|
1221
|
+
*/
|
|
1222
|
+
export declare const TsParen: 27;
|
|
1223
|
+
|
|
1224
|
+
/**
|
|
1225
|
+
* Upstream BinTestOperator constant TsReMatch. Its numeric value is preserved exactly.
|
|
1226
|
+
*
|
|
1227
|
+
* =~
|
|
1228
|
+
*
|
|
1229
|
+
* @public
|
|
1230
|
+
*/
|
|
1231
|
+
export declare const TsReMatch: 129;
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* Upstream UnTestOperator constant TsRead. Its numeric value is preserved exactly.
|
|
1235
|
+
*
|
|
1236
|
+
* -r
|
|
1237
|
+
*
|
|
1238
|
+
* @public
|
|
1239
|
+
*/
|
|
1240
|
+
export declare const TsRead: 119;
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* Upstream UnTestOperator constant TsRefVar. Its numeric value is preserved exactly.
|
|
1244
|
+
*
|
|
1245
|
+
* -R
|
|
1246
|
+
*
|
|
1247
|
+
* @public
|
|
1248
|
+
*/
|
|
1249
|
+
export declare const TsRefVar: 128;
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* Upstream UnTestOperator constant TsRegFile. Its numeric value is preserved exactly.
|
|
1253
|
+
*
|
|
1254
|
+
* -f
|
|
1255
|
+
*
|
|
1256
|
+
* @public
|
|
1257
|
+
*/
|
|
1258
|
+
export declare const TsRegFile: 106;
|
|
1259
|
+
|
|
1260
|
+
/**
|
|
1261
|
+
* Upstream UnTestOperator constant TsSmbLink. Its numeric value is preserved exactly.
|
|
1262
|
+
*
|
|
1263
|
+
* -L
|
|
1264
|
+
*
|
|
1265
|
+
* @public
|
|
1266
|
+
*/
|
|
1267
|
+
export declare const TsSmbLink: 112;
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* Upstream UnTestOperator constant TsSocket. Its numeric value is preserved exactly.
|
|
1271
|
+
*
|
|
1272
|
+
* -S
|
|
1273
|
+
*
|
|
1274
|
+
* @public
|
|
1275
|
+
*/
|
|
1276
|
+
export declare const TsSocket: 111;
|
|
1277
|
+
|
|
1278
|
+
/**
|
|
1279
|
+
* Upstream UnTestOperator constant TsSticky. Its numeric value is preserved exactly.
|
|
1280
|
+
*
|
|
1281
|
+
* -k
|
|
1282
|
+
*
|
|
1283
|
+
* @public
|
|
1284
|
+
*/
|
|
1285
|
+
export declare const TsSticky: 113;
|
|
1286
|
+
|
|
1287
|
+
/**
|
|
1288
|
+
* Upstream UnTestOperator constant TsUIDSet. Its numeric value is preserved exactly.
|
|
1289
|
+
*
|
|
1290
|
+
* -u
|
|
1291
|
+
*
|
|
1292
|
+
* @public
|
|
1293
|
+
*/
|
|
1294
|
+
export declare const TsUIDSet: 115;
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
* Upstream UnTestOperator constant TsUsrOwn. Its numeric value is preserved exactly.
|
|
1298
|
+
*
|
|
1299
|
+
* -O
|
|
1300
|
+
*
|
|
1301
|
+
* @public
|
|
1302
|
+
*/
|
|
1303
|
+
export declare const TsUsrOwn: 117;
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
* Upstream UnTestOperator constant TsVarSet. Its numeric value is preserved exactly.
|
|
1307
|
+
*
|
|
1308
|
+
* -v
|
|
1309
|
+
*
|
|
1310
|
+
* @public
|
|
1311
|
+
*/
|
|
1312
|
+
export declare const TsVarSet: 127;
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* Upstream UnTestOperator constant TsWrite. Its numeric value is preserved exactly.
|
|
1316
|
+
*
|
|
1317
|
+
* -w
|
|
1318
|
+
*
|
|
1319
|
+
* @public
|
|
1320
|
+
*/
|
|
1321
|
+
export declare const TsWrite: 120;
|
|
1322
|
+
|
|
1323
|
+
/**
|
|
1324
|
+
* Upstream ParExpOperator constant UpperAll. Its numeric value is preserved exactly.
|
|
1325
|
+
*
|
|
1326
|
+
* ^^
|
|
1327
|
+
*
|
|
1328
|
+
* @public
|
|
1329
|
+
*/
|
|
1330
|
+
export declare const UpperAll: 97;
|
|
1331
|
+
|
|
1332
|
+
/**
|
|
1333
|
+
* Upstream ParExpOperator constant UpperFirst. Its numeric value is preserved exactly.
|
|
1334
|
+
*
|
|
1335
|
+
* ^
|
|
1336
|
+
*
|
|
1337
|
+
* @public
|
|
1338
|
+
*/
|
|
1339
|
+
export declare const UpperFirst: 96;
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* Upstream RedirOperator constant WordHdoc. Its numeric value is preserved exactly.
|
|
1343
|
+
*
|
|
1344
|
+
* \<\<\<
|
|
1345
|
+
*
|
|
1346
|
+
* @public
|
|
1347
|
+
*/
|
|
1348
|
+
export declare const WordHdoc: 73;
|
|
1349
|
+
|
|
1350
|
+
/**
|
|
1351
|
+
* Upstream BinAritOperator constant Xor. Its numeric value is preserved exactly.
|
|
1352
|
+
*
|
|
1353
|
+
* ^
|
|
1354
|
+
*
|
|
1355
|
+
* @public
|
|
1356
|
+
*/
|
|
1357
|
+
export declare const Xor: 96;
|
|
1358
|
+
|
|
1359
|
+
/**
|
|
1360
|
+
* Upstream BinAritOperator constant XorAssgn. Its numeric value is preserved exactly.
|
|
1361
|
+
*
|
|
1362
|
+
* ^=
|
|
1363
|
+
*
|
|
1364
|
+
* @public
|
|
1365
|
+
*/
|
|
1366
|
+
export declare const XorAssgn: 56;
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
* Upstream BinAritOperator constant XorBool. Its numeric value is preserved exactly.
|
|
1370
|
+
*
|
|
1371
|
+
* ^^
|
|
1372
|
+
*
|
|
1373
|
+
* @public
|
|
1374
|
+
*/
|
|
1375
|
+
export declare const XorBool: 97;
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
* Upstream BinAritOperator constant XorBoolAssgn. Its numeric value is preserved exactly.
|
|
1379
|
+
*
|
|
1380
|
+
* ^^=
|
|
1381
|
+
*
|
|
1382
|
+
* @public
|
|
1383
|
+
*/
|
|
1384
|
+
export declare const XorBoolAssgn: 61;
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* The upstream uint32 operator families. A family name identifies the Go named type, not the spelling of one token.
|
|
1388
|
+
*
|
|
1389
|
+
* @public
|
|
1390
|
+
*/
|
|
1391
|
+
export type OperatorFamily =
|
|
1392
|
+
| 'BinAritOperator'
|
|
1393
|
+
| 'BinCmdOperator'
|
|
1394
|
+
| 'BinTestOperator'
|
|
1395
|
+
| 'CaseOperator'
|
|
1396
|
+
| 'GlobOperator'
|
|
1397
|
+
| 'ParExpOperator'
|
|
1398
|
+
| 'ParNamesOperator'
|
|
1399
|
+
| 'ProcOperator'
|
|
1400
|
+
| 'RedirOperator'
|
|
1401
|
+
| 'UnAritOperator'
|
|
1402
|
+
| 'UnTestOperator';
|
|
1403
|
+
|
|
1404
|
+
/**
|
|
1405
|
+
* An explicitly represented unnamed uint32 value in one upstream operator family. The runtime constructor checks integer range; this type does not claim that every value is meaningful to every parser or printer operation. The structural family marker remains interoperable across package entry points while preventing accidental cross-family assignment.
|
|
1406
|
+
*
|
|
1407
|
+
* @public
|
|
1408
|
+
*/
|
|
1409
|
+
export type RawOperator<Family extends OperatorFamily> = number & {
|
|
1410
|
+
readonly __shAstOperatorFamily: Family;
|
|
1411
|
+
};
|
|
1412
|
+
|
|
1413
|
+
/**
|
|
1414
|
+
* The upstream BinAritOperator domain: exact named tokens, the Go zero value, and explicitly validated unnamed uint32 values. Constants shared by upstream families retain their shared numeric identity.
|
|
1415
|
+
*
|
|
1416
|
+
* @public
|
|
1417
|
+
*/
|
|
1418
|
+
export type BinAritOperator =
|
|
1419
|
+
| 0
|
|
1420
|
+
| typeof Add
|
|
1421
|
+
| typeof AddAssgn
|
|
1422
|
+
| typeof And
|
|
1423
|
+
| typeof AndArit
|
|
1424
|
+
| typeof AndAssgn
|
|
1425
|
+
| typeof AndBoolAssgn
|
|
1426
|
+
| typeof Assgn
|
|
1427
|
+
| typeof Comma
|
|
1428
|
+
| typeof Eql
|
|
1429
|
+
| typeof Geq
|
|
1430
|
+
| typeof Gtr
|
|
1431
|
+
| typeof Leq
|
|
1432
|
+
| typeof Lss
|
|
1433
|
+
| typeof Mul
|
|
1434
|
+
| typeof MulAssgn
|
|
1435
|
+
| typeof Neq
|
|
1436
|
+
| typeof Or
|
|
1437
|
+
| typeof OrArit
|
|
1438
|
+
| typeof OrAssgn
|
|
1439
|
+
| typeof OrBoolAssgn
|
|
1440
|
+
| typeof Pow
|
|
1441
|
+
| typeof PowAssgn
|
|
1442
|
+
| typeof Quo
|
|
1443
|
+
| typeof QuoAssgn
|
|
1444
|
+
| typeof Rem
|
|
1445
|
+
| typeof RemAssgn
|
|
1446
|
+
| typeof Shl
|
|
1447
|
+
| typeof ShlAssgn
|
|
1448
|
+
| typeof Shr
|
|
1449
|
+
| typeof ShrAssgn
|
|
1450
|
+
| typeof Sub
|
|
1451
|
+
| typeof SubAssgn
|
|
1452
|
+
| typeof TernColon
|
|
1453
|
+
| typeof TernQuest
|
|
1454
|
+
| typeof Xor
|
|
1455
|
+
| typeof XorAssgn
|
|
1456
|
+
| typeof XorBool
|
|
1457
|
+
| typeof XorBoolAssgn
|
|
1458
|
+
| RawOperator<'BinAritOperator'>;
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* The upstream BinCmdOperator domain: exact named tokens, the Go zero value, and explicitly validated unnamed uint32 values. Constants shared by upstream families retain their shared numeric identity.
|
|
1462
|
+
*
|
|
1463
|
+
* @public
|
|
1464
|
+
*/
|
|
1465
|
+
export type BinCmdOperator =
|
|
1466
|
+
0 | typeof AndStmt | typeof OrStmt | typeof Pipe | typeof PipeAll | RawOperator<'BinCmdOperator'>;
|
|
1467
|
+
|
|
1468
|
+
/**
|
|
1469
|
+
* The upstream BinTestOperator domain: exact named tokens, the Go zero value, and explicitly validated unnamed uint32 values. Constants shared by upstream families retain their shared numeric identity.
|
|
1470
|
+
*
|
|
1471
|
+
* @public
|
|
1472
|
+
*/
|
|
1473
|
+
export type BinTestOperator =
|
|
1474
|
+
| 0
|
|
1475
|
+
| typeof AndTest
|
|
1476
|
+
| typeof OrTest
|
|
1477
|
+
| typeof TsAfter
|
|
1478
|
+
| typeof TsBefore
|
|
1479
|
+
| typeof TsDevIno
|
|
1480
|
+
| typeof TsEql
|
|
1481
|
+
| typeof TsGeq
|
|
1482
|
+
| typeof TsGtr
|
|
1483
|
+
| typeof TsLeq
|
|
1484
|
+
| typeof TsLss
|
|
1485
|
+
| typeof TsMatch
|
|
1486
|
+
| typeof TsMatchShort
|
|
1487
|
+
| typeof TsNeq
|
|
1488
|
+
| typeof TsNewer
|
|
1489
|
+
| typeof TsNoMatch
|
|
1490
|
+
| typeof TsOlder
|
|
1491
|
+
| typeof TsReMatch
|
|
1492
|
+
| RawOperator<'BinTestOperator'>;
|
|
1493
|
+
|
|
1494
|
+
/**
|
|
1495
|
+
* The upstream CaseOperator domain: exact named tokens, the Go zero value, and explicitly validated unnamed uint32 values. Constants shared by upstream families retain their shared numeric identity.
|
|
1496
|
+
*
|
|
1497
|
+
* @public
|
|
1498
|
+
*/
|
|
1499
|
+
export type CaseOperator =
|
|
1500
|
+
| 0
|
|
1501
|
+
| typeof Break
|
|
1502
|
+
| typeof Fallthrough
|
|
1503
|
+
| typeof Resume
|
|
1504
|
+
| typeof ResumeKorn
|
|
1505
|
+
| RawOperator<'CaseOperator'>;
|
|
1506
|
+
|
|
1507
|
+
/**
|
|
1508
|
+
* The upstream GlobOperator domain: exact named tokens, the Go zero value, and explicitly validated unnamed uint32 values. Constants shared by upstream families retain their shared numeric identity.
|
|
1509
|
+
*
|
|
1510
|
+
* @public
|
|
1511
|
+
*/
|
|
1512
|
+
export type GlobOperator =
|
|
1513
|
+
| 0
|
|
1514
|
+
| typeof GlobExcept
|
|
1515
|
+
| typeof GlobOne
|
|
1516
|
+
| typeof GlobOneOrMore
|
|
1517
|
+
| typeof GlobZeroOrMore
|
|
1518
|
+
| typeof GlobZeroOrOne
|
|
1519
|
+
| RawOperator<'GlobOperator'>;
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* The upstream ParExpOperator domain: exact named tokens, the Go zero value, and explicitly validated unnamed uint32 values. Constants shared by upstream families retain their shared numeric identity.
|
|
1523
|
+
*
|
|
1524
|
+
* @public
|
|
1525
|
+
*/
|
|
1526
|
+
export type ParExpOperator =
|
|
1527
|
+
| 0
|
|
1528
|
+
| typeof AlternateUnset
|
|
1529
|
+
| typeof AlternateUnsetOrNull
|
|
1530
|
+
| typeof ArrayExclude
|
|
1531
|
+
| typeof ArrayIntersect
|
|
1532
|
+
| typeof AssignUnset
|
|
1533
|
+
| typeof AssignUnsetOrNull
|
|
1534
|
+
| typeof DefaultUnset
|
|
1535
|
+
| typeof DefaultUnsetOrNull
|
|
1536
|
+
| typeof ErrorUnset
|
|
1537
|
+
| typeof ErrorUnsetOrNull
|
|
1538
|
+
| typeof LowerAll
|
|
1539
|
+
| typeof LowerFirst
|
|
1540
|
+
| typeof MatchEmpty
|
|
1541
|
+
| typeof OtherParamOps
|
|
1542
|
+
| typeof RemLargePrefix
|
|
1543
|
+
| typeof RemLargeSuffix
|
|
1544
|
+
| typeof RemSmallPrefix
|
|
1545
|
+
| typeof RemSmallSuffix
|
|
1546
|
+
| typeof UpperAll
|
|
1547
|
+
| typeof UpperFirst
|
|
1548
|
+
| RawOperator<'ParExpOperator'>;
|
|
1549
|
+
|
|
1550
|
+
/**
|
|
1551
|
+
* The upstream ParNamesOperator domain: exact named tokens, the Go zero value, and explicitly validated unnamed uint32 values. Constants shared by upstream families retain their shared numeric identity.
|
|
1552
|
+
*
|
|
1553
|
+
* @public
|
|
1554
|
+
*/
|
|
1555
|
+
export type ParNamesOperator =
|
|
1556
|
+
0 | typeof NamesPrefix | typeof NamesPrefixWords | RawOperator<'ParNamesOperator'>;
|
|
1557
|
+
|
|
1558
|
+
/**
|
|
1559
|
+
* The upstream ProcOperator domain: exact named tokens, the Go zero value, and explicitly validated unnamed uint32 values. Constants shared by upstream families retain their shared numeric identity.
|
|
1560
|
+
*
|
|
1561
|
+
* @public
|
|
1562
|
+
*/
|
|
1563
|
+
export type ProcOperator =
|
|
1564
|
+
0 | typeof CmdIn | typeof CmdInTemp | typeof CmdOut | RawOperator<'ProcOperator'>;
|
|
1565
|
+
|
|
1566
|
+
/**
|
|
1567
|
+
* The upstream RedirOperator domain: exact named tokens, the Go zero value, and explicitly validated unnamed uint32 values. Constants shared by upstream families retain their shared numeric identity.
|
|
1568
|
+
*
|
|
1569
|
+
* @public
|
|
1570
|
+
*/
|
|
1571
|
+
export type RedirOperator =
|
|
1572
|
+
| 0
|
|
1573
|
+
| typeof AppAll
|
|
1574
|
+
| typeof AppAllClob
|
|
1575
|
+
| typeof AppClob
|
|
1576
|
+
| typeof AppOut
|
|
1577
|
+
| typeof DashHdoc
|
|
1578
|
+
| typeof DplIn
|
|
1579
|
+
| typeof DplOut
|
|
1580
|
+
| typeof Hdoc
|
|
1581
|
+
| typeof RdrAll
|
|
1582
|
+
| typeof RdrAllClob
|
|
1583
|
+
| typeof RdrClob
|
|
1584
|
+
| typeof RdrIn
|
|
1585
|
+
| typeof RdrInOut
|
|
1586
|
+
| typeof RdrOut
|
|
1587
|
+
| typeof WordHdoc
|
|
1588
|
+
| RawOperator<'RedirOperator'>;
|
|
1589
|
+
|
|
1590
|
+
/**
|
|
1591
|
+
* The upstream UnAritOperator domain: exact named tokens, the Go zero value, and explicitly validated unnamed uint32 values. Constants shared by upstream families retain their shared numeric identity.
|
|
1592
|
+
*
|
|
1593
|
+
* @public
|
|
1594
|
+
*/
|
|
1595
|
+
export type UnAritOperator =
|
|
1596
|
+
| 0
|
|
1597
|
+
| typeof BitNegation
|
|
1598
|
+
| typeof Dec
|
|
1599
|
+
| typeof Inc
|
|
1600
|
+
| typeof Minus
|
|
1601
|
+
| typeof Not
|
|
1602
|
+
| typeof Plus
|
|
1603
|
+
| RawOperator<'UnAritOperator'>;
|
|
1604
|
+
|
|
1605
|
+
/**
|
|
1606
|
+
* The upstream UnTestOperator domain: exact named tokens, the Go zero value, and explicitly validated unnamed uint32 values. Constants shared by upstream families retain their shared numeric identity.
|
|
1607
|
+
*
|
|
1608
|
+
* @public
|
|
1609
|
+
*/
|
|
1610
|
+
export type UnTestOperator =
|
|
1611
|
+
| 0
|
|
1612
|
+
| typeof TsBlckSp
|
|
1613
|
+
| typeof TsCharSp
|
|
1614
|
+
| typeof TsDirect
|
|
1615
|
+
| typeof TsEmpStr
|
|
1616
|
+
| typeof TsExec
|
|
1617
|
+
| typeof TsExists
|
|
1618
|
+
| typeof TsFdTerm
|
|
1619
|
+
| typeof TsGIDSet
|
|
1620
|
+
| typeof TsGrpOwn
|
|
1621
|
+
| typeof TsModif
|
|
1622
|
+
| typeof TsNempStr
|
|
1623
|
+
| typeof TsNmPipe
|
|
1624
|
+
| typeof TsNoEmpty
|
|
1625
|
+
| typeof TsNot
|
|
1626
|
+
| typeof TsOptSet
|
|
1627
|
+
| typeof TsParen
|
|
1628
|
+
| typeof TsRead
|
|
1629
|
+
| typeof TsRefVar
|
|
1630
|
+
| typeof TsRegFile
|
|
1631
|
+
| typeof TsSmbLink
|
|
1632
|
+
| typeof TsSocket
|
|
1633
|
+
| typeof TsSticky
|
|
1634
|
+
| typeof TsUIDSet
|
|
1635
|
+
| typeof TsUsrOwn
|
|
1636
|
+
| typeof TsVarSet
|
|
1637
|
+
| typeof TsWrite
|
|
1638
|
+
| RawOperator<'UnTestOperator'>;
|
|
1639
|
+
|
|
1640
|
+
/**
|
|
1641
|
+
* Known upstream language variant values, including legacy zero and LangAuto. Each operation retains its own constraints: the parser Variant option rejects LangAuto even though the language-value type includes it.
|
|
1642
|
+
*
|
|
1643
|
+
* @public
|
|
1644
|
+
*/
|
|
1645
|
+
export type LangVariant =
|
|
1646
|
+
| 0
|
|
1647
|
+
| typeof LangAuto
|
|
1648
|
+
| typeof LangBash
|
|
1649
|
+
| typeof LangBats
|
|
1650
|
+
| typeof LangMirBSDKorn
|
|
1651
|
+
| typeof LangPOSIX
|
|
1652
|
+
| typeof LangZsh;
|