rubinius-ast 3.0 → 3.1
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/ast/definitions.rb +4 -0
- data/lib/rubinius/code/ast/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 628468826337b68a743dea494cd5c6907cbf187d
|
4
|
+
data.tar.gz: 722a5eedddf1e8d5f36ea15eb492d3801f78686d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48e412ceba5e0f0f9ab857378252d5b141d20810011cca1e6b95a691f507b347764bad141d152ad3642ec5b4282904437289377ea2671b0ba93cc2ecbba08d9b
|
7
|
+
data.tar.gz: 71b73229bce448504d13fa2dbfb733cf7d7a4ee1868b9774d662d35d0f84d3cff3c23986c3e85304f2b12819e4a4bf817d4a448adc7378d520a1d9f323301e9e
|
@@ -90,12 +90,16 @@ module CodeTools
|
|
90
90
|
end
|
91
91
|
|
92
92
|
def bytecode(g)
|
93
|
+
g.state.push_block
|
94
|
+
|
93
95
|
count = @array.size - 1
|
94
96
|
@array.each_with_index do |x, i|
|
95
97
|
start_ip = g.ip
|
96
98
|
x.bytecode(g)
|
97
99
|
g.pop unless start_ip == g.ip or i == count
|
98
100
|
end
|
101
|
+
|
102
|
+
g.state.pop_block
|
99
103
|
end
|
100
104
|
|
101
105
|
def to_sexp
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubinius-ast
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '3.
|
4
|
+
version: '3.1'
|
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-
|
11
|
+
date: 2016-02-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
14
|
+
version_requirements: !ruby/object:Gem::Requirement
|
16
15
|
requirements:
|
17
16
|
- - "~>"
|
18
17
|
- !ruby/object:Gem::Version
|
19
18
|
version: '1.3'
|
20
|
-
|
19
|
+
name: bundler
|
21
20
|
type: :development
|
22
|
-
|
21
|
+
requirement: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
23
|
- - "~>"
|
25
24
|
- !ruby/object:Gem::Version
|
26
25
|
version: '1.3'
|
26
|
+
prerelease: false
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
28
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
29
|
requirements:
|
31
30
|
- - "~>"
|
32
31
|
- !ruby/object:Gem::Version
|
33
32
|
version: '10.0'
|
34
|
-
|
33
|
+
name: rake
|
35
34
|
type: :development
|
36
|
-
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
37
36
|
requirements:
|
38
37
|
- - "~>"
|
39
38
|
- !ruby/object:Gem::Version
|
40
39
|
version: '10.0'
|
40
|
+
prerelease: false
|
41
41
|
description: An Abstract Syntax Tree for the Rubinius language platform.
|
42
42
|
email:
|
43
43
|
- brixen@gmail.com
|