Ignore:
Timestamp:
12/12/24 17:06:06 (5 weeks ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
d565449
Message:

Pred finalna verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/@eslint-community/regexpp/index.d.ts

    rd565449 r0c6b92a  
    5252    | Group
    5353    | LookaroundAssertion
     54    | Modifiers
    5455    | Pattern
    5556    | Quantifier
     
    6465    | Character
    6566    | CharacterSet
    66     | Flags;
     67    | Flags
     68    | ModifierFlags;
    6769  /**
    6870   * The type which includes all atom nodes.
     
    148150    type: "Group";
    149151    parent: Alternative | Quantifier;
     152    modifiers: Modifiers | null;
    150153    alternatives: Alternative[];
    151154  }
     
    449452  }
    450453  /**
     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  /**
    451482   * The flags.
    452483   */
     
    491522       * - `2023` added more valid Unicode Property Escapes.
    492523       * - `2024` added `v` flag.
    493        * - `2025` added duplicate named capturing groups.
     524       * - `2025` added duplicate named capturing groups, modifiers.
    494525       */
    495526      ecmaVersion?: EcmaVersion;
     
    580611       * - `2023` added more valid Unicode Property Escapes.
    581612       * - `2024` added `v` flag.
    582        * - `2025` added duplicate named capturing groups.
     613       * - `2025` added duplicate named capturing groups, modifiers.
    583614       */
    584615      ecmaVersion?: EcmaVersion;
     
    692723       */
    693724      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;
    694772      /**
    695773       * A function that is called when the validator entered a capturing group.
     
    9781056    Flags,
    9791057    Group,
     1058    ModifierFlags,
     1059    Modifiers,
    9801060    Node,
    9811061    Pattern,
     
    10331113      onGroupEnter?: (node: Group) => void;
    10341114      onGroupLeave?: (node: Group) => void;
     1115      onModifierFlagsEnter?: (node: ModifierFlags) => void;
     1116      onModifierFlagsLeave?: (node: ModifierFlags) => void;
     1117      onModifiersEnter?: (node: Modifiers) => void;
     1118      onModifiersLeave?: (node: Modifiers) => void;
    10351119      onPatternEnter?: (node: Pattern) => void;
    10361120      onPatternLeave?: (node: Pattern) => void;
Note: See TracChangeset for help on using the changeset viewer.