parser 3.1.2.1 → 3.1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2af0967a09b6a9965a76198eb9081b7b1a7f287534ed6ebd904c3dab4071ab31
4
- data.tar.gz: ff41dd72074325e42b743a5653526ab536984bbc007d41b3407e3f7641c96cd9
3
+ metadata.gz: 41190efffa46e773dca6e8579ecca87ded55e3156774838d0e6bea3cec40803e
4
+ data.tar.gz: e9219ad92e0da926e964d5f13a00208e772f4f3ba2af7910ac13fd9bf9dcb19b
5
5
  SHA512:
6
- metadata.gz: 9c6dec85eb0fb4a735eec43846ea605312891b880aa198cf172a85a57dceb80ae33120699ca8ef854bd33b5f89252b13f4ff9f800c9124ac9fb779e83c211230
7
- data.tar.gz: 2dbbfe323c61fbf395743ba81443104b652ab8d2a736e7ac3d1f01229ccf9551c2edf13f48c901ca3e8c3337780c0d91cf6bd0cbadcb53d6209b092ff398a0a5
6
+ metadata.gz: 786be93811a076e9736a02fccafab91eac37e4d6eab27cdafffc41743ed93e910c84cf073fde0195b7e51e47e1d6868b9673d7c91fbd792ac17428afeabcf68f
7
+ data.tar.gz: 472cc7b075befe6502a6f1f543565941cc9d1ffd3c7e5f66f2f21bfed82597cc0a0ad42b8e0f3319321fa9554fbd44a9d375b9a7f226231c7980d8782e5dd23a
@@ -148,6 +148,9 @@ module Parser
148
148
  alias on_blockarg_expr process_regular_node
149
149
  alias on_block_pass process_regular_node
150
150
 
151
+ alias on_forwarded_restarg process_regular_node
152
+ alias on_forwarded_kwrestarg process_regular_node
153
+
151
154
  alias on_module process_regular_node
152
155
  alias on_class process_regular_node
153
156
  alias on_sclass process_regular_node
@@ -1078,6 +1078,14 @@ module Parser
1078
1078
  n(:forwarded_args, [], token_map(dots_t))
1079
1079
  end
1080
1080
 
1081
+ def forwarded_restarg(star_t)
1082
+ n(:forwarded_restarg, [], token_map(star_t))
1083
+ end
1084
+
1085
+ def forwarded_kwrestarg(dstar_t)
1086
+ n(:forwarded_kwrestarg, [], token_map(dstar_t))
1087
+ end
1088
+
1081
1089
  def call_method(receiver, dot_t, selector_t,
1082
1090
  lparen_t=nil, args=[], rparen_t=nil)
1083
1091
  type = call_type_for_dot(dot_t)
@@ -75,7 +75,7 @@ module Parser
75
75
  CurrentRuby = Ruby26
76
76
 
77
77
  when /^2\.7\./
78
- current_version = '2.7.6'
78
+ current_version = '2.7.7'
79
79
  if RUBY_VERSION != current_version
80
80
  warn_syntax_deviation 'parser/ruby27', current_version
81
81
  end
@@ -84,7 +84,7 @@ module Parser
84
84
  CurrentRuby = Ruby27
85
85
 
86
86
  when /^3\.0\./
87
- current_version = '3.0.4'
87
+ current_version = '3.0.5'
88
88
  if RUBY_VERSION != current_version
89
89
  warn_syntax_deviation 'parser/ruby30', current_version
90
90
  end
@@ -93,7 +93,7 @@ module Parser
93
93
  CurrentRuby = Ruby30
94
94
 
95
95
  when /^3\.1\./
96
- current_version = '3.1.2'
96
+ current_version = '3.1.3'
97
97
  if RUBY_VERSION != current_version
98
98
  warn_syntax_deviation 'parser/ruby31', current_version
99
99
  end