parser 2.6.3.0 → 2.6.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +10 -10
- data/CHANGELOG.md +24 -2
- data/doc/AST_FORMAT.md +45 -3
- data/lib/parser.rb +1 -0
- data/lib/parser/ast/processor.rb +24 -1
- data/lib/parser/builders/default.rb +64 -12
- data/lib/parser/context.rb +8 -0
- data/lib/parser/current.rb +3 -3
- data/lib/parser/lexer.rl +84 -3
- data/lib/parser/lexer/max_numparam_stack.rb +42 -0
- data/lib/parser/messages.rb +26 -20
- data/lib/parser/meta.rb +1 -0
- data/lib/parser/ruby25.y +1 -1
- data/lib/parser/ruby27.y +65 -31
- data/lib/parser/runner/ruby_parse.rb +2 -2
- data/lib/parser/version.rb +1 -1
- data/parser.gemspec +1 -1
- data/test/test_lexer.rb +75 -0
- data/test/test_parser.rb +382 -3
- data/test/test_runner_parse.rb +35 -0
- metadata +7 -4
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- whitequark
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ast
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - '='
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: 1.4.
|
67
|
+
version: 1.4.15
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - '='
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: 1.4.
|
74
|
+
version: 1.4.15
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: cliver
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -201,6 +201,7 @@ files:
|
|
201
201
|
- lib/parser/lexer/dedenter.rb
|
202
202
|
- lib/parser/lexer/explanation.rb
|
203
203
|
- lib/parser/lexer/literal.rb
|
204
|
+
- lib/parser/lexer/max_numparam_stack.rb
|
204
205
|
- lib/parser/lexer/stack_state.rb
|
205
206
|
- lib/parser/macruby.rb
|
206
207
|
- lib/parser/macruby.y
|
@@ -275,6 +276,7 @@ files:
|
|
275
276
|
- test/test_lexer_stack_state.rb
|
276
277
|
- test/test_parse_helper.rb
|
277
278
|
- test/test_parser.rb
|
279
|
+
- test/test_runner_parse.rb
|
278
280
|
- test/test_runner_rewrite.rb
|
279
281
|
- test/test_source_buffer.rb
|
280
282
|
- test/test_source_comment.rb
|
@@ -327,6 +329,7 @@ test_files:
|
|
327
329
|
- test/test_lexer_stack_state.rb
|
328
330
|
- test/test_parse_helper.rb
|
329
331
|
- test/test_parser.rb
|
332
|
+
- test/test_runner_parse.rb
|
330
333
|
- test/test_runner_rewrite.rb
|
331
334
|
- test/test_source_buffer.rb
|
332
335
|
- test/test_source_comment.rb
|