ruby-next-parser 2.8.0.9 → 3.0.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2960,7 +2960,24 @@ keyword_variable: kNIL
2960
2960
  {
2961
2961
  result = []
2962
2962
  }
2963
- | assocs trailer
2963
+ | assoc_items trailer
2964
+
2965
+ assoc_items : assoc_item
2966
+ {
2967
+ result = [ val[0] ]
2968
+ }
2969
+ | assoc_items tCOMMA assoc_item
2970
+ {
2971
+ result = val[0] << val[2]
2972
+ }
2973
+
2974
+ assoc_item: assoc
2975
+ |
2976
+ tIDENTIFIER
2977
+ {
2978
+ lvar = @builder.accessible(@builder.ident(val[0]))
2979
+ result = @builder.ipair(lvar)
2980
+ }
2964
2981
 
2965
2982
  assocs: assoc
2966
2983
  {
@@ -3041,7 +3058,7 @@ require 'parser/ruby-next/parser_ext'
3041
3058
  prepend Parser::NextExt
3042
3059
 
3043
3060
  def version
3044
- 28
3061
+ 30
3045
3062
  end
3046
3063
 
3047
3064
  def default_encoding
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-next-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.0.9
4
+ version: 3.0.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-31 00:00:00.000000000 Z
11
+ date: 2020-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parser
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 2.7.1.4
19
+ version: 2.7.0.5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 2.7.1.4
26
+ version: 2.7.0.5
27
27
  description: "\n Parser extension to support edge and experimental Ruby syntax\n
28
28
  \ "
29
29
  email: