@cspell/cspell-types 9.0.2 → 9.1.1
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/cspell.schema.json +38 -132
- package/dist/Parser/index.d.mts +2 -127
- package/dist/Parser/index.d.ts +2 -127
- package/dist/Parser/index.js +0 -18
- package/dist/index-B8R3-rR5.d.mts +129 -0
- package/dist/index-CY-3Hv0u.d.ts +129 -0
- package/dist/index.d.mts +1577 -1436
- package/dist/index.d.ts +1577 -1436
- package/dist/index.js +87 -107
- package/dist/index.mjs +83 -77
- package/package.json +4 -7
package/cspell.schema.json
CHANGED
|
@@ -457,7 +457,8 @@
|
|
|
457
457
|
}
|
|
458
458
|
],
|
|
459
459
|
"description": "Inline Dictionary Definitions",
|
|
460
|
-
"markdownDescription": "Inline Dictionary Definitions"
|
|
460
|
+
"markdownDescription": "Inline Dictionary Definitions",
|
|
461
|
+
"since": "6.23.0"
|
|
461
462
|
},
|
|
462
463
|
"DictionaryDefinitionInlineFlagWords": {
|
|
463
464
|
"additionalProperties": false,
|
|
@@ -475,11 +476,6 @@
|
|
|
475
476
|
"markdownDescription": "List of words to always be considered incorrect. Words found in `flagWords` override `words`.\n\nFormat of `flagWords`\n- single word entry - `word`\n- with suggestions - `word:suggestion` or `word->suggestion, suggestions`\n\nExample:\n```ts\n\"flagWords\": [\n \"color: colour\",\n \"incase: in case, encase\",\n \"canot->cannot\",\n \"cancelled->canceled\"\n]\n```",
|
|
476
477
|
"type": "array"
|
|
477
478
|
},
|
|
478
|
-
"ignoreForbiddenWords": {
|
|
479
|
-
"description": "Some dictionaries may contain forbidden words to prevent compounding from generating words that are not valid in the language. These are often words that are used in other languages or might be generated through compounding. This setting allows flagged words to be ignored when checking the dictionary. The effect is similar to the word not being in the dictionary.",
|
|
480
|
-
"markdownDescription": "Some dictionaries may contain forbidden words to prevent compounding from generating\nwords that are not valid in the language. These are often\nwords that are used in other languages or might be generated through compounding.\nThis setting allows flagged words to be ignored when checking the dictionary.\nThe effect is similar to the word not being in the dictionary.",
|
|
481
|
-
"type": "boolean"
|
|
482
|
-
},
|
|
483
479
|
"ignoreWords": {
|
|
484
480
|
"description": "List of words to be ignored. An ignored word will not show up as an error, even if it is also in the `flagWords`.",
|
|
485
481
|
"items": {
|
|
@@ -493,16 +489,6 @@
|
|
|
493
489
|
"description": "This is the name of a dictionary.\n\nName Format:\n- Must contain at least 1 number or letter.\n- Spaces are allowed.\n- Leading and trailing space will be removed.\n- Names ARE case-sensitive.\n- Must not contain `*`, `!`, `;`, `,`, `{`, `}`, `[`, `]`, `~`.",
|
|
494
490
|
"markdownDescription": "This is the name of a dictionary.\n\nName Format:\n- Must contain at least 1 number or letter.\n- Spaces are allowed.\n- Leading and trailing space will be removed.\n- Names ARE case-sensitive.\n- Must not contain `*`, `!`, `;`, `,`, `{`, `}`, `[`, `]`, `~`."
|
|
495
491
|
},
|
|
496
|
-
"noSuggest": {
|
|
497
|
-
"description": "Indicate that suggestions should not come from this dictionary. Words in this dictionary are considered correct, but will not be used when making spell correction suggestions.\n\nNote: if a word is suggested by another dictionary, but found in this dictionary, it will be removed from the set of possible suggestions.",
|
|
498
|
-
"markdownDescription": "Indicate that suggestions should not come from this dictionary.\nWords in this dictionary are considered correct, but will not be\nused when making spell correction suggestions.\n\nNote: if a word is suggested by another dictionary, but found in\nthis dictionary, it will be removed from the set of\npossible suggestions.",
|
|
499
|
-
"type": "boolean"
|
|
500
|
-
},
|
|
501
|
-
"repMap": {
|
|
502
|
-
"$ref": "#/definitions/ReplaceMap",
|
|
503
|
-
"description": "Replacement pairs.",
|
|
504
|
-
"markdownDescription": "Replacement pairs."
|
|
505
|
-
},
|
|
506
492
|
"suggestWords": {
|
|
507
493
|
"description": "A list of suggested replacements for words. Suggested words provide a way to make preferred suggestions on word replacements. To hint at a preferred change, but not to require it.\n\nFormat of `suggestWords`\n- Single suggestion (possible auto fix) - `word: suggestion` - `word->suggestion`\n- Multiple suggestions (not auto fixable) - `word: first, second, third` - `word->first, second, third`",
|
|
508
494
|
"items": {
|
|
@@ -517,17 +503,6 @@
|
|
|
517
503
|
"markdownDescription": "Strip case and accents to allow for case insensitive searches and\nwords without accents.\n\nNote: this setting only applies to word lists. It has no-impact on trie\ndictionaries.",
|
|
518
504
|
"type": "boolean"
|
|
519
505
|
},
|
|
520
|
-
"type": {
|
|
521
|
-
"$ref": "#/definitions/DictionaryFileTypes",
|
|
522
|
-
"default": "S",
|
|
523
|
-
"description": "Type of file:\n- S - single word per line,\n- W - each line can contain one or more words separated by space,\n- C - each line is treated like code (Camel Case is allowed).\n\nDefault is S.\n\nC is the slowest to load due to the need to split each line based upon code splitting rules.\n\nNote: this settings does not apply to inline dictionaries or `.trie` files.",
|
|
524
|
-
"markdownDescription": "Type of file:\n- S - single word per line,\n- W - each line can contain one or more words separated by space,\n- C - each line is treated like code (Camel Case is allowed).\n\nDefault is S.\n\nC is the slowest to load due to the need to split each line based upon code splitting rules.\n\nNote: this settings does not apply to inline dictionaries or `.trie` files."
|
|
525
|
-
},
|
|
526
|
-
"useCompounds": {
|
|
527
|
-
"description": "Use Compounds.",
|
|
528
|
-
"markdownDescription": "Use Compounds.",
|
|
529
|
-
"type": "boolean"
|
|
530
|
-
},
|
|
531
506
|
"words": {
|
|
532
507
|
"description": "List of words to be considered correct.",
|
|
533
508
|
"items": {
|
|
@@ -559,11 +534,6 @@
|
|
|
559
534
|
"markdownDescription": "List of words to always be considered incorrect. Words found in `flagWords` override `words`.\n\nFormat of `flagWords`\n- single word entry - `word`\n- with suggestions - `word:suggestion` or `word->suggestion, suggestions`\n\nExample:\n```ts\n\"flagWords\": [\n \"color: colour\",\n \"incase: in case, encase\",\n \"canot->cannot\",\n \"cancelled->canceled\"\n]\n```",
|
|
560
535
|
"type": "array"
|
|
561
536
|
},
|
|
562
|
-
"ignoreForbiddenWords": {
|
|
563
|
-
"description": "Some dictionaries may contain forbidden words to prevent compounding from generating words that are not valid in the language. These are often words that are used in other languages or might be generated through compounding. This setting allows flagged words to be ignored when checking the dictionary. The effect is similar to the word not being in the dictionary.",
|
|
564
|
-
"markdownDescription": "Some dictionaries may contain forbidden words to prevent compounding from generating\nwords that are not valid in the language. These are often\nwords that are used in other languages or might be generated through compounding.\nThis setting allows flagged words to be ignored when checking the dictionary.\nThe effect is similar to the word not being in the dictionary.",
|
|
565
|
-
"type": "boolean"
|
|
566
|
-
},
|
|
567
537
|
"ignoreWords": {
|
|
568
538
|
"description": "List of words to be ignored. An ignored word will not show up as an error, even if it is also in the `flagWords`.",
|
|
569
539
|
"items": {
|
|
@@ -577,16 +547,6 @@
|
|
|
577
547
|
"description": "This is the name of a dictionary.\n\nName Format:\n- Must contain at least 1 number or letter.\n- Spaces are allowed.\n- Leading and trailing space will be removed.\n- Names ARE case-sensitive.\n- Must not contain `*`, `!`, `;`, `,`, `{`, `}`, `[`, `]`, `~`.",
|
|
578
548
|
"markdownDescription": "This is the name of a dictionary.\n\nName Format:\n- Must contain at least 1 number or letter.\n- Spaces are allowed.\n- Leading and trailing space will be removed.\n- Names ARE case-sensitive.\n- Must not contain `*`, `!`, `;`, `,`, `{`, `}`, `[`, `]`, `~`."
|
|
579
549
|
},
|
|
580
|
-
"noSuggest": {
|
|
581
|
-
"description": "Indicate that suggestions should not come from this dictionary. Words in this dictionary are considered correct, but will not be used when making spell correction suggestions.\n\nNote: if a word is suggested by another dictionary, but found in this dictionary, it will be removed from the set of possible suggestions.",
|
|
582
|
-
"markdownDescription": "Indicate that suggestions should not come from this dictionary.\nWords in this dictionary are considered correct, but will not be\nused when making spell correction suggestions.\n\nNote: if a word is suggested by another dictionary, but found in\nthis dictionary, it will be removed from the set of\npossible suggestions.",
|
|
583
|
-
"type": "boolean"
|
|
584
|
-
},
|
|
585
|
-
"repMap": {
|
|
586
|
-
"$ref": "#/definitions/ReplaceMap",
|
|
587
|
-
"description": "Replacement pairs.",
|
|
588
|
-
"markdownDescription": "Replacement pairs."
|
|
589
|
-
},
|
|
590
550
|
"suggestWords": {
|
|
591
551
|
"description": "A list of suggested replacements for words. Suggested words provide a way to make preferred suggestions on word replacements. To hint at a preferred change, but not to require it.\n\nFormat of `suggestWords`\n- Single suggestion (possible auto fix) - `word: suggestion` - `word->suggestion`\n- Multiple suggestions (not auto fixable) - `word: first, second, third` - `word->first, second, third`",
|
|
592
552
|
"items": {
|
|
@@ -601,17 +561,6 @@
|
|
|
601
561
|
"markdownDescription": "Strip case and accents to allow for case insensitive searches and\nwords without accents.\n\nNote: this setting only applies to word lists. It has no-impact on trie\ndictionaries.",
|
|
602
562
|
"type": "boolean"
|
|
603
563
|
},
|
|
604
|
-
"type": {
|
|
605
|
-
"$ref": "#/definitions/DictionaryFileTypes",
|
|
606
|
-
"default": "S",
|
|
607
|
-
"description": "Type of file:\n- S - single word per line,\n- W - each line can contain one or more words separated by space,\n- C - each line is treated like code (Camel Case is allowed).\n\nDefault is S.\n\nC is the slowest to load due to the need to split each line based upon code splitting rules.\n\nNote: this settings does not apply to inline dictionaries or `.trie` files.",
|
|
608
|
-
"markdownDescription": "Type of file:\n- S - single word per line,\n- W - each line can contain one or more words separated by space,\n- C - each line is treated like code (Camel Case is allowed).\n\nDefault is S.\n\nC is the slowest to load due to the need to split each line based upon code splitting rules.\n\nNote: this settings does not apply to inline dictionaries or `.trie` files."
|
|
609
|
-
},
|
|
610
|
-
"useCompounds": {
|
|
611
|
-
"description": "Use Compounds.",
|
|
612
|
-
"markdownDescription": "Use Compounds.",
|
|
613
|
-
"type": "boolean"
|
|
614
|
-
},
|
|
615
564
|
"words": {
|
|
616
565
|
"description": "List of words to be considered correct.",
|
|
617
566
|
"items": {
|
|
@@ -643,11 +592,6 @@
|
|
|
643
592
|
"markdownDescription": "List of words to always be considered incorrect. Words found in `flagWords` override `words`.\n\nFormat of `flagWords`\n- single word entry - `word`\n- with suggestions - `word:suggestion` or `word->suggestion, suggestions`\n\nExample:\n```ts\n\"flagWords\": [\n \"color: colour\",\n \"incase: in case, encase\",\n \"canot->cannot\",\n \"cancelled->canceled\"\n]\n```",
|
|
644
593
|
"type": "array"
|
|
645
594
|
},
|
|
646
|
-
"ignoreForbiddenWords": {
|
|
647
|
-
"description": "Some dictionaries may contain forbidden words to prevent compounding from generating words that are not valid in the language. These are often words that are used in other languages or might be generated through compounding. This setting allows flagged words to be ignored when checking the dictionary. The effect is similar to the word not being in the dictionary.",
|
|
648
|
-
"markdownDescription": "Some dictionaries may contain forbidden words to prevent compounding from generating\nwords that are not valid in the language. These are often\nwords that are used in other languages or might be generated through compounding.\nThis setting allows flagged words to be ignored when checking the dictionary.\nThe effect is similar to the word not being in the dictionary.",
|
|
649
|
-
"type": "boolean"
|
|
650
|
-
},
|
|
651
595
|
"ignoreWords": {
|
|
652
596
|
"description": "List of words to be ignored. An ignored word will not show up as an error, even if it is also in the `flagWords`.",
|
|
653
597
|
"items": {
|
|
@@ -661,16 +605,6 @@
|
|
|
661
605
|
"description": "This is the name of a dictionary.\n\nName Format:\n- Must contain at least 1 number or letter.\n- Spaces are allowed.\n- Leading and trailing space will be removed.\n- Names ARE case-sensitive.\n- Must not contain `*`, `!`, `;`, `,`, `{`, `}`, `[`, `]`, `~`.",
|
|
662
606
|
"markdownDescription": "This is the name of a dictionary.\n\nName Format:\n- Must contain at least 1 number or letter.\n- Spaces are allowed.\n- Leading and trailing space will be removed.\n- Names ARE case-sensitive.\n- Must not contain `*`, `!`, `;`, `,`, `{`, `}`, `[`, `]`, `~`."
|
|
663
607
|
},
|
|
664
|
-
"noSuggest": {
|
|
665
|
-
"description": "Indicate that suggestions should not come from this dictionary. Words in this dictionary are considered correct, but will not be used when making spell correction suggestions.\n\nNote: if a word is suggested by another dictionary, but found in this dictionary, it will be removed from the set of possible suggestions.",
|
|
666
|
-
"markdownDescription": "Indicate that suggestions should not come from this dictionary.\nWords in this dictionary are considered correct, but will not be\nused when making spell correction suggestions.\n\nNote: if a word is suggested by another dictionary, but found in\nthis dictionary, it will be removed from the set of\npossible suggestions.",
|
|
667
|
-
"type": "boolean"
|
|
668
|
-
},
|
|
669
|
-
"repMap": {
|
|
670
|
-
"$ref": "#/definitions/ReplaceMap",
|
|
671
|
-
"description": "Replacement pairs.",
|
|
672
|
-
"markdownDescription": "Replacement pairs."
|
|
673
|
-
},
|
|
674
608
|
"suggestWords": {
|
|
675
609
|
"description": "A list of suggested replacements for words. Suggested words provide a way to make preferred suggestions on word replacements. To hint at a preferred change, but not to require it.\n\nFormat of `suggestWords`\n- Single suggestion (possible auto fix) - `word: suggestion` - `word->suggestion`\n- Multiple suggestions (not auto fixable) - `word: first, second, third` - `word->first, second, third`",
|
|
676
610
|
"items": {
|
|
@@ -685,17 +619,6 @@
|
|
|
685
619
|
"markdownDescription": "Strip case and accents to allow for case insensitive searches and\nwords without accents.\n\nNote: this setting only applies to word lists. It has no-impact on trie\ndictionaries.",
|
|
686
620
|
"type": "boolean"
|
|
687
621
|
},
|
|
688
|
-
"type": {
|
|
689
|
-
"$ref": "#/definitions/DictionaryFileTypes",
|
|
690
|
-
"default": "S",
|
|
691
|
-
"description": "Type of file:\n- S - single word per line,\n- W - each line can contain one or more words separated by space,\n- C - each line is treated like code (Camel Case is allowed).\n\nDefault is S.\n\nC is the slowest to load due to the need to split each line based upon code splitting rules.\n\nNote: this settings does not apply to inline dictionaries or `.trie` files.",
|
|
692
|
-
"markdownDescription": "Type of file:\n- S - single word per line,\n- W - each line can contain one or more words separated by space,\n- C - each line is treated like code (Camel Case is allowed).\n\nDefault is S.\n\nC is the slowest to load due to the need to split each line based upon code splitting rules.\n\nNote: this settings does not apply to inline dictionaries or `.trie` files."
|
|
693
|
-
},
|
|
694
|
-
"useCompounds": {
|
|
695
|
-
"description": "Use Compounds.",
|
|
696
|
-
"markdownDescription": "Use Compounds.",
|
|
697
|
-
"type": "boolean"
|
|
698
|
-
},
|
|
699
622
|
"words": {
|
|
700
623
|
"description": "List of words to be considered correct.",
|
|
701
624
|
"items": {
|
|
@@ -727,11 +650,6 @@
|
|
|
727
650
|
"markdownDescription": "List of words to always be considered incorrect. Words found in `flagWords` override `words`.\n\nFormat of `flagWords`\n- single word entry - `word`\n- with suggestions - `word:suggestion` or `word->suggestion, suggestions`\n\nExample:\n```ts\n\"flagWords\": [\n \"color: colour\",\n \"incase: in case, encase\",\n \"canot->cannot\",\n \"cancelled->canceled\"\n]\n```",
|
|
728
651
|
"type": "array"
|
|
729
652
|
},
|
|
730
|
-
"ignoreForbiddenWords": {
|
|
731
|
-
"description": "Some dictionaries may contain forbidden words to prevent compounding from generating words that are not valid in the language. These are often words that are used in other languages or might be generated through compounding. This setting allows flagged words to be ignored when checking the dictionary. The effect is similar to the word not being in the dictionary.",
|
|
732
|
-
"markdownDescription": "Some dictionaries may contain forbidden words to prevent compounding from generating\nwords that are not valid in the language. These are often\nwords that are used in other languages or might be generated through compounding.\nThis setting allows flagged words to be ignored when checking the dictionary.\nThe effect is similar to the word not being in the dictionary.",
|
|
733
|
-
"type": "boolean"
|
|
734
|
-
},
|
|
735
653
|
"ignoreWords": {
|
|
736
654
|
"description": "List of words to be ignored. An ignored word will not show up as an error, even if it is also in the `flagWords`.",
|
|
737
655
|
"items": {
|
|
@@ -745,16 +663,6 @@
|
|
|
745
663
|
"description": "This is the name of a dictionary.\n\nName Format:\n- Must contain at least 1 number or letter.\n- Spaces are allowed.\n- Leading and trailing space will be removed.\n- Names ARE case-sensitive.\n- Must not contain `*`, `!`, `;`, `,`, `{`, `}`, `[`, `]`, `~`.",
|
|
746
664
|
"markdownDescription": "This is the name of a dictionary.\n\nName Format:\n- Must contain at least 1 number or letter.\n- Spaces are allowed.\n- Leading and trailing space will be removed.\n- Names ARE case-sensitive.\n- Must not contain `*`, `!`, `;`, `,`, `{`, `}`, `[`, `]`, `~`."
|
|
747
665
|
},
|
|
748
|
-
"noSuggest": {
|
|
749
|
-
"description": "Indicate that suggestions should not come from this dictionary. Words in this dictionary are considered correct, but will not be used when making spell correction suggestions.\n\nNote: if a word is suggested by another dictionary, but found in this dictionary, it will be removed from the set of possible suggestions.",
|
|
750
|
-
"markdownDescription": "Indicate that suggestions should not come from this dictionary.\nWords in this dictionary are considered correct, but will not be\nused when making spell correction suggestions.\n\nNote: if a word is suggested by another dictionary, but found in\nthis dictionary, it will be removed from the set of\npossible suggestions.",
|
|
751
|
-
"type": "boolean"
|
|
752
|
-
},
|
|
753
|
-
"repMap": {
|
|
754
|
-
"$ref": "#/definitions/ReplaceMap",
|
|
755
|
-
"description": "Replacement pairs.",
|
|
756
|
-
"markdownDescription": "Replacement pairs."
|
|
757
|
-
},
|
|
758
666
|
"suggestWords": {
|
|
759
667
|
"description": "A list of suggested replacements for words. Suggested words provide a way to make preferred suggestions on word replacements. To hint at a preferred change, but not to require it.\n\nFormat of `suggestWords`\n- Single suggestion (possible auto fix) - `word: suggestion` - `word->suggestion`\n- Multiple suggestions (not auto fixable) - `word: first, second, third` - `word->first, second, third`",
|
|
760
668
|
"items": {
|
|
@@ -769,17 +677,6 @@
|
|
|
769
677
|
"markdownDescription": "Strip case and accents to allow for case insensitive searches and\nwords without accents.\n\nNote: this setting only applies to word lists. It has no-impact on trie\ndictionaries.",
|
|
770
678
|
"type": "boolean"
|
|
771
679
|
},
|
|
772
|
-
"type": {
|
|
773
|
-
"$ref": "#/definitions/DictionaryFileTypes",
|
|
774
|
-
"default": "S",
|
|
775
|
-
"description": "Type of file:\n- S - single word per line,\n- W - each line can contain one or more words separated by space,\n- C - each line is treated like code (Camel Case is allowed).\n\nDefault is S.\n\nC is the slowest to load due to the need to split each line based upon code splitting rules.\n\nNote: this settings does not apply to inline dictionaries or `.trie` files.",
|
|
776
|
-
"markdownDescription": "Type of file:\n- S - single word per line,\n- W - each line can contain one or more words separated by space,\n- C - each line is treated like code (Camel Case is allowed).\n\nDefault is S.\n\nC is the slowest to load due to the need to split each line based upon code splitting rules.\n\nNote: this settings does not apply to inline dictionaries or `.trie` files."
|
|
777
|
-
},
|
|
778
|
-
"useCompounds": {
|
|
779
|
-
"description": "Use Compounds.",
|
|
780
|
-
"markdownDescription": "Use Compounds.",
|
|
781
|
-
"type": "boolean"
|
|
782
|
-
},
|
|
783
680
|
"words": {
|
|
784
681
|
"description": "List of words to be considered correct.",
|
|
785
682
|
"items": {
|
|
@@ -862,42 +759,16 @@
|
|
|
862
759
|
"markdownDescription": "Optional description of the contents / purpose of the dictionary.",
|
|
863
760
|
"type": "string"
|
|
864
761
|
},
|
|
865
|
-
"ignoreForbiddenWords": {
|
|
866
|
-
"description": "Some dictionaries may contain forbidden words to prevent compounding from generating words that are not valid in the language. These are often words that are used in other languages or might be generated through compounding. This setting allows flagged words to be ignored when checking the dictionary. The effect is similar to the word not being in the dictionary.",
|
|
867
|
-
"markdownDescription": "Some dictionaries may contain forbidden words to prevent compounding from generating\nwords that are not valid in the language. These are often\nwords that are used in other languages or might be generated through compounding.\nThis setting allows flagged words to be ignored when checking the dictionary.\nThe effect is similar to the word not being in the dictionary.",
|
|
868
|
-
"type": "boolean"
|
|
869
|
-
},
|
|
870
762
|
"name": {
|
|
871
763
|
"$ref": "#/definitions/DictionaryId",
|
|
872
764
|
"description": "This is the name of a dictionary.\n\nName Format:\n- Must contain at least 1 number or letter.\n- Spaces are allowed.\n- Leading and trailing space will be removed.\n- Names ARE case-sensitive.\n- Must not contain `*`, `!`, `;`, `,`, `{`, `}`, `[`, `]`, `~`.",
|
|
873
765
|
"markdownDescription": "This is the name of a dictionary.\n\nName Format:\n- Must contain at least 1 number or letter.\n- Spaces are allowed.\n- Leading and trailing space will be removed.\n- Names ARE case-sensitive.\n- Must not contain `*`, `!`, `;`, `,`, `{`, `}`, `[`, `]`, `~`."
|
|
874
766
|
},
|
|
875
|
-
"noSuggest": {
|
|
876
|
-
"description": "Indicate that suggestions should not come from this dictionary. Words in this dictionary are considered correct, but will not be used when making spell correction suggestions.\n\nNote: if a word is suggested by another dictionary, but found in this dictionary, it will be removed from the set of possible suggestions.",
|
|
877
|
-
"markdownDescription": "Indicate that suggestions should not come from this dictionary.\nWords in this dictionary are considered correct, but will not be\nused when making spell correction suggestions.\n\nNote: if a word is suggested by another dictionary, but found in\nthis dictionary, it will be removed from the set of\npossible suggestions.",
|
|
878
|
-
"type": "boolean"
|
|
879
|
-
},
|
|
880
|
-
"repMap": {
|
|
881
|
-
"$ref": "#/definitions/ReplaceMap",
|
|
882
|
-
"description": "Replacement pairs.",
|
|
883
|
-
"markdownDescription": "Replacement pairs."
|
|
884
|
-
},
|
|
885
767
|
"supportNonStrictSearches": {
|
|
886
768
|
"default": true,
|
|
887
769
|
"description": "Strip case and accents to allow for case insensitive searches and words without accents.\n\nNote: this setting only applies to word lists. It has no-impact on trie dictionaries.",
|
|
888
770
|
"markdownDescription": "Strip case and accents to allow for case insensitive searches and\nwords without accents.\n\nNote: this setting only applies to word lists. It has no-impact on trie\ndictionaries.",
|
|
889
771
|
"type": "boolean"
|
|
890
|
-
},
|
|
891
|
-
"type": {
|
|
892
|
-
"$ref": "#/definitions/DictionaryFileTypes",
|
|
893
|
-
"default": "S",
|
|
894
|
-
"description": "Type of file:\n- S - single word per line,\n- W - each line can contain one or more words separated by space,\n- C - each line is treated like code (Camel Case is allowed).\n\nDefault is S.\n\nC is the slowest to load due to the need to split each line based upon code splitting rules.\n\nNote: this settings does not apply to inline dictionaries or `.trie` files.",
|
|
895
|
-
"markdownDescription": "Type of file:\n- S - single word per line,\n- W - each line can contain one or more words separated by space,\n- C - each line is treated like code (Camel Case is allowed).\n\nDefault is S.\n\nC is the slowest to load due to the need to split each line based upon code splitting rules.\n\nNote: this settings does not apply to inline dictionaries or `.trie` files."
|
|
896
|
-
},
|
|
897
|
-
"useCompounds": {
|
|
898
|
-
"description": "Use Compounds.",
|
|
899
|
-
"markdownDescription": "Use Compounds.",
|
|
900
|
-
"type": "boolean"
|
|
901
772
|
}
|
|
902
773
|
},
|
|
903
774
|
"required": [
|
|
@@ -1343,6 +1214,13 @@
|
|
|
1343
1214
|
"markdownDescription": "A list of suggested replacements for words.\nSuggested words provide a way to make preferred suggestions on word replacements.\nTo hint at a preferred change, but not to require it.\n\nFormat of `suggestWords`\n- Single suggestion (possible auto fix)\n - `word: suggestion`\n - `word->suggestion`\n- Multiple suggestions (not auto fixable)\n - `word: first, second, third`\n - `word->first, second, third`",
|
|
1344
1215
|
"type": "array"
|
|
1345
1216
|
},
|
|
1217
|
+
"unknownWords": {
|
|
1218
|
+
"$ref": "#/definitions/UnknownWordsChoices",
|
|
1219
|
+
"default": "report-all",
|
|
1220
|
+
"description": "Controls how unknown words are handled.\n\n- `report-all` - Report all unknown words (default behavior)\n- `report-simple` - Report unknown words that have simple spelling errors, typos, and flagged words.\n- `report-common-typos` - Report unknown words that are common typos and flagged words.\n- `report-flagged` - Report unknown words that are flagged.",
|
|
1221
|
+
"markdownDescription": "Controls how unknown words are handled.\n\n- `report-all` - Report all unknown words (default behavior)\n- `report-simple` - Report unknown words that have simple spelling errors, typos, and flagged words.\n- `report-common-typos` - Report unknown words that are common typos and flagged words.\n- `report-flagged` - Report unknown words that are flagged.",
|
|
1222
|
+
"since": "9.1.0"
|
|
1223
|
+
},
|
|
1346
1224
|
"words": {
|
|
1347
1225
|
"description": "List of words to be considered correct.",
|
|
1348
1226
|
"items": {
|
|
@@ -1434,6 +1312,7 @@
|
|
|
1434
1312
|
},
|
|
1435
1313
|
"description": "Enable / Disable checking file types (languageIds).\n\nThis setting replaces: {@link Settings.enabledLanguageIds } and {@link Settings.enableFiletypes } .\n\nA Value of:\n- `true` - enable checking for the file type\n- `false` - disable checking for the file type\n\nA file type of `*` is a wildcard that enables all file types.\n\n**Example: enable all file types**\n\n| File Type | Enabled | Comment | | --------- | ------- | ------- | | `*` | `true` | Enable all file types. | | `json` | `false` | Disable checking for json files. |",
|
|
1436
1314
|
"markdownDescription": "Enable / Disable checking file types (languageIds).\n\nThis setting replaces: {@link Settings.enabledLanguageIds } and {@link Settings.enableFiletypes } .\n\nA Value of:\n- `true` - enable checking for the file type\n- `false` - disable checking for the file type\n\nA file type of `*` is a wildcard that enables all file types.\n\n**Example: enable all file types**\n\n| File Type | Enabled | Comment |\n| --------- | ------- | ------- |\n| `*` | `true` | Enable all file types. |\n| `json` | `false` | Disable checking for json files. |",
|
|
1315
|
+
"since": "8.8.1",
|
|
1437
1316
|
"title": "Enabled File Types to Check",
|
|
1438
1317
|
"type": "object"
|
|
1439
1318
|
},
|
|
@@ -1606,6 +1485,13 @@
|
|
|
1606
1485
|
"markdownDescription": "The maximum amount of time in milliseconds to generate suggestions for a word.",
|
|
1607
1486
|
"type": "number"
|
|
1608
1487
|
},
|
|
1488
|
+
"unknownWords": {
|
|
1489
|
+
"$ref": "#/definitions/UnknownWordsChoices",
|
|
1490
|
+
"default": "report-all",
|
|
1491
|
+
"description": "Controls how unknown words are handled.\n\n- `report-all` - Report all unknown words (default behavior)\n- `report-simple` - Report unknown words that have simple spelling errors, typos, and flagged words.\n- `report-common-typos` - Report unknown words that are common typos and flagged words.\n- `report-flagged` - Report unknown words that are flagged.",
|
|
1492
|
+
"markdownDescription": "Controls how unknown words are handled.\n\n- `report-all` - Report all unknown words (default behavior)\n- `report-simple` - Report unknown words that have simple spelling errors, typos, and flagged words.\n- `report-common-typos` - Report unknown words that are common typos and flagged words.\n- `report-flagged` - Report unknown words that are flagged.",
|
|
1493
|
+
"since": "9.1.0"
|
|
1494
|
+
},
|
|
1609
1495
|
"usePnP": {
|
|
1610
1496
|
"default": false,
|
|
1611
1497
|
"description": "Packages managers like Yarn 2 use a `.pnp.cjs` file to assist in loading packages stored in the repository.\n\nWhen true, the spell checker will search up the directory structure for the existence of a PnP file and load it.",
|
|
@@ -1853,6 +1739,17 @@
|
|
|
1853
1739
|
},
|
|
1854
1740
|
"type": "array"
|
|
1855
1741
|
},
|
|
1742
|
+
"UnknownWordsChoices": {
|
|
1743
|
+
"description": "Possible choices for how to handle unknown words.",
|
|
1744
|
+
"enum": [
|
|
1745
|
+
"report-all",
|
|
1746
|
+
"report-simple",
|
|
1747
|
+
"report-common-typos",
|
|
1748
|
+
"report-flagged"
|
|
1749
|
+
],
|
|
1750
|
+
"markdownDescription": "Possible choices for how to handle unknown words.",
|
|
1751
|
+
"type": "string"
|
|
1752
|
+
},
|
|
1856
1753
|
"Version": {
|
|
1857
1754
|
"anyOf": [
|
|
1858
1755
|
{
|
|
@@ -1952,6 +1849,7 @@
|
|
|
1952
1849
|
},
|
|
1953
1850
|
"description": "Enable / Disable checking file types (languageIds).\n\nThis setting replaces: {@link Settings.enabledLanguageIds } and {@link Settings.enableFiletypes } .\n\nA Value of:\n- `true` - enable checking for the file type\n- `false` - disable checking for the file type\n\nA file type of `*` is a wildcard that enables all file types.\n\n**Example: enable all file types**\n\n| File Type | Enabled | Comment | | --------- | ------- | ------- | | `*` | `true` | Enable all file types. | | `json` | `false` | Disable checking for json files. |",
|
|
1954
1851
|
"markdownDescription": "Enable / Disable checking file types (languageIds).\n\nThis setting replaces: {@link Settings.enabledLanguageIds } and {@link Settings.enableFiletypes } .\n\nA Value of:\n- `true` - enable checking for the file type\n- `false` - disable checking for the file type\n\nA file type of `*` is a wildcard that enables all file types.\n\n**Example: enable all file types**\n\n| File Type | Enabled | Comment |\n| --------- | ------- | ------- |\n| `*` | `true` | Enable all file types. |\n| `json` | `false` | Disable checking for json files. |",
|
|
1852
|
+
"since": "8.8.1",
|
|
1955
1853
|
"title": "Enabled File Types to Check",
|
|
1956
1854
|
"type": "object"
|
|
1957
1855
|
},
|
|
@@ -1974,7 +1872,8 @@
|
|
|
1974
1872
|
"features": {
|
|
1975
1873
|
"$ref": "#/definitions/Features",
|
|
1976
1874
|
"description": "Configure CSpell features.",
|
|
1977
|
-
"markdownDescription": "Configure CSpell features."
|
|
1875
|
+
"markdownDescription": "Configure CSpell features.",
|
|
1876
|
+
"since": "5.16.0"
|
|
1978
1877
|
},
|
|
1979
1878
|
"files": {
|
|
1980
1879
|
"description": "Glob patterns of files to be checked.\n\nGlob patterns are relative to the `globRoot` of the configuration file that defines them.",
|
|
@@ -2215,6 +2114,13 @@
|
|
|
2215
2114
|
"markdownDescription": "The maximum amount of time in milliseconds to generate suggestions for a word.",
|
|
2216
2115
|
"type": "number"
|
|
2217
2116
|
},
|
|
2117
|
+
"unknownWords": {
|
|
2118
|
+
"$ref": "#/definitions/UnknownWordsChoices",
|
|
2119
|
+
"default": "report-all",
|
|
2120
|
+
"description": "Controls how unknown words are handled.\n\n- `report-all` - Report all unknown words (default behavior)\n- `report-simple` - Report unknown words that have simple spelling errors, typos, and flagged words.\n- `report-common-typos` - Report unknown words that are common typos and flagged words.\n- `report-flagged` - Report unknown words that are flagged.",
|
|
2121
|
+
"markdownDescription": "Controls how unknown words are handled.\n\n- `report-all` - Report all unknown words (default behavior)\n- `report-simple` - Report unknown words that have simple spelling errors, typos, and flagged words.\n- `report-common-typos` - Report unknown words that are common typos and flagged words.\n- `report-flagged` - Report unknown words that are flagged.",
|
|
2122
|
+
"since": "9.1.0"
|
|
2123
|
+
},
|
|
2218
2124
|
"useGitignore": {
|
|
2219
2125
|
"default": false,
|
|
2220
2126
|
"description": "Tells the spell checker to load `.gitignore` files and skip files that match the globs in the `.gitignore` files found.",
|
package/dist/Parser/index.d.mts
CHANGED
|
@@ -1,127 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
interface Parser {
|
|
4
|
-
/** Name of parser */
|
|
5
|
-
readonly name: ParserName;
|
|
6
|
-
/**
|
|
7
|
-
* Parse Method
|
|
8
|
-
* @param content - full content of the file
|
|
9
|
-
* @param filename - filename
|
|
10
|
-
*/
|
|
11
|
-
parse(content: string, filename: string): ParseResult;
|
|
12
|
-
}
|
|
13
|
-
interface ParseResult {
|
|
14
|
-
readonly content: string;
|
|
15
|
-
readonly filename: string;
|
|
16
|
-
readonly parsedTexts: Iterable<ParsedText>;
|
|
17
|
-
}
|
|
18
|
-
interface ParsedText {
|
|
19
|
-
/**
|
|
20
|
-
* The text extracted and possibly transformed
|
|
21
|
-
*/
|
|
22
|
-
readonly text: string;
|
|
23
|
-
/**
|
|
24
|
-
* The raw text before it has been transformed
|
|
25
|
-
*/
|
|
26
|
-
readonly rawText?: string | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* start and end offsets of the text
|
|
29
|
-
*/
|
|
30
|
-
readonly range: Range;
|
|
31
|
-
/**
|
|
32
|
-
* The Scope annotation for a segment of text.
|
|
33
|
-
* Used by the spell checker to apply spell checking options
|
|
34
|
-
* based upon the value of the scope.
|
|
35
|
-
*/
|
|
36
|
-
readonly scope?: Scope | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* The source map is used to support text transformations.
|
|
39
|
-
*
|
|
40
|
-
* See: {@link SourceMap}
|
|
41
|
-
*/
|
|
42
|
-
readonly map?: SourceMap | undefined;
|
|
43
|
-
/**
|
|
44
|
-
* Used to delegate parsing the contents of `text` to another parser.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
readonly delegate?: DelegateInfo | undefined;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* A SourceMap is used to map transform a piece of text back to its original text.
|
|
51
|
-
* This is necessary in order to report the correct location of a spelling issue.
|
|
52
|
-
* An empty source map indicates that it was a 1:1 transformation.
|
|
53
|
-
*
|
|
54
|
-
* The values in a source map are number pairs (even, odd) relative to the beginning of each
|
|
55
|
-
* string segment.
|
|
56
|
-
* - even - offset in the source text
|
|
57
|
-
* - odd - offset in the transformed text
|
|
58
|
-
*
|
|
59
|
-
* Offsets start a 0
|
|
60
|
-
*
|
|
61
|
-
* Example:
|
|
62
|
-
*
|
|
63
|
-
* - Original text: `Grand Caf\u00e9 Bj\u00f8rvika`
|
|
64
|
-
* - Transformed text: `Grand Café Bjørvika`
|
|
65
|
-
* - Map: [9, 9, 15, 10, 18, 13, 24, 14]
|
|
66
|
-
*
|
|
67
|
-
* | offset | original | offset | transformed |
|
|
68
|
-
* | ------ | ----------- | ------ | ----------- |
|
|
69
|
-
* | 0-9 | `Grand Caf` | 0-9 | `Grand Caf` |
|
|
70
|
-
* | 9-15 | `\u00e9` | 9-10 | `é` |
|
|
71
|
-
* | 15-18 | ` Bj` | 10-13 | ` Bj` |
|
|
72
|
-
* | 18-24 | `\u00f8` | 13-14 | `ø` |
|
|
73
|
-
* | 24-29 | `rvika` | 14-19 | `rvika` |
|
|
74
|
-
*
|
|
75
|
-
* <!--- cspell:ignore Bjørvika rvika --->
|
|
76
|
-
*/
|
|
77
|
-
type SourceMap = number[];
|
|
78
|
-
type Range = readonly [start: number, end: number];
|
|
79
|
-
/**
|
|
80
|
-
* DelegateInfo is used by a parser to delegate parsing a subsection of a document to
|
|
81
|
-
* another parser. The following information is used by the spell checker to match
|
|
82
|
-
* the parser.
|
|
83
|
-
*/
|
|
84
|
-
interface DelegateInfo {
|
|
85
|
-
/**
|
|
86
|
-
* Proposed virtual file name including the extension.
|
|
87
|
-
* Format: `./${source_filename}/${block_number}.${ext}
|
|
88
|
-
* Example: `./README.md/1.js`
|
|
89
|
-
*/
|
|
90
|
-
readonly filename: string;
|
|
91
|
-
/**
|
|
92
|
-
* The filename of the origin of the virtual file block.
|
|
93
|
-
* Example: `./README.md`
|
|
94
|
-
*/
|
|
95
|
-
readonly originFilename: string;
|
|
96
|
-
/**
|
|
97
|
-
* Proposed file extension
|
|
98
|
-
* Example: `.js`
|
|
99
|
-
*/
|
|
100
|
-
readonly extension: string;
|
|
101
|
-
/**
|
|
102
|
-
* Filetype to use
|
|
103
|
-
* Example: `javascript`
|
|
104
|
-
*/
|
|
105
|
-
readonly fileType?: string;
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Scope - chain of scope going from local to global
|
|
109
|
-
*
|
|
110
|
-
* Example:
|
|
111
|
-
* ```
|
|
112
|
-
* `comment.block.documentation.ts` -> `meta.interface.ts` -> `source.ts`
|
|
113
|
-
* ```
|
|
114
|
-
*/
|
|
115
|
-
interface ScopeChain {
|
|
116
|
-
readonly value: string;
|
|
117
|
-
readonly parent?: ScopeChain | undefined;
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* A string representing a scope chain separated by spaces
|
|
121
|
-
*
|
|
122
|
-
* Example: `comment.block.documentation.ts meta.interface.ts source.ts`
|
|
123
|
-
*/
|
|
124
|
-
type ScopeString = string;
|
|
125
|
-
type Scope = ScopeChain | ScopeString;
|
|
126
|
-
|
|
127
|
-
export type { DelegateInfo, ParseResult, ParsedText, Parser, ParserName, ParserOptions, Range, Scope, ScopeChain, ScopeString, SourceMap };
|
|
1
|
+
import { DelegateInfo, ParseResult, ParsedText, Parser, ParserName, ParserOptions, Range, Scope, ScopeChain, ScopeString, SourceMap } from "../index-B8R3-rR5.mjs";
|
|
2
|
+
export { DelegateInfo, ParseResult, ParsedText, Parser, ParserName, ParserOptions, Range, Scope, ScopeChain, ScopeString, SourceMap };
|
package/dist/Parser/index.d.ts
CHANGED
|
@@ -1,127 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
interface Parser {
|
|
4
|
-
/** Name of parser */
|
|
5
|
-
readonly name: ParserName;
|
|
6
|
-
/**
|
|
7
|
-
* Parse Method
|
|
8
|
-
* @param content - full content of the file
|
|
9
|
-
* @param filename - filename
|
|
10
|
-
*/
|
|
11
|
-
parse(content: string, filename: string): ParseResult;
|
|
12
|
-
}
|
|
13
|
-
interface ParseResult {
|
|
14
|
-
readonly content: string;
|
|
15
|
-
readonly filename: string;
|
|
16
|
-
readonly parsedTexts: Iterable<ParsedText>;
|
|
17
|
-
}
|
|
18
|
-
interface ParsedText {
|
|
19
|
-
/**
|
|
20
|
-
* The text extracted and possibly transformed
|
|
21
|
-
*/
|
|
22
|
-
readonly text: string;
|
|
23
|
-
/**
|
|
24
|
-
* The raw text before it has been transformed
|
|
25
|
-
*/
|
|
26
|
-
readonly rawText?: string | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* start and end offsets of the text
|
|
29
|
-
*/
|
|
30
|
-
readonly range: Range;
|
|
31
|
-
/**
|
|
32
|
-
* The Scope annotation for a segment of text.
|
|
33
|
-
* Used by the spell checker to apply spell checking options
|
|
34
|
-
* based upon the value of the scope.
|
|
35
|
-
*/
|
|
36
|
-
readonly scope?: Scope | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* The source map is used to support text transformations.
|
|
39
|
-
*
|
|
40
|
-
* See: {@link SourceMap}
|
|
41
|
-
*/
|
|
42
|
-
readonly map?: SourceMap | undefined;
|
|
43
|
-
/**
|
|
44
|
-
* Used to delegate parsing the contents of `text` to another parser.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
readonly delegate?: DelegateInfo | undefined;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* A SourceMap is used to map transform a piece of text back to its original text.
|
|
51
|
-
* This is necessary in order to report the correct location of a spelling issue.
|
|
52
|
-
* An empty source map indicates that it was a 1:1 transformation.
|
|
53
|
-
*
|
|
54
|
-
* The values in a source map are number pairs (even, odd) relative to the beginning of each
|
|
55
|
-
* string segment.
|
|
56
|
-
* - even - offset in the source text
|
|
57
|
-
* - odd - offset in the transformed text
|
|
58
|
-
*
|
|
59
|
-
* Offsets start a 0
|
|
60
|
-
*
|
|
61
|
-
* Example:
|
|
62
|
-
*
|
|
63
|
-
* - Original text: `Grand Caf\u00e9 Bj\u00f8rvika`
|
|
64
|
-
* - Transformed text: `Grand Café Bjørvika`
|
|
65
|
-
* - Map: [9, 9, 15, 10, 18, 13, 24, 14]
|
|
66
|
-
*
|
|
67
|
-
* | offset | original | offset | transformed |
|
|
68
|
-
* | ------ | ----------- | ------ | ----------- |
|
|
69
|
-
* | 0-9 | `Grand Caf` | 0-9 | `Grand Caf` |
|
|
70
|
-
* | 9-15 | `\u00e9` | 9-10 | `é` |
|
|
71
|
-
* | 15-18 | ` Bj` | 10-13 | ` Bj` |
|
|
72
|
-
* | 18-24 | `\u00f8` | 13-14 | `ø` |
|
|
73
|
-
* | 24-29 | `rvika` | 14-19 | `rvika` |
|
|
74
|
-
*
|
|
75
|
-
* <!--- cspell:ignore Bjørvika rvika --->
|
|
76
|
-
*/
|
|
77
|
-
type SourceMap = number[];
|
|
78
|
-
type Range = readonly [start: number, end: number];
|
|
79
|
-
/**
|
|
80
|
-
* DelegateInfo is used by a parser to delegate parsing a subsection of a document to
|
|
81
|
-
* another parser. The following information is used by the spell checker to match
|
|
82
|
-
* the parser.
|
|
83
|
-
*/
|
|
84
|
-
interface DelegateInfo {
|
|
85
|
-
/**
|
|
86
|
-
* Proposed virtual file name including the extension.
|
|
87
|
-
* Format: `./${source_filename}/${block_number}.${ext}
|
|
88
|
-
* Example: `./README.md/1.js`
|
|
89
|
-
*/
|
|
90
|
-
readonly filename: string;
|
|
91
|
-
/**
|
|
92
|
-
* The filename of the origin of the virtual file block.
|
|
93
|
-
* Example: `./README.md`
|
|
94
|
-
*/
|
|
95
|
-
readonly originFilename: string;
|
|
96
|
-
/**
|
|
97
|
-
* Proposed file extension
|
|
98
|
-
* Example: `.js`
|
|
99
|
-
*/
|
|
100
|
-
readonly extension: string;
|
|
101
|
-
/**
|
|
102
|
-
* Filetype to use
|
|
103
|
-
* Example: `javascript`
|
|
104
|
-
*/
|
|
105
|
-
readonly fileType?: string;
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Scope - chain of scope going from local to global
|
|
109
|
-
*
|
|
110
|
-
* Example:
|
|
111
|
-
* ```
|
|
112
|
-
* `comment.block.documentation.ts` -> `meta.interface.ts` -> `source.ts`
|
|
113
|
-
* ```
|
|
114
|
-
*/
|
|
115
|
-
interface ScopeChain {
|
|
116
|
-
readonly value: string;
|
|
117
|
-
readonly parent?: ScopeChain | undefined;
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* A string representing a scope chain separated by spaces
|
|
121
|
-
*
|
|
122
|
-
* Example: `comment.block.documentation.ts meta.interface.ts source.ts`
|
|
123
|
-
*/
|
|
124
|
-
type ScopeString = string;
|
|
125
|
-
type Scope = ScopeChain | ScopeString;
|
|
126
|
-
|
|
127
|
-
export type { DelegateInfo, ParseResult, ParsedText, Parser, ParserName, ParserOptions, Range, Scope, ScopeChain, ScopeString, SourceMap };
|
|
1
|
+
import { DelegateInfo, ParseResult, ParsedText, Parser, ParserName, ParserOptions, Range, Scope, ScopeChain, ScopeString, SourceMap } from "../index-CY-3Hv0u.js";
|
|
2
|
+
export { DelegateInfo, ParseResult, ParsedText, Parser, ParserName, ParserOptions, Range, Scope, ScopeChain, ScopeString, SourceMap };
|
package/dist/Parser/index.js
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
|
|
16
|
-
// src/Parser/index.ts
|
|
17
|
-
var Parser_exports = {};
|
|
18
|
-
module.exports = __toCommonJS(Parser_exports);
|