rubinius-processor 3.1 → 3.2

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
  SHA1:
3
- metadata.gz: b0bdd37c7cc8ebb587384ab11f39ef24a18b19b3
4
- data.tar.gz: 6f9f827c44675de247fd8a31e10cd037aa2e370d
3
+ metadata.gz: 6137238dfc52f1227000ea8d84709582b1a9cb3f
4
+ data.tar.gz: 59272406274826c7249dfa0de9d0956ae4f8816f
5
5
  SHA512:
6
- metadata.gz: 54e17a3426de430dca889af31c76cb634ad589fda9f01f1cb7d04ec54b03c55ecfa6c680ba9ec9807e6b45ad2d26d3d998f843a0b91f5cf7245f45e2b827cf83
7
- data.tar.gz: 7b7ebce4cfb3809a0763c449d19f9512b70d46f0fdff121541ef76c2ef3e0c2e2cd50a7878cb5220bd93f5eca208c0216944b7b15582db04281d83121ba07d4b
6
+ metadata.gz: 15b1c7b746ed5932df328f324ce91b4ba99136c3f6185cb8396affc7995d25bfdc5260f43fadbccf0600ecd0e291b9206c47a0c674f583b198994382b0cc8aa5
7
+ data.tar.gz: 41ecd11ea4ad8e5ea7064df4ec0c90cac9c18941ba18b3d8ced95f9e290295709fbed22009619cb4a84283da07ab714892d77c23aae22dbe547ab393d220737e
@@ -198,10 +198,18 @@ module CodeTools
198
198
  AST::Define.new line, name, body
199
199
  end
200
200
 
201
+ def process_defnm(line, name, body)
202
+ AST::DefineMulti.new line, name, body
203
+ end
204
+
201
205
  def process_defs(line, receiver, name, body)
202
206
  AST::DefineSingleton.new line, receiver, name, body
203
207
  end
204
208
 
209
+ def process_defsm(line, receiver, name, body)
210
+ AST::DefineSingletonMulti.new line, receiver, name, body
211
+ end
212
+
205
213
  def process_dot2(line, start, finish)
206
214
  AST::Range.new line, start, finish
207
215
  end
@@ -302,6 +310,14 @@ module CodeTools
302
310
  send
303
311
  end
304
312
 
313
+ def process_fun(line, name, body)
314
+ AST::DefineFunction.new line, name, body
315
+ end
316
+
317
+ def process_funm(line, name, body)
318
+ AST::DefineFunctionMulti.new line, name, body
319
+ end
320
+
305
321
  def process_gasgn(line, name, expr)
306
322
  AST::GlobalVariableAssignment.new line, name, expr
307
323
  end
@@ -1,5 +1,5 @@
1
1
  module CodeTools
2
2
  class Processor
3
- VERSION = "3.1"
3
+ VERSION = "3.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubinius-processor
3
3
  version: !ruby/object:Gem::Version
4
- version: '3.1'
4
+ version: '3.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Shirai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-10 00:00:00.000000000 Z
11
+ date: 2016-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler