mangrove 0.24.0 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2590,17 +2590,17 @@ Regexp::Parser::VERSION = T.let(T.unsafe(nil), String)
2590
2590
  class Regexp::Scanner
2591
2591
  # Emits an array with the details of the scanned pattern
2592
2592
  #
2593
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2405
2593
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2406
2594
2594
  def emit(type, token, text); end
2595
2595
 
2596
2596
  # only public for #||= to work on ruby <= 2.5
2597
2597
  #
2598
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2430
2598
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2431
2599
2599
  def literal_run; end
2600
2600
 
2601
2601
  # only public for #||= to work on ruby <= 2.5
2602
2602
  #
2603
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2430
2603
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2431
2604
2604
  def literal_run=(_arg0); end
2605
2605
 
2606
2606
  # @raise [PrematureEndError]
@@ -2613,168 +2613,168 @@ class Regexp::Scanner
2613
2613
  # Appends one or more characters to the literal buffer, to be emitted later
2614
2614
  # by a call to emit_literal.
2615
2615
  #
2616
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2467
2616
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2468
2617
2617
  def append_literal(data, ts, te); end
2618
2618
 
2619
2619
  # Returns the value of attribute block.
2620
2620
  #
2621
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2621
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2622
2622
  def block; end
2623
2623
 
2624
2624
  # Sets the attribute block
2625
2625
  #
2626
2626
  # @param value the value to set the attribute block to.
2627
2627
  #
2628
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2628
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2629
2629
  def block=(_arg0); end
2630
2630
 
2631
2631
  # Returns the value of attribute char_pos.
2632
2632
  #
2633
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2633
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2634
2634
  def char_pos; end
2635
2635
 
2636
2636
  # Sets the attribute char_pos
2637
2637
  #
2638
2638
  # @param value the value to set the attribute char_pos to.
2639
2639
  #
2640
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2640
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2641
2641
  def char_pos=(_arg0); end
2642
2642
 
2643
2643
  # Returns the value of attribute collect_tokens.
2644
2644
  #
2645
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2645
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2646
2646
  def collect_tokens; end
2647
2647
 
2648
2648
  # Sets the attribute collect_tokens
2649
2649
  #
2650
2650
  # @param value the value to set the attribute collect_tokens to.
2651
2651
  #
2652
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2652
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2653
2653
  def collect_tokens=(_arg0); end
2654
2654
 
2655
2655
  # Returns the value of attribute conditional_stack.
2656
2656
  #
2657
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2657
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2658
2658
  def conditional_stack; end
2659
2659
 
2660
2660
  # Sets the attribute conditional_stack
2661
2661
  #
2662
2662
  # @param value the value to set the attribute conditional_stack to.
2663
2663
  #
2664
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2664
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2665
2665
  def conditional_stack=(_arg0); end
2666
2666
 
2667
2667
  # Copy from ts to te from data as text
2668
2668
  #
2669
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2461
2669
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2462
2670
2670
  def copy(data, ts, te); end
2671
2671
 
2672
2672
  # Emits the literal run collected by calls to the append_literal method.
2673
2673
  #
2674
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2472
2674
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2473
2675
2675
  def emit_literal; end
2676
2676
 
2677
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2507
2677
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2508
2678
2678
  def emit_meta_control_sequence(data, ts, te, token); end
2679
2679
 
2680
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2478
2680
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2479
2681
2681
  def emit_options(text); end
2682
2682
 
2683
2683
  # Returns the value of attribute free_spacing.
2684
2684
  #
2685
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2685
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2686
2686
  def free_spacing; end
2687
2687
 
2688
2688
  # Sets the attribute free_spacing
2689
2689
  #
2690
2690
  # @param value the value to set the attribute free_spacing to.
2691
2691
  #
2692
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2692
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2693
2693
  def free_spacing=(_arg0); end
2694
2694
 
2695
2695
  # @return [Boolean]
2696
2696
  #
2697
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2440
2697
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2441
2698
2698
  def free_spacing?(input_object, options); end
2699
2699
 
2700
2700
  # Returns the value of attribute group_depth.
2701
2701
  #
2702
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2702
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2703
2703
  def group_depth; end
2704
2704
 
2705
2705
  # Sets the attribute group_depth
2706
2706
  #
2707
2707
  # @param value the value to set the attribute group_depth to.
2708
2708
  #
2709
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2709
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2710
2710
  def group_depth=(_arg0); end
2711
2711
 
2712
2712
  # @return [Boolean]
2713
2713
  #
2714
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2452
2714
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2453
2715
2715
  def in_group?; end
2716
2716
 
2717
2717
  # @return [Boolean]
2718
2718
  #
2719
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2456
2719
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2457
2720
2720
  def in_set?; end
2721
2721
 
2722
2722
  # Returns the value of attribute prev_token.
2723
2723
  #
2724
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2724
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2725
2725
  def prev_token; end
2726
2726
 
2727
2727
  # Sets the attribute prev_token
2728
2728
  #
2729
2729
  # @param value the value to set the attribute prev_token to.
2730
2730
  #
2731
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2731
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2732
2732
  def prev_token=(_arg0); end
2733
2733
 
2734
2734
  # Returns the value of attribute set_depth.
2735
2735
  #
2736
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2736
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2737
2737
  def set_depth; end
2738
2738
 
2739
2739
  # Sets the attribute set_depth
2740
2740
  #
2741
2741
  # @param value the value to set the attribute set_depth to.
2742
2742
  #
2743
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2743
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2744
2744
  def set_depth=(_arg0); end
2745
2745
 
2746
2746
  # Returns the value of attribute spacing_stack.
2747
2747
  #
2748
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2748
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2749
2749
  def spacing_stack; end
2750
2750
 
2751
2751
  # Sets the attribute spacing_stack
2752
2752
  #
2753
2753
  # @param value the value to set the attribute spacing_stack to.
2754
2754
  #
2755
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2755
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2756
2756
  def spacing_stack=(_arg0); end
2757
2757
 
2758
2758
  # Returns the value of attribute tokens.
2759
2759
  #
2760
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2760
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2761
2761
  def tokens; end
2762
2762
 
2763
2763
  # Sets the attribute tokens
2764
2764
  #
2765
2765
  # @param value the value to set the attribute tokens to.
2766
2766
  #
2767
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2434
2767
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2435
2768
2768
  def tokens=(_arg0); end
2769
2769
 
2770
2770
  class << self
2771
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2391
2771
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2392
2772
2772
  def long_prop_map; end
2773
2773
 
2774
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2395
2774
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2396
2775
2775
  def parse_prop_map(name); end
2776
2776
 
2777
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2399
2777
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2400
2778
2778
  def posix_classes; end
2779
2779
 
2780
2780
  # Scans the given regular expression text, or Regexp object and collects the
@@ -2789,7 +2789,7 @@ class Regexp::Scanner
2789
2789
 
2790
2790
  # lazy-load property maps when first needed
2791
2791
  #
2792
- # source://regexp_parser//lib/regexp_parser/scanner.rb#2387
2792
+ # source://regexp_parser//lib/regexp_parser/scanner.rb#2388
2793
2793
  def short_prop_map; end
2794
2794
  end
2795
2795
  end
@@ -2872,7 +2872,7 @@ end
2872
2872
 
2873
2873
  # Base for all scanner validation errors
2874
2874
  #
2875
- # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#4
2875
+ # source://regexp_parser//lib/regexp_parser/scanner/errors/validation_error.rb#3
2876
2876
  class Regexp::Scanner::ValidationError < ::Regexp::Scanner::ScannerError
2877
2877
  class << self
2878
2878
  # Centralizes and unifies the handling of validation related errors.
@@ -3053,7 +3053,7 @@ class Regexp::Syntax::Base
3053
3053
  end
3054
3054
 
3055
3055
  # source://regexp_parser//lib/regexp_parser/syntax/versions.rb#8
3056
- Regexp::Syntax::CURRENT = Regexp::Syntax::V3_1_0
3056
+ Regexp::Syntax::CURRENT = Regexp::Syntax::V3_2_0
3057
3057
 
3058
3058
  # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#6
3059
3059
  class Regexp::Syntax::InvalidVersionNameError < ::Regexp::Syntax::SyntaxError