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 +4 -4
- data/lib/rubinius/code/processor/processor.rb +16 -0
- data/lib/rubinius/code/processor/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6137238dfc52f1227000ea8d84709582b1a9cb3f
|
4
|
+
data.tar.gz: 59272406274826c7249dfa0de9d0956ae4f8816f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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-
|
11
|
+
date: 2016-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|