Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/@eslint-community/regexpp/index.d.ts
rd565449 r0c6b92a 52 52 | Group 53 53 | LookaroundAssertion 54 | Modifiers 54 55 | Pattern 55 56 | Quantifier … … 64 65 | Character 65 66 | CharacterSet 66 | Flags; 67 | Flags 68 | ModifierFlags; 67 69 /** 68 70 * The type which includes all atom nodes. … … 148 150 type: "Group"; 149 151 parent: Alternative | Quantifier; 152 modifiers: Modifiers | null; 150 153 alternatives: Alternative[]; 151 154 } … … 449 452 } 450 453 /** 454 * The modifiers. 455 */ 456 export interface Modifiers extends NodeBase { 457 type: "Modifiers"; 458 parent: Group; 459 /** 460 * The add modifier flags. 461 */ 462 add: ModifierFlags; 463 /** 464 * The remove modifier flags. 465 * 466 * `null` means no remove modifier flags. e.g. `(?ims:x)` 467 * The reason for `null` is that there is no position where the remove modifier flags appears. Must be behind the minus mark. 468 */ 469 remove: ModifierFlags | null; 470 } 471 /** 472 * The modifier flags. 473 */ 474 export interface ModifierFlags extends NodeBase { 475 type: "ModifierFlags"; 476 parent: Modifiers; 477 dotAll: boolean; 478 ignoreCase: boolean; 479 multiline: boolean; 480 } 481 /** 451 482 * The flags. 452 483 */ … … 491 522 * - `2023` added more valid Unicode Property Escapes. 492 523 * - `2024` added `v` flag. 493 * - `2025` added duplicate named capturing groups .524 * - `2025` added duplicate named capturing groups, modifiers. 494 525 */ 495 526 ecmaVersion?: EcmaVersion; … … 580 611 * - `2023` added more valid Unicode Property Escapes. 581 612 * - `2024` added `v` flag. 582 * - `2025` added duplicate named capturing groups .613 * - `2025` added duplicate named capturing groups, modifiers. 583 614 */ 584 615 ecmaVersion?: EcmaVersion; … … 692 723 */ 693 724 onGroupLeave?: (start: number, end: number) => void; 725 /** 726 * A function that is called when the validator entered a modifiers. 727 * @param start The 0-based index of the first character. 728 */ 729 onModifiersEnter?: (start: number) => void; 730 /** 731 * A function that is called when the validator left a modifiers. 732 * @param start The 0-based index of the first character. 733 * @param end The next 0-based index of the last character. 734 */ 735 onModifiersLeave?: (start: number, end: number) => void; 736 /** 737 * A function that is called when the validator found an add modifiers. 738 * @param start The 0-based index of the first character. 739 * @param end The next 0-based index of the last character. 740 * @param flags flags. 741 * @param flags.ignoreCase `i` flag. 742 * @param flags.multiline `m` flag. 743 * @param flags.dotAll `s` flag. 744 */ 745 onAddModifiers?: ( 746 start: number, 747 end: number, 748 flags: { 749 ignoreCase: boolean; 750 multiline: boolean; 751 dotAll: boolean; 752 } 753 ) => void; 754 /** 755 * A function that is called when the validator found a remove modifiers. 756 * @param start The 0-based index of the first character. 757 * @param end The next 0-based index of the last character. 758 * @param flags flags. 759 * @param flags.ignoreCase `i` flag. 760 * @param flags.multiline `m` flag. 761 * @param flags.dotAll `s` flag. 762 */ 763 onRemoveModifiers?: ( 764 start: number, 765 end: number, 766 flags: { 767 ignoreCase: boolean; 768 multiline: boolean; 769 dotAll: boolean; 770 } 771 ) => void; 694 772 /** 695 773 * A function that is called when the validator entered a capturing group. … … 978 1056 Flags, 979 1057 Group, 1058 ModifierFlags, 1059 Modifiers, 980 1060 Node, 981 1061 Pattern, … … 1033 1113 onGroupEnter?: (node: Group) => void; 1034 1114 onGroupLeave?: (node: Group) => void; 1115 onModifierFlagsEnter?: (node: ModifierFlags) => void; 1116 onModifierFlagsLeave?: (node: ModifierFlags) => void; 1117 onModifiersEnter?: (node: Modifiers) => void; 1118 onModifiersLeave?: (node: Modifiers) => void; 1035 1119 onPatternEnter?: (node: Pattern) => void; 1036 1120 onPatternLeave?: (node: Pattern) => void;
Note:
See TracChangeset
for help on using the changeset viewer.