@jetstreamapp/soql-parser-js 6.0.0 → 6.2.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.
Files changed (47) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/README.md +10 -11
  3. package/dist/cjs/index.js +143 -2
  4. package/dist/cli/index.js +148 -113
  5. package/dist/esm/index.js +143 -4
  6. package/dist/{cjs/src → types}/index.d.ts +1 -1
  7. package/package.json +15 -23
  8. package/dist/cjs/index.js.LICENSE.txt +0 -1
  9. package/dist/cjs/main.licenses.txt +0 -898
  10. package/dist/cjs/src/api/api-models.js +0 -2
  11. package/dist/cjs/src/api/public-utils.js +0 -175
  12. package/dist/cjs/src/composer/composer.js +0 -295
  13. package/dist/cjs/src/formatter/formatter.js +0 -236
  14. package/dist/cjs/src/index.js +0 -23
  15. package/dist/cjs/src/models.js +0 -2
  16. package/dist/cjs/src/parser/lexer.js +0 -954
  17. package/dist/cjs/src/parser/parser.js +0 -697
  18. package/dist/cjs/src/parser/visitor.js +0 -856
  19. package/dist/cjs/src/utils.js +0 -245
  20. package/dist/esm/api/api-models.js +0 -1
  21. package/dist/esm/api/public-utils.js +0 -153
  22. package/dist/esm/composer/composer.js +0 -273
  23. package/dist/esm/formatter/formatter.js +0 -223
  24. package/dist/esm/models.js +0 -1
  25. package/dist/esm/parser/lexer.js +0 -947
  26. package/dist/esm/parser/parser.js +0 -667
  27. package/dist/esm/parser/visitor.js +0 -823
  28. package/dist/esm/utils.js +0 -200
  29. package/dist/src/api/api-models.js +0 -2
  30. package/dist/src/api/public-utils.js +0 -203
  31. package/dist/src/composer/composer.js +0 -358
  32. package/dist/src/formatter/formatter.js +0 -263
  33. package/dist/src/index.js +0 -28
  34. package/dist/src/models.js +0 -2
  35. package/dist/src/parser/lexer.js +0 -997
  36. package/dist/src/parser/parser.js +0 -711
  37. package/dist/src/parser/visitor.js +0 -862
  38. package/dist/src/utils.js +0 -251
  39. /package/dist/{cjs/src → types}/api/api-models.d.ts +0 -0
  40. /package/dist/{cjs/src → types}/api/public-utils.d.ts +0 -0
  41. /package/dist/{cjs/src → types}/composer/composer.d.ts +0 -0
  42. /package/dist/{cjs/src → types}/formatter/formatter.d.ts +0 -0
  43. /package/dist/{cjs/src → types}/models.d.ts +0 -0
  44. /package/dist/{cjs/src → types}/parser/lexer.d.ts +0 -0
  45. /package/dist/{cjs/src → types}/parser/parser.d.ts +0 -0
  46. /package/dist/{cjs/src → types}/parser/visitor.d.ts +0 -0
  47. /package/dist/{cjs/src → types}/utils.d.ts +0 -0
@@ -1,898 +0,0 @@
1
- @chevrotain/cst-dts-gen
2
- Apache-2.0
3
-
4
- Apache License
5
- Version 2.0, January 2004
6
- http://www.apache.org/licenses/
7
-
8
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
9
-
10
- 1. Definitions.
11
-
12
- "License" shall mean the terms and conditions for use, reproduction,
13
- and distribution as defined by Sections 1 through 9 of this document.
14
-
15
- "Licensor" shall mean the copyright owner or entity authorized by
16
- the copyright owner that is granting the License.
17
-
18
- "Legal Entity" shall mean the union of the acting entity and all
19
- other entities that control, are controlled by, or are under common
20
- control with that entity. For the purposes of this definition,
21
- "control" means (i) the power, direct or indirect, to cause the
22
- direction or management of such entity, whether by contract or
23
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
24
- outstanding shares, or (iii) beneficial ownership of such entity.
25
-
26
- "You" (or "Your") shall mean an individual or Legal Entity
27
- exercising permissions granted by this License.
28
-
29
- "Source" form shall mean the preferred form for making modifications,
30
- including but not limited to software source code, documentation
31
- source, and configuration files.
32
-
33
- "Object" form shall mean any form resulting from mechanical
34
- transformation or translation of a Source form, including but
35
- not limited to compiled object code, generated documentation,
36
- and conversions to other media types.
37
-
38
- "Work" shall mean the work of authorship, whether in Source or
39
- Object form, made available under the License, as indicated by a
40
- copyright notice that is included in or attached to the work
41
- (an example is provided in the Appendix below).
42
-
43
- "Derivative Works" shall mean any work, whether in Source or Object
44
- form, that is based on (or derived from) the Work and for which the
45
- editorial revisions, annotations, elaborations, or other modifications
46
- represent, as a whole, an original work of authorship. For the purposes
47
- of this License, Derivative Works shall not include works that remain
48
- separable from, or merely link (or bind by name) to the interfaces of,
49
- the Work and Derivative Works thereof.
50
-
51
- "Contribution" shall mean any work of authorship, including
52
- the original version of the Work and any modifications or additions
53
- to that Work or Derivative Works thereof, that is intentionally
54
- submitted to Licensor for inclusion in the Work by the copyright owner
55
- or by an individual or Legal Entity authorized to submit on behalf of
56
- the copyright owner. For the purposes of this definition, "submitted"
57
- means any form of electronic, verbal, or written communication sent
58
- to the Licensor or its representatives, including but not limited to
59
- communication on electronic mailing lists, source code control systems,
60
- and issue tracking systems that are managed by, or on behalf of, the
61
- Licensor for the purpose of discussing and improving the Work, but
62
- excluding communication that is conspicuously marked or otherwise
63
- designated in writing by the copyright owner as "Not a Contribution."
64
-
65
- "Contributor" shall mean Licensor and any individual or Legal Entity
66
- on behalf of whom a Contribution has been received by Licensor and
67
- subsequently incorporated within the Work.
68
-
69
- 2. Grant of Copyright License. Subject to the terms and conditions of
70
- this License, each Contributor hereby grants to You a perpetual,
71
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
72
- copyright license to reproduce, prepare Derivative Works of,
73
- publicly display, publicly perform, sublicense, and distribute the
74
- Work and such Derivative Works in Source or Object form.
75
-
76
- 3. Grant of Patent License. Subject to the terms and conditions of
77
- this License, each Contributor hereby grants to You a perpetual,
78
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
79
- (except as stated in this section) patent license to make, have made,
80
- use, offer to sell, sell, import, and otherwise transfer the Work,
81
- where such license applies only to those patent claims licensable
82
- by such Contributor that are necessarily infringed by their
83
- Contribution(s) alone or by combination of their Contribution(s)
84
- with the Work to which such Contribution(s) was submitted. If You
85
- institute patent litigation against any entity (including a
86
- cross-claim or counterclaim in a lawsuit) alleging that the Work
87
- or a Contribution incorporated within the Work constitutes direct
88
- or contributory patent infringement, then any patent licenses
89
- granted to You under this License for that Work shall terminate
90
- as of the date such litigation is filed.
91
-
92
- 4. Redistribution. You may reproduce and distribute copies of the
93
- Work or Derivative Works thereof in any medium, with or without
94
- modifications, and in Source or Object form, provided that You
95
- meet the following conditions:
96
-
97
- (a) You must give any other recipients of the Work or
98
- Derivative Works a copy of this License; and
99
-
100
- (b) You must cause any modified files to carry prominent notices
101
- stating that You changed the files; and
102
-
103
- (c) You must retain, in the Source form of any Derivative Works
104
- that You distribute, all copyright, patent, trademark, and
105
- attribution notices from the Source form of the Work,
106
- excluding those notices that do not pertain to any part of
107
- the Derivative Works; and
108
-
109
- (d) If the Work includes a "NOTICE" text file as part of its
110
- distribution, then any Derivative Works that You distribute must
111
- include a readable copy of the attribution notices contained
112
- within such NOTICE file, excluding those notices that do not
113
- pertain to any part of the Derivative Works, in at least one
114
- of the following places: within a NOTICE text file distributed
115
- as part of the Derivative Works; within the Source form or
116
- documentation, if provided along with the Derivative Works; or,
117
- within a display generated by the Derivative Works, if and
118
- wherever such third-party notices normally appear. The contents
119
- of the NOTICE file are for informational purposes only and
120
- do not modify the License. You may add Your own attribution
121
- notices within Derivative Works that You distribute, alongside
122
- or as an addendum to the NOTICE text from the Work, provided
123
- that such additional attribution notices cannot be construed
124
- as modifying the License.
125
-
126
- You may add Your own copyright statement to Your modifications and
127
- may provide additional or different license terms and conditions
128
- for use, reproduction, or distribution of Your modifications, or
129
- for any such Derivative Works as a whole, provided Your use,
130
- reproduction, and distribution of the Work otherwise complies with
131
- the conditions stated in this License.
132
-
133
- 5. Submission of Contributions. Unless You explicitly state otherwise,
134
- any Contribution intentionally submitted for inclusion in the Work
135
- by You to the Licensor shall be under the terms and conditions of
136
- this License, without any additional terms or conditions.
137
- Notwithstanding the above, nothing herein shall supersede or modify
138
- the terms of any separate license agreement you may have executed
139
- with Licensor regarding such Contributions.
140
-
141
- 6. Trademarks. This License does not grant permission to use the trade
142
- names, trademarks, service marks, or product names of the Licensor,
143
- except as required for reasonable and customary use in describing the
144
- origin of the Work and reproducing the content of the NOTICE file.
145
-
146
- 7. Disclaimer of Warranty. Unless required by applicable law or
147
- agreed to in writing, Licensor provides the Work (and each
148
- Contributor provides its Contributions) on an "AS IS" BASIS,
149
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
150
- implied, including, without limitation, any warranties or conditions
151
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
152
- PARTICULAR PURPOSE. You are solely responsible for determining the
153
- appropriateness of using or redistributing the Work and assume any
154
- risks associated with Your exercise of permissions under this License.
155
-
156
- 8. Limitation of Liability. In no event and under no legal theory,
157
- whether in tort (including negligence), contract, or otherwise,
158
- unless required by applicable law (such as deliberate and grossly
159
- negligent acts) or agreed to in writing, shall any Contributor be
160
- liable to You for damages, including any direct, indirect, special,
161
- incidental, or consequential damages of any character arising as a
162
- result of this License or out of the use or inability to use the
163
- Work (including but not limited to damages for loss of goodwill,
164
- work stoppage, computer failure or malfunction, or any and all
165
- other commercial damages or losses), even if such Contributor
166
- has been advised of the possibility of such damages.
167
-
168
- 9. Accepting Warranty or Additional Liability. While redistributing
169
- the Work or Derivative Works thereof, You may choose to offer,
170
- and charge a fee for, acceptance of support, warranty, indemnity,
171
- or other liability obligations and/or rights consistent with this
172
- License. However, in accepting such obligations, You may act only
173
- on Your own behalf and on Your sole responsibility, not on behalf
174
- of any other Contributor, and only if You agree to indemnify,
175
- defend, and hold each Contributor harmless for any liability
176
- incurred by, or claims asserted against, such Contributor by reason
177
- of your accepting any such warranty or additional liability.
178
-
179
- END OF TERMS AND CONDITIONS
180
-
181
- APPENDIX: How to apply the Apache License to your work.
182
-
183
- To apply the Apache License to your work, attach the following
184
- boilerplate notice, with the fields enclosed by brackets "[]"
185
- replaced with your own identifying information. (Don't include
186
- the brackets!) The text should be enclosed in the appropriate
187
- comment syntax for the file format. We also recommend that a
188
- file or class name and description of purpose be included on the
189
- same "printed page" as the copyright notice for easier
190
- identification within third-party archives.
191
-
192
- Copyright [yyyy] [name of copyright owner]
193
-
194
- Licensed under the Apache License, Version 2.0 (the "License");
195
- you may not use this file except in compliance with the License.
196
- You may obtain a copy of the License at
197
-
198
- http://www.apache.org/licenses/LICENSE-2.0
199
-
200
- Unless required by applicable law or agreed to in writing, software
201
- distributed under the License is distributed on an "AS IS" BASIS,
202
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
203
- See the License for the specific language governing permissions and
204
- limitations under the License.
205
-
206
-
207
- @chevrotain/gast
208
- Apache-2.0
209
-
210
- Apache License
211
- Version 2.0, January 2004
212
- http://www.apache.org/licenses/
213
-
214
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
215
-
216
- 1. Definitions.
217
-
218
- "License" shall mean the terms and conditions for use, reproduction,
219
- and distribution as defined by Sections 1 through 9 of this document.
220
-
221
- "Licensor" shall mean the copyright owner or entity authorized by
222
- the copyright owner that is granting the License.
223
-
224
- "Legal Entity" shall mean the union of the acting entity and all
225
- other entities that control, are controlled by, or are under common
226
- control with that entity. For the purposes of this definition,
227
- "control" means (i) the power, direct or indirect, to cause the
228
- direction or management of such entity, whether by contract or
229
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
230
- outstanding shares, or (iii) beneficial ownership of such entity.
231
-
232
- "You" (or "Your") shall mean an individual or Legal Entity
233
- exercising permissions granted by this License.
234
-
235
- "Source" form shall mean the preferred form for making modifications,
236
- including but not limited to software source code, documentation
237
- source, and configuration files.
238
-
239
- "Object" form shall mean any form resulting from mechanical
240
- transformation or translation of a Source form, including but
241
- not limited to compiled object code, generated documentation,
242
- and conversions to other media types.
243
-
244
- "Work" shall mean the work of authorship, whether in Source or
245
- Object form, made available under the License, as indicated by a
246
- copyright notice that is included in or attached to the work
247
- (an example is provided in the Appendix below).
248
-
249
- "Derivative Works" shall mean any work, whether in Source or Object
250
- form, that is based on (or derived from) the Work and for which the
251
- editorial revisions, annotations, elaborations, or other modifications
252
- represent, as a whole, an original work of authorship. For the purposes
253
- of this License, Derivative Works shall not include works that remain
254
- separable from, or merely link (or bind by name) to the interfaces of,
255
- the Work and Derivative Works thereof.
256
-
257
- "Contribution" shall mean any work of authorship, including
258
- the original version of the Work and any modifications or additions
259
- to that Work or Derivative Works thereof, that is intentionally
260
- submitted to Licensor for inclusion in the Work by the copyright owner
261
- or by an individual or Legal Entity authorized to submit on behalf of
262
- the copyright owner. For the purposes of this definition, "submitted"
263
- means any form of electronic, verbal, or written communication sent
264
- to the Licensor or its representatives, including but not limited to
265
- communication on electronic mailing lists, source code control systems,
266
- and issue tracking systems that are managed by, or on behalf of, the
267
- Licensor for the purpose of discussing and improving the Work, but
268
- excluding communication that is conspicuously marked or otherwise
269
- designated in writing by the copyright owner as "Not a Contribution."
270
-
271
- "Contributor" shall mean Licensor and any individual or Legal Entity
272
- on behalf of whom a Contribution has been received by Licensor and
273
- subsequently incorporated within the Work.
274
-
275
- 2. Grant of Copyright License. Subject to the terms and conditions of
276
- this License, each Contributor hereby grants to You a perpetual,
277
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
278
- copyright license to reproduce, prepare Derivative Works of,
279
- publicly display, publicly perform, sublicense, and distribute the
280
- Work and such Derivative Works in Source or Object form.
281
-
282
- 3. Grant of Patent License. Subject to the terms and conditions of
283
- this License, each Contributor hereby grants to You a perpetual,
284
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
285
- (except as stated in this section) patent license to make, have made,
286
- use, offer to sell, sell, import, and otherwise transfer the Work,
287
- where such license applies only to those patent claims licensable
288
- by such Contributor that are necessarily infringed by their
289
- Contribution(s) alone or by combination of their Contribution(s)
290
- with the Work to which such Contribution(s) was submitted. If You
291
- institute patent litigation against any entity (including a
292
- cross-claim or counterclaim in a lawsuit) alleging that the Work
293
- or a Contribution incorporated within the Work constitutes direct
294
- or contributory patent infringement, then any patent licenses
295
- granted to You under this License for that Work shall terminate
296
- as of the date such litigation is filed.
297
-
298
- 4. Redistribution. You may reproduce and distribute copies of the
299
- Work or Derivative Works thereof in any medium, with or without
300
- modifications, and in Source or Object form, provided that You
301
- meet the following conditions:
302
-
303
- (a) You must give any other recipients of the Work or
304
- Derivative Works a copy of this License; and
305
-
306
- (b) You must cause any modified files to carry prominent notices
307
- stating that You changed the files; and
308
-
309
- (c) You must retain, in the Source form of any Derivative Works
310
- that You distribute, all copyright, patent, trademark, and
311
- attribution notices from the Source form of the Work,
312
- excluding those notices that do not pertain to any part of
313
- the Derivative Works; and
314
-
315
- (d) If the Work includes a "NOTICE" text file as part of its
316
- distribution, then any Derivative Works that You distribute must
317
- include a readable copy of the attribution notices contained
318
- within such NOTICE file, excluding those notices that do not
319
- pertain to any part of the Derivative Works, in at least one
320
- of the following places: within a NOTICE text file distributed
321
- as part of the Derivative Works; within the Source form or
322
- documentation, if provided along with the Derivative Works; or,
323
- within a display generated by the Derivative Works, if and
324
- wherever such third-party notices normally appear. The contents
325
- of the NOTICE file are for informational purposes only and
326
- do not modify the License. You may add Your own attribution
327
- notices within Derivative Works that You distribute, alongside
328
- or as an addendum to the NOTICE text from the Work, provided
329
- that such additional attribution notices cannot be construed
330
- as modifying the License.
331
-
332
- You may add Your own copyright statement to Your modifications and
333
- may provide additional or different license terms and conditions
334
- for use, reproduction, or distribution of Your modifications, or
335
- for any such Derivative Works as a whole, provided Your use,
336
- reproduction, and distribution of the Work otherwise complies with
337
- the conditions stated in this License.
338
-
339
- 5. Submission of Contributions. Unless You explicitly state otherwise,
340
- any Contribution intentionally submitted for inclusion in the Work
341
- by You to the Licensor shall be under the terms and conditions of
342
- this License, without any additional terms or conditions.
343
- Notwithstanding the above, nothing herein shall supersede or modify
344
- the terms of any separate license agreement you may have executed
345
- with Licensor regarding such Contributions.
346
-
347
- 6. Trademarks. This License does not grant permission to use the trade
348
- names, trademarks, service marks, or product names of the Licensor,
349
- except as required for reasonable and customary use in describing the
350
- origin of the Work and reproducing the content of the NOTICE file.
351
-
352
- 7. Disclaimer of Warranty. Unless required by applicable law or
353
- agreed to in writing, Licensor provides the Work (and each
354
- Contributor provides its Contributions) on an "AS IS" BASIS,
355
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
356
- implied, including, without limitation, any warranties or conditions
357
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
358
- PARTICULAR PURPOSE. You are solely responsible for determining the
359
- appropriateness of using or redistributing the Work and assume any
360
- risks associated with Your exercise of permissions under this License.
361
-
362
- 8. Limitation of Liability. In no event and under no legal theory,
363
- whether in tort (including negligence), contract, or otherwise,
364
- unless required by applicable law (such as deliberate and grossly
365
- negligent acts) or agreed to in writing, shall any Contributor be
366
- liable to You for damages, including any direct, indirect, special,
367
- incidental, or consequential damages of any character arising as a
368
- result of this License or out of the use or inability to use the
369
- Work (including but not limited to damages for loss of goodwill,
370
- work stoppage, computer failure or malfunction, or any and all
371
- other commercial damages or losses), even if such Contributor
372
- has been advised of the possibility of such damages.
373
-
374
- 9. Accepting Warranty or Additional Liability. While redistributing
375
- the Work or Derivative Works thereof, You may choose to offer,
376
- and charge a fee for, acceptance of support, warranty, indemnity,
377
- or other liability obligations and/or rights consistent with this
378
- License. However, in accepting such obligations, You may act only
379
- on Your own behalf and on Your sole responsibility, not on behalf
380
- of any other Contributor, and only if You agree to indemnify,
381
- defend, and hold each Contributor harmless for any liability
382
- incurred by, or claims asserted against, such Contributor by reason
383
- of your accepting any such warranty or additional liability.
384
-
385
- END OF TERMS AND CONDITIONS
386
-
387
- APPENDIX: How to apply the Apache License to your work.
388
-
389
- To apply the Apache License to your work, attach the following
390
- boilerplate notice, with the fields enclosed by brackets "[]"
391
- replaced with your own identifying information. (Don't include
392
- the brackets!) The text should be enclosed in the appropriate
393
- comment syntax for the file format. We also recommend that a
394
- file or class name and description of purpose be included on the
395
- same "printed page" as the copyright notice for easier
396
- identification within third-party archives.
397
-
398
- Copyright [yyyy] [name of copyright owner]
399
-
400
- Licensed under the Apache License, Version 2.0 (the "License");
401
- you may not use this file except in compliance with the License.
402
- You may obtain a copy of the License at
403
-
404
- http://www.apache.org/licenses/LICENSE-2.0
405
-
406
- Unless required by applicable law or agreed to in writing, software
407
- distributed under the License is distributed on an "AS IS" BASIS,
408
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
409
- See the License for the specific language governing permissions and
410
- limitations under the License.
411
-
412
-
413
- @chevrotain/utils
414
- Apache-2.0
415
-
416
- Apache License
417
- Version 2.0, January 2004
418
- http://www.apache.org/licenses/
419
-
420
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
421
-
422
- 1. Definitions.
423
-
424
- "License" shall mean the terms and conditions for use, reproduction,
425
- and distribution as defined by Sections 1 through 9 of this document.
426
-
427
- "Licensor" shall mean the copyright owner or entity authorized by
428
- the copyright owner that is granting the License.
429
-
430
- "Legal Entity" shall mean the union of the acting entity and all
431
- other entities that control, are controlled by, or are under common
432
- control with that entity. For the purposes of this definition,
433
- "control" means (i) the power, direct or indirect, to cause the
434
- direction or management of such entity, whether by contract or
435
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
436
- outstanding shares, or (iii) beneficial ownership of such entity.
437
-
438
- "You" (or "Your") shall mean an individual or Legal Entity
439
- exercising permissions granted by this License.
440
-
441
- "Source" form shall mean the preferred form for making modifications,
442
- including but not limited to software source code, documentation
443
- source, and configuration files.
444
-
445
- "Object" form shall mean any form resulting from mechanical
446
- transformation or translation of a Source form, including but
447
- not limited to compiled object code, generated documentation,
448
- and conversions to other media types.
449
-
450
- "Work" shall mean the work of authorship, whether in Source or
451
- Object form, made available under the License, as indicated by a
452
- copyright notice that is included in or attached to the work
453
- (an example is provided in the Appendix below).
454
-
455
- "Derivative Works" shall mean any work, whether in Source or Object
456
- form, that is based on (or derived from) the Work and for which the
457
- editorial revisions, annotations, elaborations, or other modifications
458
- represent, as a whole, an original work of authorship. For the purposes
459
- of this License, Derivative Works shall not include works that remain
460
- separable from, or merely link (or bind by name) to the interfaces of,
461
- the Work and Derivative Works thereof.
462
-
463
- "Contribution" shall mean any work of authorship, including
464
- the original version of the Work and any modifications or additions
465
- to that Work or Derivative Works thereof, that is intentionally
466
- submitted to Licensor for inclusion in the Work by the copyright owner
467
- or by an individual or Legal Entity authorized to submit on behalf of
468
- the copyright owner. For the purposes of this definition, "submitted"
469
- means any form of electronic, verbal, or written communication sent
470
- to the Licensor or its representatives, including but not limited to
471
- communication on electronic mailing lists, source code control systems,
472
- and issue tracking systems that are managed by, or on behalf of, the
473
- Licensor for the purpose of discussing and improving the Work, but
474
- excluding communication that is conspicuously marked or otherwise
475
- designated in writing by the copyright owner as "Not a Contribution."
476
-
477
- "Contributor" shall mean Licensor and any individual or Legal Entity
478
- on behalf of whom a Contribution has been received by Licensor and
479
- subsequently incorporated within the Work.
480
-
481
- 2. Grant of Copyright License. Subject to the terms and conditions of
482
- this License, each Contributor hereby grants to You a perpetual,
483
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
484
- copyright license to reproduce, prepare Derivative Works of,
485
- publicly display, publicly perform, sublicense, and distribute the
486
- Work and such Derivative Works in Source or Object form.
487
-
488
- 3. Grant of Patent License. Subject to the terms and conditions of
489
- this License, each Contributor hereby grants to You a perpetual,
490
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
491
- (except as stated in this section) patent license to make, have made,
492
- use, offer to sell, sell, import, and otherwise transfer the Work,
493
- where such license applies only to those patent claims licensable
494
- by such Contributor that are necessarily infringed by their
495
- Contribution(s) alone or by combination of their Contribution(s)
496
- with the Work to which such Contribution(s) was submitted. If You
497
- institute patent litigation against any entity (including a
498
- cross-claim or counterclaim in a lawsuit) alleging that the Work
499
- or a Contribution incorporated within the Work constitutes direct
500
- or contributory patent infringement, then any patent licenses
501
- granted to You under this License for that Work shall terminate
502
- as of the date such litigation is filed.
503
-
504
- 4. Redistribution. You may reproduce and distribute copies of the
505
- Work or Derivative Works thereof in any medium, with or without
506
- modifications, and in Source or Object form, provided that You
507
- meet the following conditions:
508
-
509
- (a) You must give any other recipients of the Work or
510
- Derivative Works a copy of this License; and
511
-
512
- (b) You must cause any modified files to carry prominent notices
513
- stating that You changed the files; and
514
-
515
- (c) You must retain, in the Source form of any Derivative Works
516
- that You distribute, all copyright, patent, trademark, and
517
- attribution notices from the Source form of the Work,
518
- excluding those notices that do not pertain to any part of
519
- the Derivative Works; and
520
-
521
- (d) If the Work includes a "NOTICE" text file as part of its
522
- distribution, then any Derivative Works that You distribute must
523
- include a readable copy of the attribution notices contained
524
- within such NOTICE file, excluding those notices that do not
525
- pertain to any part of the Derivative Works, in at least one
526
- of the following places: within a NOTICE text file distributed
527
- as part of the Derivative Works; within the Source form or
528
- documentation, if provided along with the Derivative Works; or,
529
- within a display generated by the Derivative Works, if and
530
- wherever such third-party notices normally appear. The contents
531
- of the NOTICE file are for informational purposes only and
532
- do not modify the License. You may add Your own attribution
533
- notices within Derivative Works that You distribute, alongside
534
- or as an addendum to the NOTICE text from the Work, provided
535
- that such additional attribution notices cannot be construed
536
- as modifying the License.
537
-
538
- You may add Your own copyright statement to Your modifications and
539
- may provide additional or different license terms and conditions
540
- for use, reproduction, or distribution of Your modifications, or
541
- for any such Derivative Works as a whole, provided Your use,
542
- reproduction, and distribution of the Work otherwise complies with
543
- the conditions stated in this License.
544
-
545
- 5. Submission of Contributions. Unless You explicitly state otherwise,
546
- any Contribution intentionally submitted for inclusion in the Work
547
- by You to the Licensor shall be under the terms and conditions of
548
- this License, without any additional terms or conditions.
549
- Notwithstanding the above, nothing herein shall supersede or modify
550
- the terms of any separate license agreement you may have executed
551
- with Licensor regarding such Contributions.
552
-
553
- 6. Trademarks. This License does not grant permission to use the trade
554
- names, trademarks, service marks, or product names of the Licensor,
555
- except as required for reasonable and customary use in describing the
556
- origin of the Work and reproducing the content of the NOTICE file.
557
-
558
- 7. Disclaimer of Warranty. Unless required by applicable law or
559
- agreed to in writing, Licensor provides the Work (and each
560
- Contributor provides its Contributions) on an "AS IS" BASIS,
561
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
562
- implied, including, without limitation, any warranties or conditions
563
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
564
- PARTICULAR PURPOSE. You are solely responsible for determining the
565
- appropriateness of using or redistributing the Work and assume any
566
- risks associated with Your exercise of permissions under this License.
567
-
568
- 8. Limitation of Liability. In no event and under no legal theory,
569
- whether in tort (including negligence), contract, or otherwise,
570
- unless required by applicable law (such as deliberate and grossly
571
- negligent acts) or agreed to in writing, shall any Contributor be
572
- liable to You for damages, including any direct, indirect, special,
573
- incidental, or consequential damages of any character arising as a
574
- result of this License or out of the use or inability to use the
575
- Work (including but not limited to damages for loss of goodwill,
576
- work stoppage, computer failure or malfunction, or any and all
577
- other commercial damages or losses), even if such Contributor
578
- has been advised of the possibility of such damages.
579
-
580
- 9. Accepting Warranty or Additional Liability. While redistributing
581
- the Work or Derivative Works thereof, You may choose to offer,
582
- and charge a fee for, acceptance of support, warranty, indemnity,
583
- or other liability obligations and/or rights consistent with this
584
- License. However, in accepting such obligations, You may act only
585
- on Your own behalf and on Your sole responsibility, not on behalf
586
- of any other Contributor, and only if You agree to indemnify,
587
- defend, and hold each Contributor harmless for any liability
588
- incurred by, or claims asserted against, such Contributor by reason
589
- of your accepting any such warranty or additional liability.
590
-
591
- END OF TERMS AND CONDITIONS
592
-
593
- APPENDIX: How to apply the Apache License to your work.
594
-
595
- To apply the Apache License to your work, attach the following
596
- boilerplate notice, with the fields enclosed by brackets "[]"
597
- replaced with your own identifying information. (Don't include
598
- the brackets!) The text should be enclosed in the appropriate
599
- comment syntax for the file format. We also recommend that a
600
- file or class name and description of purpose be included on the
601
- same "printed page" as the copyright notice for easier
602
- identification within third-party archives.
603
-
604
- Copyright [yyyy] [name of copyright owner]
605
-
606
- Licensed under the Apache License, Version 2.0 (the "License");
607
- you may not use this file except in compliance with the License.
608
- You may obtain a copy of the License at
609
-
610
- http://www.apache.org/licenses/LICENSE-2.0
611
-
612
- Unless required by applicable law or agreed to in writing, software
613
- distributed under the License is distributed on an "AS IS" BASIS,
614
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
615
- See the License for the specific language governing permissions and
616
- limitations under the License.
617
-
618
-
619
- chevrotain
620
- Apache-2.0
621
-
622
- Apache License
623
- Version 2.0, January 2004
624
- http://www.apache.org/licenses/
625
-
626
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
627
-
628
- 1. Definitions.
629
-
630
- "License" shall mean the terms and conditions for use, reproduction,
631
- and distribution as defined by Sections 1 through 9 of this document.
632
-
633
- "Licensor" shall mean the copyright owner or entity authorized by
634
- the copyright owner that is granting the License.
635
-
636
- "Legal Entity" shall mean the union of the acting entity and all
637
- other entities that control, are controlled by, or are under common
638
- control with that entity. For the purposes of this definition,
639
- "control" means (i) the power, direct or indirect, to cause the
640
- direction or management of such entity, whether by contract or
641
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
642
- outstanding shares, or (iii) beneficial ownership of such entity.
643
-
644
- "You" (or "Your") shall mean an individual or Legal Entity
645
- exercising permissions granted by this License.
646
-
647
- "Source" form shall mean the preferred form for making modifications,
648
- including but not limited to software source code, documentation
649
- source, and configuration files.
650
-
651
- "Object" form shall mean any form resulting from mechanical
652
- transformation or translation of a Source form, including but
653
- not limited to compiled object code, generated documentation,
654
- and conversions to other media types.
655
-
656
- "Work" shall mean the work of authorship, whether in Source or
657
- Object form, made available under the License, as indicated by a
658
- copyright notice that is included in or attached to the work
659
- (an example is provided in the Appendix below).
660
-
661
- "Derivative Works" shall mean any work, whether in Source or Object
662
- form, that is based on (or derived from) the Work and for which the
663
- editorial revisions, annotations, elaborations, or other modifications
664
- represent, as a whole, an original work of authorship. For the purposes
665
- of this License, Derivative Works shall not include works that remain
666
- separable from, or merely link (or bind by name) to the interfaces of,
667
- the Work and Derivative Works thereof.
668
-
669
- "Contribution" shall mean any work of authorship, including
670
- the original version of the Work and any modifications or additions
671
- to that Work or Derivative Works thereof, that is intentionally
672
- submitted to Licensor for inclusion in the Work by the copyright owner
673
- or by an individual or Legal Entity authorized to submit on behalf of
674
- the copyright owner. For the purposes of this definition, "submitted"
675
- means any form of electronic, verbal, or written communication sent
676
- to the Licensor or its representatives, including but not limited to
677
- communication on electronic mailing lists, source code control systems,
678
- and issue tracking systems that are managed by, or on behalf of, the
679
- Licensor for the purpose of discussing and improving the Work, but
680
- excluding communication that is conspicuously marked or otherwise
681
- designated in writing by the copyright owner as "Not a Contribution."
682
-
683
- "Contributor" shall mean Licensor and any individual or Legal Entity
684
- on behalf of whom a Contribution has been received by Licensor and
685
- subsequently incorporated within the Work.
686
-
687
- 2. Grant of Copyright License. Subject to the terms and conditions of
688
- this License, each Contributor hereby grants to You a perpetual,
689
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
690
- copyright license to reproduce, prepare Derivative Works of,
691
- publicly display, publicly perform, sublicense, and distribute the
692
- Work and such Derivative Works in Source or Object form.
693
-
694
- 3. Grant of Patent License. Subject to the terms and conditions of
695
- this License, each Contributor hereby grants to You a perpetual,
696
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
697
- (except as stated in this section) patent license to make, have made,
698
- use, offer to sell, sell, import, and otherwise transfer the Work,
699
- where such license applies only to those patent claims licensable
700
- by such Contributor that are necessarily infringed by their
701
- Contribution(s) alone or by combination of their Contribution(s)
702
- with the Work to which such Contribution(s) was submitted. If You
703
- institute patent litigation against any entity (including a
704
- cross-claim or counterclaim in a lawsuit) alleging that the Work
705
- or a Contribution incorporated within the Work constitutes direct
706
- or contributory patent infringement, then any patent licenses
707
- granted to You under this License for that Work shall terminate
708
- as of the date such litigation is filed.
709
-
710
- 4. Redistribution. You may reproduce and distribute copies of the
711
- Work or Derivative Works thereof in any medium, with or without
712
- modifications, and in Source or Object form, provided that You
713
- meet the following conditions:
714
-
715
- (a) You must give any other recipients of the Work or
716
- Derivative Works a copy of this License; and
717
-
718
- (b) You must cause any modified files to carry prominent notices
719
- stating that You changed the files; and
720
-
721
- (c) You must retain, in the Source form of any Derivative Works
722
- that You distribute, all copyright, patent, trademark, and
723
- attribution notices from the Source form of the Work,
724
- excluding those notices that do not pertain to any part of
725
- the Derivative Works; and
726
-
727
- (d) If the Work includes a "NOTICE" text file as part of its
728
- distribution, then any Derivative Works that You distribute must
729
- include a readable copy of the attribution notices contained
730
- within such NOTICE file, excluding those notices that do not
731
- pertain to any part of the Derivative Works, in at least one
732
- of the following places: within a NOTICE text file distributed
733
- as part of the Derivative Works; within the Source form or
734
- documentation, if provided along with the Derivative Works; or,
735
- within a display generated by the Derivative Works, if and
736
- wherever such third-party notices normally appear. The contents
737
- of the NOTICE file are for informational purposes only and
738
- do not modify the License. You may add Your own attribution
739
- notices within Derivative Works that You distribute, alongside
740
- or as an addendum to the NOTICE text from the Work, provided
741
- that such additional attribution notices cannot be construed
742
- as modifying the License.
743
-
744
- You may add Your own copyright statement to Your modifications and
745
- may provide additional or different license terms and conditions
746
- for use, reproduction, or distribution of Your modifications, or
747
- for any such Derivative Works as a whole, provided Your use,
748
- reproduction, and distribution of the Work otherwise complies with
749
- the conditions stated in this License.
750
-
751
- 5. Submission of Contributions. Unless You explicitly state otherwise,
752
- any Contribution intentionally submitted for inclusion in the Work
753
- by You to the Licensor shall be under the terms and conditions of
754
- this License, without any additional terms or conditions.
755
- Notwithstanding the above, nothing herein shall supersede or modify
756
- the terms of any separate license agreement you may have executed
757
- with Licensor regarding such Contributions.
758
-
759
- 6. Trademarks. This License does not grant permission to use the trade
760
- names, trademarks, service marks, or product names of the Licensor,
761
- except as required for reasonable and customary use in describing the
762
- origin of the Work and reproducing the content of the NOTICE file.
763
-
764
- 7. Disclaimer of Warranty. Unless required by applicable law or
765
- agreed to in writing, Licensor provides the Work (and each
766
- Contributor provides its Contributions) on an "AS IS" BASIS,
767
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
768
- implied, including, without limitation, any warranties or conditions
769
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
770
- PARTICULAR PURPOSE. You are solely responsible for determining the
771
- appropriateness of using or redistributing the Work and assume any
772
- risks associated with Your exercise of permissions under this License.
773
-
774
- 8. Limitation of Liability. In no event and under no legal theory,
775
- whether in tort (including negligence), contract, or otherwise,
776
- unless required by applicable law (such as deliberate and grossly
777
- negligent acts) or agreed to in writing, shall any Contributor be
778
- liable to You for damages, including any direct, indirect, special,
779
- incidental, or consequential damages of any character arising as a
780
- result of this License or out of the use or inability to use the
781
- Work (including but not limited to damages for loss of goodwill,
782
- work stoppage, computer failure or malfunction, or any and all
783
- other commercial damages or losses), even if such Contributor
784
- has been advised of the possibility of such damages.
785
-
786
- 9. Accepting Warranty or Additional Liability. While redistributing
787
- the Work or Derivative Works thereof, You may choose to offer,
788
- and charge a fee for, acceptance of support, warranty, indemnity,
789
- or other liability obligations and/or rights consistent with this
790
- License. However, in accepting such obligations, You may act only
791
- on Your own behalf and on Your sole responsibility, not on behalf
792
- of any other Contributor, and only if You agree to indemnify,
793
- defend, and hold each Contributor harmless for any liability
794
- incurred by, or claims asserted against, such Contributor by reason
795
- of your accepting any such warranty or additional liability.
796
-
797
- END OF TERMS AND CONDITIONS
798
-
799
- APPENDIX: How to apply the Apache License to your work.
800
-
801
- To apply the Apache License to your work, attach the following
802
- boilerplate notice, with the fields enclosed by brackets "[]"
803
- replaced with your own identifying information. (Don't include
804
- the brackets!) The text should be enclosed in the appropriate
805
- comment syntax for the file format. We also recommend that a
806
- file or class name and description of purpose be included on the
807
- same "printed page" as the copyright notice for easier
808
- identification within third-party archives.
809
-
810
- Copyright [yyyy] [name of copyright owner]
811
-
812
- Licensed under the Apache License, Version 2.0 (the "License");
813
- you may not use this file except in compliance with the License.
814
- You may obtain a copy of the License at
815
-
816
- http://www.apache.org/licenses/LICENSE-2.0
817
-
818
- Unless required by applicable law or agreed to in writing, software
819
- distributed under the License is distributed on an "AS IS" BASIS,
820
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
821
- See the License for the specific language governing permissions and
822
- limitations under the License.
823
-
824
-
825
- lodash
826
- MIT
827
- Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
828
-
829
- Based on Underscore.js, copyright Jeremy Ashkenas,
830
- DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
831
-
832
- This software consists of voluntary contributions made by many
833
- individuals. For exact contribution history, see the revision history
834
- available at https://github.com/lodash/lodash
835
-
836
- The following license applies to all parts of this software except as
837
- documented below:
838
-
839
- ====
840
-
841
- Permission is hereby granted, free of charge, to any person obtaining
842
- a copy of this software and associated documentation files (the
843
- "Software"), to deal in the Software without restriction, including
844
- without limitation the rights to use, copy, modify, merge, publish,
845
- distribute, sublicense, and/or sell copies of the Software, and to
846
- permit persons to whom the Software is furnished to do so, subject to
847
- the following conditions:
848
-
849
- The above copyright notice and this permission notice shall be
850
- included in all copies or substantial portions of the Software.
851
-
852
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
853
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
854
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
855
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
856
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
857
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
858
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
859
-
860
- ====
861
-
862
- Copyright and related rights for sample code are waived via CC0. Sample
863
- code is defined as all source code displayed within the prose of the
864
- documentation.
865
-
866
- CC0: http://creativecommons.org/publicdomain/zero/1.0/
867
-
868
- ====
869
-
870
- Files located in the node_modules and vendor directories are externally
871
- maintained libraries used by this software which have their own
872
- licenses; we recommend you read them, as their terms may differ from the
873
- terms above.
874
-
875
-
876
- regexp-to-ast
877
- MIT
878
- MIT License
879
-
880
- Copyright (c) 2018 Shahar Soel
881
-
882
- Permission is hereby granted, free of charge, to any person obtaining a copy
883
- of this software and associated documentation files (the "Software"), to deal
884
- in the Software without restriction, including without limitation the rights
885
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
886
- copies of the Software, and to permit persons to whom the Software is
887
- furnished to do so, subject to the following conditions:
888
-
889
- The above copyright notice and this permission notice shall be included in all
890
- copies or substantial portions of the Software.
891
-
892
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
893
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
894
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
895
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
896
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
897
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
898
- SOFTWARE.