ruby-next-parser 2.8.0.2 → 2.8.0.3

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: 269a26f7e61ba316923f6baf805429bcd4072615765700b55d57d18b3243ef57
4
- data.tar.gz: 5683439f31315151ab984c6fdfee064204d4c65cb5847f2385a2074806ef4132
3
+ metadata.gz: df9072e496b8b8f626aa8a6b6f09ce96269bf683ad6b60b50398d8f4f674d478
4
+ data.tar.gz: f3aa12ca97bd2075a8d9daa5e6fb0c4213335177b2a11edea3dfdca50b22ff69
5
5
  SHA512:
6
- metadata.gz: '0283462d43f6455de918eea2df8a38f4d379b4a2fdfcecfa5c5999ef33f502a4874e3b234528e5af41724638f253b0d2655ceaef70b465cdbc32fd6dfbd00f8a'
7
- data.tar.gz: 002d71dcb15cc5a8a96e4525ad8b242ff000051aa4f548b5457ac663fb683e2e5dc9f5e0b90f8083adcd45fc8b61a3986939c1a58fa7080002148c8166295c75
6
+ metadata.gz: 583b9ebe9bcdc6f101bf00cc55c13ab5999feb6670740a3980155099ac5d24289d341bc08ad128cd788db119ff4f0b9a7f4c8d1f65b651e364fddd83dce17e12
7
+ data.tar.gz: dad17b7a920ef51fdcd1d4d6bbce94ab826398028409fa81cbfa2850de7255855c7da134c16baf99ed7e060821db8c3749869771c5681d21005bc8bcc0cbd082
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "parser/ast/processor"
4
+
5
+ # Processor extensions
6
+ module Parser
7
+ module AST
8
+ class Processor
9
+ alias on_def_e on_def
10
+ alias on_defs_e on_defs
11
+ end
12
+ end
13
+ end
@@ -3,6 +3,7 @@
3
3
  require_relative "lexer"
4
4
  require_relative "builder"
5
5
  require_relative "source/map/endless_definition"
6
+ require_relative "ast/processor"
6
7
 
7
8
  module Parser
8
9
  # Patch the base parser class to use custom builder and lexer
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Parser
4
- NEXT_VERSION = "2.8.0.2"
4
+ NEXT_VERSION = "2.8.0.3"
5
5
  end
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.2
4
+ version: 2.8.0.3
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-04-25 00:00:00.000000000 Z
11
+ date: 2020-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parser
@@ -33,6 +33,7 @@ extensions: []
33
33
  extra_rdoc_files: []
34
34
  files:
35
35
  - lib/parser/ruby-next/AST_FORMAT.md
36
+ - lib/parser/ruby-next/ast/processor.rb
36
37
  - lib/parser/ruby-next/builder.rb
37
38
  - lib/parser/ruby-next/lexer.rb
38
39
  - lib/parser/ruby-next/lexer.rl