parser 2.2.2.6 → 2.2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.yardopts +3 -0
- data/CHANGELOG.md +25 -0
- data/README.md +6 -0
- data/Rakefile +3 -1
- data/doc/AST_FORMAT.md +74 -0
- data/lib/parser.rb +1 -0
- data/lib/parser/builders/default.rb +37 -0
- data/lib/parser/current.rb +11 -3
- data/lib/parser/lexer.rl +1 -1
- data/lib/parser/macruby.y +2171 -0
- data/lib/parser/ruby21.y +10 -2
- data/lib/parser/ruby22.y +10 -2
- data/lib/parser/rubymotion.y +2144 -0
- data/lib/parser/runner.rb +10 -0
- data/lib/parser/source/buffer.rb +5 -3
- data/lib/parser/source/map/objc_kwarg.rb +17 -0
- data/lib/parser/version.rb +1 -1
- data/parser.gemspec +3 -1
- data/test/parse_helper.rb +5 -1
- data/test/test_parser.rb +171 -65
- metadata +8 -3
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.2.
|
4
|
+
version: 2.2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- whitequark
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ast
|
@@ -269,6 +269,8 @@ files:
|
|
269
269
|
- lib/parser/lexer/explanation.rb
|
270
270
|
- lib/parser/lexer/literal.rb
|
271
271
|
- lib/parser/lexer/stack_state.rb
|
272
|
+
- lib/parser/macruby.rb
|
273
|
+
- lib/parser/macruby.y
|
272
274
|
- lib/parser/messages.rb
|
273
275
|
- lib/parser/meta.rb
|
274
276
|
- lib/parser/rewriter.rb
|
@@ -282,6 +284,8 @@ files:
|
|
282
284
|
- lib/parser/ruby21.y
|
283
285
|
- lib/parser/ruby22.rb
|
284
286
|
- lib/parser/ruby22.y
|
287
|
+
- lib/parser/rubymotion.rb
|
288
|
+
- lib/parser/rubymotion.y
|
285
289
|
- lib/parser/runner.rb
|
286
290
|
- lib/parser/runner/ruby_parse.rb
|
287
291
|
- lib/parser/runner/ruby_rewrite.rb
|
@@ -296,6 +300,7 @@ files:
|
|
296
300
|
- lib/parser/source/map/for.rb
|
297
301
|
- lib/parser/source/map/heredoc.rb
|
298
302
|
- lib/parser/source/map/keyword.rb
|
303
|
+
- lib/parser/source/map/objc_kwarg.rb
|
299
304
|
- lib/parser/source/map/operator.rb
|
300
305
|
- lib/parser/source/map/rescue_body.rb
|
301
306
|
- lib/parser/source/map/send.rb
|