ruby-vpi 7.2.0 → 7.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/HEADER +4 -5
- data/HISTORY +18 -2
- data/MEMO +10 -6
- data/Rakefile +11 -14
- data/bin/generate_test.rb +7 -58
- data/bin/generate_test_tpl/bench.v +15 -19
- data/bin/generate_test_tpl/design.rb +8 -8
- data/bin/generate_test_tpl/spec.rb +2 -2
- data/bin/header_to_ruby.rb +2 -27
- data/doc/xhtml/background.organization.html +1 -1
- data/doc/xhtml/index.html +2 -2
- data/header.html +3 -6
- data/header.part.html +3 -6
- data/history.html +35 -8
- data/history.part.html +32 -2
- data/lib/ruby-vpi/verilog_parser.rb +136 -0
- data/lib/ruby-vpi/vpi_util.rb +10 -0
- data/memo.html +19 -17
- data/memo.part.html +16 -11
- data/readme.html +3 -6
- data/ref/c/annotated.html +1 -1
- data/ref/c/common_8h.html +1 -1
- data/ref/c/files.html +1 -1
- data/ref/c/functions.html +1 -1
- data/ref/c/functions_vars.html +1 -1
- data/ref/c/globals.html +1 -1
- data/ref/c/globals_0x63.html +1 -1
- data/ref/c/globals_0x65.html +1 -1
- data/ref/c/globals_0x66.html +1 -1
- data/ref/c/globals_0x70.html +1 -1
- data/ref/c/globals_0x72.html +1 -1
- data/ref/c/globals_0x73.html +1 -1
- data/ref/c/globals_0x74.html +1 -1
- data/ref/c/globals_0x76.html +1 -1
- data/ref/c/globals_0x78.html +1 -1
- data/ref/c/globals_defs.html +1 -1
- data/ref/c/globals_defs_0x65.html +1 -1
- data/ref/c/globals_defs_0x70.html +1 -1
- data/ref/c/globals_defs_0x76.html +1 -1
- data/ref/c/globals_defs_0x78.html +1 -1
- data/ref/c/globals_enum.html +1 -1
- data/ref/c/globals_eval.html +1 -1
- data/ref/c/globals_func.html +1 -1
- data/ref/c/globals_type.html +1 -1
- data/ref/c/globals_vars.html +1 -1
- data/ref/c/hierarchy.html +1 -1
- data/ref/c/index.html +1 -1
- data/ref/c/relay_8cin.html +1 -1
- data/ref/c/relay_8hin.html +1 -1
- data/ref/c/ruby-vpi_8c.html +1 -1
- data/ref/c/structrelay____RubyOptions____def.html +1 -1
- data/ref/c/structt__cb__data.html +1 -1
- data/ref/c/structt__vpi__delay.html +1 -1
- data/ref/c/structt__vpi__error__info.html +1 -1
- data/ref/c/structt__vpi__strengthval.html +1 -1
- data/ref/c/structt__vpi__systf__data.html +1 -1
- data/ref/c/structt__vpi__time.html +1 -1
- data/ref/c/structt__vpi__value.html +1 -1
- data/ref/c/structt__vpi__vecval.html +1 -1
- data/ref/c/structt__vpi__vlog__info.html +1 -1
- data/ref/c/swig_8cin.html +1 -1
- data/ref/c/swig_8hin.html +1 -1
- data/ref/c/verilog_8h.html +1 -1
- data/ref/c/vlog_8cin.html +1 -1
- data/ref/c/vlog_8hin.html +1 -1
- data/ref/c/vpi__user_8h.html +1 -1
- data/ref/ruby/classes/ERB.html +5 -5
- data/ref/ruby/classes/ERB.src/{M000011.html → M000018.html} +0 -0
- data/ref/ruby/classes/FileUtils.html +10 -10
- data/ref/ruby/classes/FileUtils.src/{M000065.html → M000073.html} +0 -0
- data/ref/ruby/classes/FileUtils.src/{M000066.html → M000074.html} +0 -0
- data/ref/ruby/classes/OutputInfo.html +5 -5
- data/ref/ruby/classes/OutputInfo.src/{M000007.html → M000014.html} +37 -37
- data/ref/ruby/classes/RDoc.html +5 -5
- data/ref/ruby/classes/RDoc.src/{M000069.html → M000077.html} +0 -0
- data/ref/ruby/classes/RubyVPI.html +10 -10
- data/ref/ruby/classes/RubyVPI.src/{M000067.html → M000075.html} +0 -0
- data/ref/ruby/classes/RubyVPI.src/{M000068.html → M000076.html} +0 -0
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.html +72 -35
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000065.html +18 -0
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000066.html +18 -0
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000059.html → M000067.html} +8 -8
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000060.html → M000068.html} +29 -29
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000061.html → M000069.html} +63 -63
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000062.html → M000070.html} +106 -106
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000063.html → M000071.html} +12 -12
- data/ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/{M000064.html → M000072.html} +4 -4
- data/ref/ruby/classes/String.html +27 -9
- data/ref/ruby/classes/String.src/M000016.html +41 -0
- data/ref/ruby/classes/String.src/M000017.html +18 -0
- data/ref/ruby/classes/Table.html +20 -20
- data/ref/ruby/classes/Table.src/{M000003.html → M000010.html} +0 -0
- data/ref/ruby/classes/Table.src/{M000004.html → M000011.html} +0 -0
- data/ref/ruby/classes/Table.src/{M000005.html → M000012.html} +0 -0
- data/ref/ruby/classes/Table.src/{M000006.html → M000013.html} +0 -0
- data/ref/ruby/classes/Template.html +5 -5
- data/ref/ruby/classes/Template.src/{M000010.html → M000015.html} +0 -0
- data/ref/ruby/classes/VerilogParser/Module/Parameter.html +160 -0
- data/ref/ruby/classes/VerilogParser/Module/Parameter.src/M000009.html +21 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.html +207 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000005.html +21 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000006.html +18 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000007.html +18 -0
- data/ref/ruby/classes/VerilogParser/Module/Port.src/M000008.html +18 -0
- data/ref/ruby/classes/VerilogParser/Module.html +172 -0
- data/ref/ruby/classes/VerilogParser/Module.src/M000004.html +29 -0
- data/ref/ruby/classes/{ModuleInfo.html → VerilogParser.html} +38 -50
- data/ref/ruby/classes/VerilogParser.src/M000003.html +34 -0
- data/ref/ruby/classes/XX/Document.html +45 -45
- data/ref/ruby/classes/XX/Document.src/M000056.html +9 -8
- data/ref/ruby/classes/XX/Document.src/M000057.html +7 -21
- data/ref/ruby/classes/XX/Document.src/M000058.html +7 -85
- data/ref/ruby/classes/XX/Document.src/{M000053.html → M000059.html} +0 -0
- data/ref/ruby/classes/XX/Document.src/{M000054.html → M000060.html} +0 -0
- data/ref/ruby/classes/XX/Document.src/{M000055.html → M000061.html} +0 -0
- data/ref/ruby/classes/XX/Document.src/M000062.html +21 -0
- data/ref/ruby/classes/XX/Document.src/M000063.html +34 -0
- data/ref/ruby/classes/XX/Document.src/M000064.html +98 -0
- data/ref/ruby/classes/XX/HTML4/Strict.html +5 -5
- data/ref/ruby/classes/XX/HTML4/Strict.src/{M000016.html → M000022.html} +0 -0
- data/ref/ruby/classes/XX/HTML4/Transitional.html +5 -5
- data/ref/ruby/classes/XX/HTML4/Transitional.src/{M000015.html → M000021.html} +0 -0
- data/ref/ruby/classes/XX/HTML4.html +5 -5
- data/ref/ruby/classes/XX/HTML4.src/{M000014.html → M000020.html} +0 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.html +40 -40
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000028.html +9 -14
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000029.html +7 -9
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/{M000024.html → M000030.html} +0 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/{M000025.html → M000031.html} +0 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/{M000026.html → M000032.html} +0 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/{M000027.html → M000033.html} +0 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000034.html +27 -0
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000035.html +22 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.html +100 -100
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000036.html +43 -19
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000037.html +20 -19
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000038.html +18 -15
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000039.html +35 -10
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000040.html +7 -13
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000041.html +18 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000042.html +19 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000043.html +19 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000044.html +15 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000045.html +10 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000046.html +13 -8
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000047.html +7 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000048.html +7 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000049.html +7 -7
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000050.html +20 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000051.html +20 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000052.html +21 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000053.html +20 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000054.html +20 -0
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000055.html +20 -0
- data/ref/ruby/classes/XX/Markup.html +5 -5
- data/ref/ruby/classes/XX/Markup.src/{M000021.html → M000027.html} +0 -0
- data/ref/ruby/classes/XX/XHTML/Strict.html +5 -5
- data/ref/ruby/classes/XX/XHTML/Strict.src/{M000020.html → M000026.html} +0 -0
- data/ref/ruby/classes/XX/XHTML/Transitional.html +5 -5
- data/ref/ruby/classes/XX/XHTML/Transitional.src/{M000019.html → M000025.html} +0 -0
- data/ref/ruby/classes/XX/XHTML.html +5 -5
- data/ref/ruby/classes/XX/XHTML.src/{M000018.html → M000024.html} +0 -0
- data/ref/ruby/classes/XX/XML.html +5 -5
- data/ref/ruby/classes/XX/XML.src/{M000013.html → M000019.html} +0 -0
- data/ref/ruby/classes/XX/XMLish.html +5 -5
- data/ref/ruby/classes/XX/XMLish.src/{M000017.html → M000023.html} +0 -0
- data/ref/ruby/created.rid +1 -1
- data/ref/ruby/files/bin/generate_test_rb.html +2 -1
- data/ref/ruby/files/bin/generate_test_rb.src/M000001.html +15 -15
- data/ref/ruby/files/bin/header_to_ruby_rb.html +2 -1
- data/ref/ruby/files/lib/ruby-vpi/erb_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/rake_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/rcov_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/rdoc_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/rspec_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/runner_proxy_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/runner_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/verilog_parser_rb.html +107 -0
- data/ref/ruby/files/lib/ruby-vpi/vpi_util_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi/xx_rb.html +1 -1
- data/ref/ruby/files/lib/ruby-vpi_rb.html +1 -1
- data/ref/ruby/fr_class_index.html +4 -1
- data/ref/ruby/fr_file_index.html +1 -0
- data/ref/ruby/fr_method_index.html +75 -67
- data/samp/counter/counter_rspecTest_bench.v +4 -5
- data/samp/counter/counter_unitTest_bench.v +6 -5
- data/samp/pipelined_alu/Hw5UnitModel.rb +4 -4
- data/samp/pipelined_alu/hw5_unit.v +15 -23
- data/samp/pipelined_alu/hw5_unit_test_bench.rb +9 -0
- data/samp/pipelined_alu/hw5_unit_test_bench.v +39 -0
- data/samp/pipelined_alu/hw5_unit_test_design.rb +88 -0
- data/samp/pipelined_alu/hw5_unit_test_proto.rb +8 -0
- data/samp/pipelined_alu/hw5_unit_test_runner.rake +28 -0
- data/samp/pipelined_alu/hw5_unit_test_spec.rb +88 -0
- metadata +82 -63
- data/ref/ruby/classes/ModuleInfo.src/M000008.html +0 -44
- data/ref/ruby/classes/ModuleInfo.src/M000009.html +0 -26
- data/ref/ruby/classes/String.src/M000012.html +0 -37
- data/ref/ruby/classes/XX/Document.src/M000050.html +0 -22
- data/ref/ruby/classes/XX/Document.src/M000051.html +0 -20
- data/ref/ruby/classes/XX/Document.src/M000052.html +0 -20
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000022.html +0 -22
- data/ref/ruby/classes/XX/Markup/ClassMethods.src/M000023.html +0 -20
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000030.html +0 -56
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000031.html +0 -33
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000032.html +0 -31
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000033.html +0 -48
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000034.html +0 -20
- data/ref/ruby/classes/XX/Markup/InstanceMethods.src/M000035.html +0 -31
- data/samp/pipelined_alu/hw5_unit_bench.rb +0 -8
- data/samp/pipelined_alu/hw5_unit_bench.v +0 -45
- data/samp/pipelined_alu/hw5_unit_design.rb +0 -18
- data/samp/pipelined_alu/hw5_unit_runner.rake +0 -10
- data/samp/pipelined_alu/hw5_unit_spec.rb +0 -123
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: ruby-vpi
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 7.
|
7
|
-
date: 2006-09-
|
6
|
+
version: 7.3.0
|
7
|
+
date: 2006-09-30 00:00:00 -07:00
|
8
8
|
summary: Ruby interface to Verilog VPI.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -35,22 +35,22 @@ files:
|
|
35
35
|
- MEMO
|
36
36
|
- doc
|
37
37
|
- ext
|
38
|
-
- header.html
|
39
38
|
- LICENSE
|
40
39
|
- README
|
41
40
|
- gem_extconf.rb
|
42
41
|
- lib
|
43
42
|
- HISTORY
|
44
43
|
- HEADER
|
44
|
+
- bin
|
45
|
+
- style.css
|
46
|
+
- header.html
|
45
47
|
- header.part.html
|
46
48
|
- readme.html
|
47
49
|
- readme.part.html
|
48
50
|
- history.html
|
49
51
|
- history.part.html
|
50
52
|
- memo.html
|
51
|
-
- bin
|
52
53
|
- memo.part.html
|
53
|
-
- style.css
|
54
54
|
- ref/c
|
55
55
|
- ref/ruby
|
56
56
|
- ref/c/doxygen.png
|
@@ -131,39 +131,54 @@ files:
|
|
131
131
|
- ref/ruby/files/lib/ruby-vpi/rdoc_rb.html
|
132
132
|
- ref/ruby/files/lib/ruby-vpi/runner_rb.html
|
133
133
|
- ref/ruby/files/lib/ruby-vpi/rcov_rb.html
|
134
|
+
- ref/ruby/files/lib/ruby-vpi/verilog_parser_rb.html
|
134
135
|
- ref/ruby/files/lib/ruby-vpi/runner_rb.src/M000002.html
|
136
|
+
- ref/ruby/classes/VerilogParser.src
|
137
|
+
- ref/ruby/classes/VerilogParser
|
135
138
|
- ref/ruby/classes/Table.src
|
136
139
|
- ref/ruby/classes/OutputInfo.src
|
137
|
-
- ref/ruby/classes/ModuleInfo.src
|
138
140
|
- ref/ruby/classes/Template.src
|
139
|
-
- ref/ruby/classes/ERB.src
|
140
141
|
- ref/ruby/classes/String.src
|
142
|
+
- ref/ruby/classes/ERB.src
|
141
143
|
- ref/ruby/classes/XX
|
142
144
|
- ref/ruby/classes/SWIG
|
143
145
|
- ref/ruby/classes/FileUtils.src
|
144
146
|
- ref/ruby/classes/RubyVPI.src
|
145
147
|
- ref/ruby/classes/RDoc.src
|
148
|
+
- ref/ruby/classes/VerilogParser.html
|
146
149
|
- ref/ruby/classes/Table.html
|
147
150
|
- ref/ruby/classes/OutputInfo.html
|
148
|
-
- ref/ruby/classes/ModuleInfo.html
|
149
151
|
- ref/ruby/classes/Template.html
|
150
|
-
- ref/ruby/classes/ERB.html
|
151
152
|
- ref/ruby/classes/String.html
|
153
|
+
- ref/ruby/classes/ERB.html
|
152
154
|
- ref/ruby/classes/XX.html
|
153
155
|
- ref/ruby/classes/SWIG.html
|
154
156
|
- ref/ruby/classes/FileUtils.html
|
155
157
|
- ref/ruby/classes/RubyVPI.html
|
156
158
|
- ref/ruby/classes/RDoc.html
|
157
|
-
- ref/ruby/classes/
|
158
|
-
- ref/ruby/classes/
|
159
|
-
- ref/ruby/classes/
|
160
|
-
- ref/ruby/classes/
|
161
|
-
- ref/ruby/classes/
|
162
|
-
- ref/ruby/classes/
|
163
|
-
- ref/ruby/classes/
|
164
|
-
- ref/ruby/classes/
|
165
|
-
- ref/ruby/classes/
|
166
|
-
- ref/ruby/classes/
|
159
|
+
- ref/ruby/classes/VerilogParser.src/M000003.html
|
160
|
+
- ref/ruby/classes/VerilogParser/Module.src
|
161
|
+
- ref/ruby/classes/VerilogParser/Module
|
162
|
+
- ref/ruby/classes/VerilogParser/Module.html
|
163
|
+
- ref/ruby/classes/VerilogParser/Module.src/M000004.html
|
164
|
+
- ref/ruby/classes/VerilogParser/Module/Port.src
|
165
|
+
- ref/ruby/classes/VerilogParser/Module/Parameter.src
|
166
|
+
- ref/ruby/classes/VerilogParser/Module/Port.html
|
167
|
+
- ref/ruby/classes/VerilogParser/Module/Parameter.html
|
168
|
+
- ref/ruby/classes/VerilogParser/Module/Port.src/M000005.html
|
169
|
+
- ref/ruby/classes/VerilogParser/Module/Port.src/M000006.html
|
170
|
+
- ref/ruby/classes/VerilogParser/Module/Port.src/M000007.html
|
171
|
+
- ref/ruby/classes/VerilogParser/Module/Port.src/M000008.html
|
172
|
+
- ref/ruby/classes/VerilogParser/Module/Parameter.src/M000009.html
|
173
|
+
- ref/ruby/classes/Table.src/M000010.html
|
174
|
+
- ref/ruby/classes/Table.src/M000011.html
|
175
|
+
- ref/ruby/classes/Table.src/M000012.html
|
176
|
+
- ref/ruby/classes/Table.src/M000013.html
|
177
|
+
- ref/ruby/classes/OutputInfo.src/M000014.html
|
178
|
+
- ref/ruby/classes/Template.src/M000015.html
|
179
|
+
- ref/ruby/classes/String.src/M000016.html
|
180
|
+
- ref/ruby/classes/String.src/M000017.html
|
181
|
+
- ref/ruby/classes/ERB.src/M000018.html
|
167
182
|
- ref/ruby/classes/XX/XML.src
|
168
183
|
- ref/ruby/classes/XX/HTML4.src
|
169
184
|
- ref/ruby/classes/XX/HTML4
|
@@ -179,42 +194,36 @@ files:
|
|
179
194
|
- ref/ruby/classes/XX/XHTML.html
|
180
195
|
- ref/ruby/classes/XX/Markup.html
|
181
196
|
- ref/ruby/classes/XX/Document.html
|
182
|
-
- ref/ruby/classes/XX/XML.src/
|
183
|
-
- ref/ruby/classes/XX/HTML4.src/
|
197
|
+
- ref/ruby/classes/XX/XML.src/M000019.html
|
198
|
+
- ref/ruby/classes/XX/HTML4.src/M000020.html
|
184
199
|
- ref/ruby/classes/XX/HTML4/Transitional.src
|
185
200
|
- ref/ruby/classes/XX/HTML4/Strict.src
|
186
201
|
- ref/ruby/classes/XX/HTML4/Transitional.html
|
187
202
|
- ref/ruby/classes/XX/HTML4/Strict.html
|
188
|
-
- ref/ruby/classes/XX/HTML4/Transitional.src/
|
189
|
-
- ref/ruby/classes/XX/HTML4/Strict.src/
|
190
|
-
- ref/ruby/classes/XX/XMLish.src/
|
191
|
-
- ref/ruby/classes/XX/XHTML.src/
|
203
|
+
- ref/ruby/classes/XX/HTML4/Transitional.src/M000021.html
|
204
|
+
- ref/ruby/classes/XX/HTML4/Strict.src/M000022.html
|
205
|
+
- ref/ruby/classes/XX/XMLish.src/M000023.html
|
206
|
+
- ref/ruby/classes/XX/XHTML.src/M000024.html
|
192
207
|
- ref/ruby/classes/XX/XHTML/Transitional.src
|
193
208
|
- ref/ruby/classes/XX/XHTML/Strict.src
|
194
209
|
- ref/ruby/classes/XX/XHTML/Transitional.html
|
195
210
|
- ref/ruby/classes/XX/XHTML/Strict.html
|
196
|
-
- ref/ruby/classes/XX/XHTML/Transitional.src/
|
197
|
-
- ref/ruby/classes/XX/XHTML/Strict.src/
|
198
|
-
- ref/ruby/classes/XX/Markup.src/
|
211
|
+
- ref/ruby/classes/XX/XHTML/Transitional.src/M000025.html
|
212
|
+
- ref/ruby/classes/XX/XHTML/Strict.src/M000026.html
|
213
|
+
- ref/ruby/classes/XX/Markup.src/M000027.html
|
199
214
|
- ref/ruby/classes/XX/Markup/ClassMethods.src
|
200
215
|
- ref/ruby/classes/XX/Markup/InstanceMethods.src
|
201
216
|
- ref/ruby/classes/XX/Markup/ClassMethods.html
|
202
217
|
- ref/ruby/classes/XX/Markup/InstanceMethods.html
|
203
218
|
- ref/ruby/classes/XX/Markup/Error.html
|
204
|
-
- ref/ruby/classes/XX/Markup/ClassMethods.src/M000022.html
|
205
|
-
- ref/ruby/classes/XX/Markup/ClassMethods.src/M000023.html
|
206
|
-
- ref/ruby/classes/XX/Markup/ClassMethods.src/M000024.html
|
207
|
-
- ref/ruby/classes/XX/Markup/ClassMethods.src/M000025.html
|
208
|
-
- ref/ruby/classes/XX/Markup/ClassMethods.src/M000026.html
|
209
|
-
- ref/ruby/classes/XX/Markup/ClassMethods.src/M000027.html
|
210
219
|
- ref/ruby/classes/XX/Markup/ClassMethods.src/M000028.html
|
211
220
|
- ref/ruby/classes/XX/Markup/ClassMethods.src/M000029.html
|
212
|
-
- ref/ruby/classes/XX/Markup/
|
213
|
-
- ref/ruby/classes/XX/Markup/
|
214
|
-
- ref/ruby/classes/XX/Markup/
|
215
|
-
- ref/ruby/classes/XX/Markup/
|
216
|
-
- ref/ruby/classes/XX/Markup/
|
217
|
-
- ref/ruby/classes/XX/Markup/
|
221
|
+
- ref/ruby/classes/XX/Markup/ClassMethods.src/M000030.html
|
222
|
+
- ref/ruby/classes/XX/Markup/ClassMethods.src/M000031.html
|
223
|
+
- ref/ruby/classes/XX/Markup/ClassMethods.src/M000032.html
|
224
|
+
- ref/ruby/classes/XX/Markup/ClassMethods.src/M000033.html
|
225
|
+
- ref/ruby/classes/XX/Markup/ClassMethods.src/M000034.html
|
226
|
+
- ref/ruby/classes/XX/Markup/ClassMethods.src/M000035.html
|
218
227
|
- ref/ruby/classes/XX/Markup/InstanceMethods.src/M000036.html
|
219
228
|
- ref/ruby/classes/XX/Markup/InstanceMethods.src/M000037.html
|
220
229
|
- ref/ruby/classes/XX/Markup/InstanceMethods.src/M000038.html
|
@@ -229,28 +238,36 @@ files:
|
|
229
238
|
- ref/ruby/classes/XX/Markup/InstanceMethods.src/M000047.html
|
230
239
|
- ref/ruby/classes/XX/Markup/InstanceMethods.src/M000048.html
|
231
240
|
- ref/ruby/classes/XX/Markup/InstanceMethods.src/M000049.html
|
232
|
-
- ref/ruby/classes/XX/
|
233
|
-
- ref/ruby/classes/XX/
|
234
|
-
- ref/ruby/classes/XX/
|
235
|
-
- ref/ruby/classes/XX/
|
236
|
-
- ref/ruby/classes/XX/
|
237
|
-
- ref/ruby/classes/XX/
|
241
|
+
- ref/ruby/classes/XX/Markup/InstanceMethods.src/M000050.html
|
242
|
+
- ref/ruby/classes/XX/Markup/InstanceMethods.src/M000051.html
|
243
|
+
- ref/ruby/classes/XX/Markup/InstanceMethods.src/M000052.html
|
244
|
+
- ref/ruby/classes/XX/Markup/InstanceMethods.src/M000053.html
|
245
|
+
- ref/ruby/classes/XX/Markup/InstanceMethods.src/M000054.html
|
246
|
+
- ref/ruby/classes/XX/Markup/InstanceMethods.src/M000055.html
|
238
247
|
- ref/ruby/classes/XX/Document.src/M000056.html
|
239
248
|
- ref/ruby/classes/XX/Document.src/M000057.html
|
240
249
|
- ref/ruby/classes/XX/Document.src/M000058.html
|
250
|
+
- ref/ruby/classes/XX/Document.src/M000059.html
|
251
|
+
- ref/ruby/classes/XX/Document.src/M000060.html
|
252
|
+
- ref/ruby/classes/XX/Document.src/M000061.html
|
253
|
+
- ref/ruby/classes/XX/Document.src/M000062.html
|
254
|
+
- ref/ruby/classes/XX/Document.src/M000063.html
|
255
|
+
- ref/ruby/classes/XX/Document.src/M000064.html
|
241
256
|
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src
|
242
257
|
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.html
|
243
|
-
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/
|
244
|
-
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/
|
245
|
-
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/
|
246
|
-
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/
|
247
|
-
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/
|
248
|
-
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/
|
249
|
-
- ref/ruby/classes/
|
250
|
-
- ref/ruby/classes/
|
251
|
-
- ref/ruby/classes/
|
252
|
-
- ref/ruby/classes/
|
253
|
-
- ref/ruby/classes/
|
258
|
+
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000065.html
|
259
|
+
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000066.html
|
260
|
+
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000067.html
|
261
|
+
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000068.html
|
262
|
+
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000069.html
|
263
|
+
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000070.html
|
264
|
+
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000071.html
|
265
|
+
- ref/ruby/classes/SWIG/TYPE_p_unsigned_int.src/M000072.html
|
266
|
+
- ref/ruby/classes/FileUtils.src/M000073.html
|
267
|
+
- ref/ruby/classes/FileUtils.src/M000074.html
|
268
|
+
- ref/ruby/classes/RubyVPI.src/M000075.html
|
269
|
+
- ref/ruby/classes/RubyVPI.src/M000076.html
|
270
|
+
- ref/ruby/classes/RDoc.src/M000077.html
|
254
271
|
- samp/counter
|
255
272
|
- samp/pipelined_alu
|
256
273
|
- samp/counter/counter.v
|
@@ -267,17 +284,18 @@ files:
|
|
267
284
|
- samp/counter/counter_rspecTest_bench.v
|
268
285
|
- samp/counter/counter_rspecTest_spec.rb
|
269
286
|
- samp/counter/counter_unitTest_runner.rake
|
287
|
+
- samp/pipelined_alu/hw5_unit_test_proto.rb
|
288
|
+
- samp/pipelined_alu/hw5_unit.v
|
270
289
|
- samp/pipelined_alu/Hw5UnitModel.rb
|
271
290
|
- samp/pipelined_alu/InputGenerator.rb
|
272
291
|
- samp/pipelined_alu/README
|
273
292
|
- samp/pipelined_alu/Rakefile
|
274
|
-
- samp/pipelined_alu/
|
275
|
-
- samp/pipelined_alu/
|
276
|
-
- samp/pipelined_alu/hw5_unit_bench.rb
|
277
|
-
- samp/pipelined_alu/hw5_unit_bench.v
|
278
|
-
- samp/pipelined_alu/hw5_unit_design.rb
|
279
|
-
- samp/pipelined_alu/hw5_unit_runner.rake
|
293
|
+
- samp/pipelined_alu/hw5_unit_test_runner.rake
|
294
|
+
- samp/pipelined_alu/hw5_unit_test_spec.rb
|
280
295
|
- samp/pipelined_alu/TestHw5UnitModel.rb
|
296
|
+
- samp/pipelined_alu/hw5_unit_test_bench.rb
|
297
|
+
- samp/pipelined_alu/hw5_unit_test_design.rb
|
298
|
+
- samp/pipelined_alu/hw5_unit_test_bench.v
|
281
299
|
- doc/txt
|
282
300
|
- doc/Rakefile
|
283
301
|
- doc/src
|
@@ -455,6 +473,7 @@ files:
|
|
455
473
|
- lib/ruby-vpi/runner.rb
|
456
474
|
- lib/ruby-vpi/synopsys_vcs.tab
|
457
475
|
- lib/ruby-vpi/rcov.rb
|
476
|
+
- lib/ruby-vpi/verilog_parser.rb
|
458
477
|
- bin/generate_test.rb
|
459
478
|
- bin/header_to_ruby.rb
|
460
479
|
- bin/generate_test_tpl
|
@@ -1,44 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>new (ModuleInfo)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File bin/generate_test.rb, line 84</span>
|
14
|
-
84: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">aDecl</span>
|
15
|
-
85: <span class="ruby-identifier">aDecl</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">%r{module\s+(\w+)\s*(\#\((.*?)\))?\s*\((.*?)\)\s*;}</span><span class="ruby-identifier">m</span>
|
16
|
-
86: <span class="ruby-ivar">@name</span>, <span class="ruby-identifier">paramDecl</span>, <span class="ruby-identifier">portDecl</span> = <span class="ruby-identifier">$1</span>, <span class="ruby-identifier">$3</span> <span class="ruby-operator">||</span> <span class="ruby-value str">''</span>, <span class="ruby-identifier">$4</span>
|
17
|
-
87:
|
18
|
-
88: <span class="ruby-comment cmt"># parse configuration parameters</span>
|
19
|
-
89: <span class="ruby-identifier">paramDecl</span>.<span class="ruby-identifier">gsub!</span> <span class="ruby-regexp re">%r{\bparameter\b}</span>, <span class="ruby-value str">''</span>
|
20
|
-
90: <span class="ruby-identifier">paramDecl</span>.<span class="ruby-identifier">strip!</span>
|
21
|
-
91:
|
22
|
-
92: <span class="ruby-ivar">@paramDecls</span> = <span class="ruby-identifier">paramDecl</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/,/</span>)
|
23
|
-
93:
|
24
|
-
94: <span class="ruby-ivar">@paramNames</span> = <span class="ruby-identifier">paramDecls</span>.<span class="ruby-identifier">inject</span>([]) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">acc</span>, <span class="ruby-identifier">decl</span><span class="ruby-operator">|</span>
|
25
|
-
95: <span class="ruby-identifier">acc</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">decl</span>.<span class="ruby-identifier">scan</span>(<span class="ruby-regexp re">%r{\w+}</span>).<span class="ruby-identifier">first</span>
|
26
|
-
96: <span class="ruby-keyword kw">end</span>
|
27
|
-
97:
|
28
|
-
98: <span class="ruby-comment cmt"># parse signal parameters</span>
|
29
|
-
99: <span class="ruby-identifier">portDecl</span>.<span class="ruby-identifier">gsub!</span> <span class="ruby-regexp re">%r{\breg\b}</span>, <span class="ruby-value str">''</span>
|
30
|
-
100: <span class="ruby-identifier">portDecl</span>.<span class="ruby-identifier">strip!</span>
|
31
|
-
101:
|
32
|
-
102: <span class="ruby-ivar">@portDecls</span> = <span class="ruby-identifier">portDecl</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/,/</span>)
|
33
|
-
103:
|
34
|
-
104: <span class="ruby-ivar">@inputPortNames</span> = []
|
35
|
-
105:
|
36
|
-
106: <span class="ruby-ivar">@portNames</span> = <span class="ruby-identifier">portDecls</span>.<span class="ruby-identifier">inject</span>([]) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">acc</span>, <span class="ruby-identifier">decl</span><span class="ruby-operator">|</span>
|
37
|
-
107: <span class="ruby-identifier">name</span> = <span class="ruby-identifier">decl</span>.<span class="ruby-identifier">scan</span>(<span class="ruby-regexp re">%r{\w+}</span>).<span class="ruby-identifier">last</span>
|
38
|
-
108: <span class="ruby-ivar">@inputPortNames</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">name</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">decl</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/\binput\b/</span>
|
39
|
-
109:
|
40
|
-
110: <span class="ruby-identifier">acc</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">name</span>
|
41
|
-
111: <span class="ruby-keyword kw">end</span>
|
42
|
-
112: <span class="ruby-keyword kw">end</span></pre>
|
43
|
-
</body>
|
44
|
-
</html>
|
@@ -1,26 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>parse_declarations (ModuleInfo)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File bin/generate_test.rb, line 115</span>
|
14
|
-
115: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">parse_declarations</span> <span class="ruby-identifier">aInput</span>
|
15
|
-
116: <span class="ruby-identifier">input</span> = <span class="ruby-identifier">aInput</span>.<span class="ruby-identifier">dup</span>
|
16
|
-
117:
|
17
|
-
118: <span class="ruby-comment cmt"># remove single-line comments</span>
|
18
|
-
119: <span class="ruby-identifier">input</span>.<span class="ruby-identifier">gsub!</span> <span class="ruby-regexp re">%r{//.*$}</span>, <span class="ruby-value str">''</span>
|
19
|
-
120:
|
20
|
-
121: <span class="ruby-comment cmt"># remove multi-line comments</span>
|
21
|
-
122: <span class="ruby-identifier">input</span>.<span class="ruby-identifier">gsub!</span> <span class="ruby-regexp re">%r{/\*.*?\*/}</span><span class="ruby-identifier">m</span>, <span class="ruby-value str">''</span>
|
22
|
-
123:
|
23
|
-
124: <span class="ruby-identifier">input</span>.<span class="ruby-identifier">scan</span> <span class="ruby-regexp re">%r{module.*?;}</span><span class="ruby-identifier">m</span>
|
24
|
-
125: <span class="ruby-keyword kw">end</span></pre>
|
25
|
-
</body>
|
26
|
-
</html>
|
@@ -1,37 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>to_ruby (String)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File bin/header_to_ruby.rb, line 28</span>
|
14
|
-
28: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_ruby</span>
|
15
|
-
29: <span class="ruby-identifier">content</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">dup</span>
|
16
|
-
30:
|
17
|
-
31: <span class="ruby-comment cmt"># remove single-line comments</span>
|
18
|
-
32: <span class="ruby-identifier">content</span>.<span class="ruby-identifier">gsub!</span> <span class="ruby-regexp re">%r{//(.*)$}</span>, <span class="ruby-value str">'#\1'</span>
|
19
|
-
33:
|
20
|
-
34: <span class="ruby-comment cmt"># remove multi-line comments</span>
|
21
|
-
35: <span class="ruby-identifier">content</span>.<span class="ruby-identifier">gsub!</span> <span class="ruby-regexp re">%r{/\*.*?\*/}</span><span class="ruby-identifier">m</span>, <span class="ruby-value str">"\n=begin\n\\0\n=end\n"</span>
|
22
|
-
36:
|
23
|
-
37: <span class="ruby-comment cmt"># remove preprocessor directives</span>
|
24
|
-
38: <span class="ruby-identifier">content</span>.<span class="ruby-identifier">gsub!</span> <span class="ruby-regexp re">%r{`include}</span>, <span class="ruby-value str">'#\0'</span>
|
25
|
-
39: <span class="ruby-identifier">content</span>.<span class="ruby-identifier">gsub!</span> <span class="ruby-regexp re">%r{`define\s+(\w+)\s+(.+)}</span>, <span class="ruby-value str">'\1 = \2'</span>
|
26
|
-
40: <span class="ruby-identifier">content</span>.<span class="ruby-identifier">gsub!</span> <span class="ruby-regexp re">%r{`+}</span>, <span class="ruby-value str">''</span>
|
27
|
-
41:
|
28
|
-
42: <span class="ruby-comment cmt"># change numbers</span>
|
29
|
-
43: <span class="ruby-identifier">content</span>.<span class="ruby-identifier">gsub!</span> <span class="ruby-regexp re">%r{\d*\'([dohb]\w+)}</span>, <span class="ruby-value str">'0\1'</span>
|
30
|
-
44:
|
31
|
-
45: <span class="ruby-comment cmt"># change ranges</span>
|
32
|
-
46: <span class="ruby-identifier">content</span>.<span class="ruby-identifier">gsub!</span> <span class="ruby-regexp re">%r{(\S)\s*:\s*(\S)}</span>, <span class="ruby-value str">'\1..\2'</span>
|
33
|
-
47:
|
34
|
-
48: <span class="ruby-identifier">content</span>
|
35
|
-
49: <span class="ruby-keyword kw">end</span></pre>
|
36
|
-
</body>
|
37
|
-
</html>
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>new (XX::Document)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line 54</span>
|
14
|
-
54: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-operator">*</span><span class="ruby-identifier">a</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">b</span>
|
15
|
-
55: <span class="ruby-comment cmt">#--{{{</span>
|
16
|
-
56: <span class="ruby-ivar">@doc</span> = <span class="ruby-operator">::</span><span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">Document</span><span class="ruby-operator">::</span><span class="ruby-identifier">new</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">a</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">b</span>)
|
17
|
-
57: <span class="ruby-ivar">@stack</span> = [<span class="ruby-ivar">@doc</span>]
|
18
|
-
58: <span class="ruby-ivar">@size</span> = <span class="ruby-value">0</span>
|
19
|
-
59: <span class="ruby-comment cmt">#--}}}</span>
|
20
|
-
60: <span class="ruby-keyword kw">end</span></pre>
|
21
|
-
</body>
|
22
|
-
</html>
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>top (XX::Document)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line 61</span>
|
14
|
-
61: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">top</span>
|
15
|
-
62: <span class="ruby-comment cmt">#--{{{</span>
|
16
|
-
63: <span class="ruby-ivar">@stack</span>.<span class="ruby-identifier">last</span>
|
17
|
-
64: <span class="ruby-comment cmt">#--}}}</span>
|
18
|
-
65: <span class="ruby-keyword kw">end</span></pre>
|
19
|
-
</body>
|
20
|
-
</html>
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>push (XX::Document)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line 66</span>
|
14
|
-
66: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">push</span> <span class="ruby-identifier">element</span>
|
15
|
-
67: <span class="ruby-comment cmt">#--{{{</span>
|
16
|
-
68: <span class="ruby-ivar">@stack</span>.<span class="ruby-identifier">push</span> <span class="ruby-identifier">element</span>
|
17
|
-
69: <span class="ruby-comment cmt">#--}}}</span>
|
18
|
-
70: <span class="ruby-keyword kw">end</span></pre>
|
19
|
-
</body>
|
20
|
-
</html>
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>xx_tag_method_name (XX::Markup::ClassMethods)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
-
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line 464</span>
|
14
|
-
464: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">xx_tag_method_name</span> <span class="ruby-identifier">m</span>
|
15
|
-
465: <span class="ruby-comment cmt">#--{{{</span>
|
16
|
-
466: <span class="ruby-identifier">m</span> = <span class="ruby-identifier">m</span>.<span class="ruby-identifier">to_s</span>
|
17
|
-
467: <span class="ruby-identifier">tag_method</span>, <span class="ruby-identifier">tag_name</span> = <span class="ruby-identifier">m</span>, <span class="ruby-identifier">m</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">%r/_+$/</span>, <span class="ruby-value str">""</span>)
|
18
|
-
468: [ <span class="ruby-identifier">tag_method</span>, <span class="ruby-identifier">tag_name</span> ]
|
19
|
-
469: <span class="ruby-comment cmt">#--}}}</span>
|
20
|
-
470: <span class="ruby-keyword kw">end</span></pre>
|
21
|
-
</body>
|
22
|
-
</html>
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>xx_define_tmp_method (XX::Markup::ClassMethods)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
-
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line 471</span>
|
14
|
-
471: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">xx_define_tmp_method</span> <span class="ruby-identifier">m</span>
|
15
|
-
472: <span class="ruby-comment cmt">#--{{{</span>
|
16
|
-
473: <span class="ruby-identifier">define_method</span>(<span class="ruby-identifier">m</span>){ <span class="ruby-identifier">raise</span> <span class="ruby-constant">NotImplementedError</span>, <span class="ruby-identifier">m</span>.<span class="ruby-identifier">to_s</span> }
|
17
|
-
474: <span class="ruby-comment cmt">#--}}}</span>
|
18
|
-
475: <span class="ruby-keyword kw">end</span></pre>
|
19
|
-
</body>
|
20
|
-
</html>
|
@@ -1,56 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>method_missing (XX::Markup::InstanceMethods)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
-
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line 207</span>
|
14
|
-
207: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span> <span class="ruby-identifier">m</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">a</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">b</span>
|
15
|
-
208: <span class="ruby-comment cmt">#--{{{</span>
|
16
|
-
209: <span class="ruby-identifier">m</span> = <span class="ruby-identifier">m</span>.<span class="ruby-identifier">to_s</span>
|
17
|
-
210:
|
18
|
-
211: <span class="ruby-identifier">tag_method</span>, <span class="ruby-identifier">tag_name</span> = <span class="ruby-identifier">xx_class</span><span class="ruby-operator">::</span><span class="ruby-identifier">xx_tag_method_name</span> <span class="ruby-identifier">m</span>
|
19
|
-
212:
|
20
|
-
213: <span class="ruby-identifier">c_method_missing</span> = <span class="ruby-identifier">xx_class</span><span class="ruby-operator">::</span><span class="ruby-identifier">xx_config_for</span> <span class="ruby-value str">"method_missing"</span>, <span class="ruby-identifier">xx_which</span>
|
21
|
-
214: <span class="ruby-identifier">c_tags</span> = <span class="ruby-identifier">xx_class</span><span class="ruby-operator">::</span><span class="ruby-identifier">xx_config_for</span> <span class="ruby-value str">"tags"</span>, <span class="ruby-identifier">xx_which</span>
|
22
|
-
215:
|
23
|
-
216: <span class="ruby-identifier">pat</span> =
|
24
|
-
217: <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">c_method_missing</span>
|
25
|
-
218: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">XX</span><span class="ruby-operator">::</span><span class="ruby-constant">CRAZY_LIKE_A_HELL</span>
|
26
|
-
219: <span class="ruby-regexp re">%r/.*/</span>
|
27
|
-
220: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">XX</span><span class="ruby-operator">::</span><span class="ruby-constant">PERMISSIVE</span>
|
28
|
-
221: <span class="ruby-regexp re">%r/_$/o</span>
|
29
|
-
222: <span class="ruby-keyword kw">when</span> <span class="ruby-operator">::</span><span class="ruby-constant">XX</span><span class="ruby-operator">::</span><span class="ruby-constant">STRICT</span>
|
30
|
-
223: <span class="ruby-regexp re">%r/_$/o</span>
|
31
|
-
224: <span class="ruby-keyword kw">else</span>
|
32
|
-
225: <span class="ruby-keyword kw">super</span>
|
33
|
-
226: <span class="ruby-keyword kw">end</span>
|
34
|
-
227:
|
35
|
-
228: <span class="ruby-keyword kw">super</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">m</span> <span class="ruby-operator">=~</span> <span class="ruby-identifier">pat</span>
|
36
|
-
229:
|
37
|
-
230: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">c_method_missing</span> <span class="ruby-operator">==</span> <span class="ruby-operator">::</span><span class="ruby-constant">XX</span><span class="ruby-operator">::</span><span class="ruby-constant">STRICT</span>
|
38
|
-
231: <span class="ruby-keyword kw">super</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">c_tags</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">tag_name</span>
|
39
|
-
232: <span class="ruby-keyword kw">end</span>
|
40
|
-
233:
|
41
|
-
234: <span class="ruby-identifier">ret</span>, <span class="ruby-identifier">defined</span> = <span class="ruby-keyword kw">nil</span>
|
42
|
-
235:
|
43
|
-
236: <span class="ruby-keyword kw">begin</span>
|
44
|
-
237: <span class="ruby-identifier">xx_class</span><span class="ruby-operator">::</span><span class="ruby-identifier">xx_define_tmp_method</span> <span class="ruby-identifier">tag_method</span>
|
45
|
-
238: <span class="ruby-identifier">xx_class</span><span class="ruby-operator">::</span><span class="ruby-identifier">xx_define_tag_method</span> <span class="ruby-identifier">tag_method</span>, <span class="ruby-identifier">tag_name</span>
|
46
|
-
239: <span class="ruby-identifier">ret</span> = <span class="ruby-identifier">send</span> <span class="ruby-identifier">tag_method</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">a</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">b</span>
|
47
|
-
240: <span class="ruby-identifier">defined</span> = <span class="ruby-keyword kw">true</span>
|
48
|
-
241: <span class="ruby-keyword kw">ensure</span>
|
49
|
-
242: <span class="ruby-identifier">xx_class</span><span class="ruby-operator">::</span><span class="ruby-identifier">xx_remove_tag_method</span> <span class="ruby-identifier">tag_method</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">defined</span>
|
50
|
-
243: <span class="ruby-keyword kw">end</span>
|
51
|
-
244:
|
52
|
-
245: <span class="ruby-identifier">ret</span>
|
53
|
-
246: <span class="ruby-comment cmt">#--}}}</span>
|
54
|
-
247: <span class="ruby-keyword kw">end</span></pre>
|
55
|
-
</body>
|
56
|
-
</html>
|
@@ -1,33 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>xx_tag_ (XX::Markup::InstanceMethods)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
-
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line 248</span>
|
14
|
-
248: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">xx_tag_</span> <span class="ruby-identifier">tag_name</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">a</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">b</span>
|
15
|
-
249: <span class="ruby-comment cmt">#--{{{</span>
|
16
|
-
250: <span class="ruby-identifier">tag_method</span>, <span class="ruby-identifier">tag_name</span> = <span class="ruby-identifier">xx_class</span><span class="ruby-operator">::</span><span class="ruby-identifier">xx_tag_method_name</span> <span class="ruby-identifier">tag_name</span>
|
17
|
-
251:
|
18
|
-
252: <span class="ruby-identifier">ret</span>, <span class="ruby-identifier">defined</span> = <span class="ruby-keyword kw">nil</span>
|
19
|
-
253:
|
20
|
-
254: <span class="ruby-keyword kw">begin</span>
|
21
|
-
255: <span class="ruby-identifier">xx_class</span><span class="ruby-operator">::</span><span class="ruby-identifier">xx_define_tmp_method</span> <span class="ruby-identifier">tag_method</span>
|
22
|
-
256: <span class="ruby-identifier">xx_class</span><span class="ruby-operator">::</span><span class="ruby-identifier">xx_define_tag_method</span> <span class="ruby-identifier">tag_method</span>, <span class="ruby-identifier">tag_name</span>
|
23
|
-
257: <span class="ruby-identifier">ret</span> = <span class="ruby-identifier">send</span> <span class="ruby-identifier">tag_method</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">a</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">b</span>
|
24
|
-
258: <span class="ruby-identifier">defined</span> = <span class="ruby-keyword kw">true</span>
|
25
|
-
259: <span class="ruby-keyword kw">ensure</span>
|
26
|
-
260: <span class="ruby-identifier">xx_class</span><span class="ruby-operator">::</span><span class="ruby-identifier">xx_remove_tag_method</span> <span class="ruby-identifier">tag_method</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">defined</span>
|
27
|
-
261: <span class="ruby-keyword kw">end</span>
|
28
|
-
262:
|
29
|
-
263: <span class="ruby-identifier">ret</span>
|
30
|
-
264: <span class="ruby-comment cmt">#--}}}</span>
|
31
|
-
265: <span class="ruby-keyword kw">end</span></pre>
|
32
|
-
</body>
|
33
|
-
</html>
|
@@ -1,31 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>xx_which (XX::Markup::InstanceMethods)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
10
|
-
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre> <span class="ruby-comment cmt"># File lib/ruby-vpi/xx.rb, line 267</span>
|
14
|
-
267: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">xx_which</span> <span class="ruby-operator">*</span><span class="ruby-identifier">argv</span>
|
15
|
-
268: <span class="ruby-comment cmt">#--{{{</span>
|
16
|
-
269: <span class="ruby-ivar">@xx_which</span> = <span class="ruby-keyword kw">nil</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-keyword kw">defined?</span> <span class="ruby-ivar">@xx_which</span>
|
17
|
-
270: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">argv</span>.<span class="ruby-identifier">empty?</span>
|
18
|
-
271: <span class="ruby-ivar">@xx_which</span>
|
19
|
-
272: <span class="ruby-keyword kw">else</span>
|
20
|
-
273: <span class="ruby-identifier">xx_which</span> = <span class="ruby-ivar">@xx_which</span>
|
21
|
-
274: <span class="ruby-keyword kw">begin</span>
|
22
|
-
275: <span class="ruby-ivar">@xx_which</span> = <span class="ruby-identifier">argv</span>.<span class="ruby-identifier">shift</span>
|
23
|
-
276: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">yield</span>
|
24
|
-
277: <span class="ruby-keyword kw">ensure</span>
|
25
|
-
278: <span class="ruby-ivar">@xx_which</span> = <span class="ruby-identifier">xx_which</span>
|
26
|
-
279: <span class="ruby-keyword kw">end</span>
|
27
|
-
280: <span class="ruby-keyword kw">end</span>
|
28
|
-
281: <span class="ruby-comment cmt">#--}}}</span>
|
29
|
-
282: <span class="ruby-keyword kw">end</span></pre>
|
30
|
-
</body>
|
31
|
-
</html>
|