netlinx-compile 1.0.0 → 3.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +122 -0
  3. data/doc/NetLinx.html +130 -151
  4. data/doc/NetLinx/Compile.html +130 -148
  5. data/doc/NetLinx/Compile/Extension.html +128 -145
  6. data/doc/NetLinx/Compile/Extension/AXS.html +218 -154
  7. data/doc/NetLinx/Compile/ExtensionDiscovery.html +524 -321
  8. data/doc/NetLinx/Compile/ExtensionHandler.html +755 -396
  9. data/doc/NetLinx/Compile/Script.html +431 -282
  10. data/doc/NetLinx/Compiler.html +496 -285
  11. data/doc/NetLinx/CompilerResult.html +1250 -498
  12. data/doc/NetLinx/NoCompilerError.html +142 -155
  13. data/doc/NetLinx/Rake.html +115 -0
  14. data/doc/NetLinx/Rake/Compile.html +358 -0
  15. data/doc/NetLinx/SourceFile.html +702 -423
  16. data/doc/_index.html +234 -0
  17. data/doc/class_list.html +51 -0
  18. data/doc/css/common.css +1 -0
  19. data/doc/css/full_list.css +58 -0
  20. data/doc/css/style.css +496 -0
  21. data/doc/file.README.html +156 -0
  22. data/doc/file.license.html +70 -0
  23. data/doc/file_list.html +61 -0
  24. data/doc/frames.html +17 -0
  25. data/doc/index.html +156 -103
  26. data/doc/js/app.js +314 -0
  27. data/doc/js/full_list.js +216 -0
  28. data/doc/js/jquery.js +4 -18
  29. data/doc/method_list.html +339 -0
  30. data/doc/top-level-namespace.html +110 -0
  31. data/lib/netlinx-compile.rb +11 -1
  32. data/lib/netlinx/compile/extension_discovery.rb +4 -2
  33. data/lib/netlinx/compile/extension_handler.rb +23 -25
  34. data/lib/netlinx/compile/script.rb +4 -3
  35. data/lib/netlinx/compiler.rb +45 -21
  36. data/lib/netlinx/compiler_result.rb +16 -17
  37. data/lib/netlinx/rake/compile.rb +4 -0
  38. data/lib/netlinx/rake/compile/compile.rb +34 -0
  39. data/lib/netlinx/source_file.rb +20 -14
  40. data/lib/test/netlinx/compilable.rb +13 -48
  41. data/lib/test/netlinx/compile/discoverable.rb +3 -14
  42. data/lib/test/netlinx/compile/invokable.rb +3 -15
  43. data/license.txt +1 -1
  44. metadata +114 -74
  45. data/README.txt +0 -2
  46. data/doc/Test.html +0 -147
  47. data/doc/Test/NetLinx.html +0 -147
  48. data/doc/Test/NetLinx/Compilable.html +0 -148
  49. data/doc/Test/NetLinx/Compile.html +0 -146
  50. data/doc/Test/NetLinx/Compile/Discoverable.html +0 -148
  51. data/doc/Test/NetLinx/Compile/Invokable.html +0 -149
  52. data/doc/created.rid +0 -12
  53. data/doc/images/add.png +0 -0
  54. data/doc/images/arrow_up.png +0 -0
  55. data/doc/images/brick.png +0 -0
  56. data/doc/images/brick_link.png +0 -0
  57. data/doc/images/bug.png +0 -0
  58. data/doc/images/bullet_black.png +0 -0
  59. data/doc/images/bullet_toggle_minus.png +0 -0
  60. data/doc/images/bullet_toggle_plus.png +0 -0
  61. data/doc/images/date.png +0 -0
  62. data/doc/images/delete.png +0 -0
  63. data/doc/images/find.png +0 -0
  64. data/doc/images/loadingAnimation.gif +0 -0
  65. data/doc/images/macFFBgHack.png +0 -0
  66. data/doc/images/package.png +0 -0
  67. data/doc/images/page_green.png +0 -0
  68. data/doc/images/page_white_text.png +0 -0
  69. data/doc/images/page_white_width.png +0 -0
  70. data/doc/images/plugin.png +0 -0
  71. data/doc/images/ruby.png +0 -0
  72. data/doc/images/tag_blue.png +0 -0
  73. data/doc/images/tag_green.png +0 -0
  74. data/doc/images/transparent.png +0 -0
  75. data/doc/images/wrench.png +0 -0
  76. data/doc/images/wrench_orange.png +0 -0
  77. data/doc/images/zoom.png +0 -0
  78. data/doc/js/darkfish.js +0 -155
  79. data/doc/js/navigation.js +0 -142
  80. data/doc/js/search.js +0 -94
  81. data/doc/js/search_index.js +0 -1
  82. data/doc/js/searcher.js +0 -228
  83. data/doc/rdoc.css +0 -595
  84. data/doc/table_of_contents.html +0 -138
@@ -1,430 +1,709 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
-
7
- <title>class NetLinx::SourceFile - RDoc Documentation</title>
8
-
9
- <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
10
-
11
- <script type="text/javascript">
12
- var rdoc_rel_prefix = "../";
13
- </script>
14
-
15
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
16
- <script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
17
- <script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
18
- <script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
19
- <script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
20
- <script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
21
-
22
-
23
- <body id="top" class="class">
24
- <nav id="metadata">
25
- <nav id="home-section" class="section">
26
- <h3 class="section-header">
27
- <a href="../index.html">Home</a>
28
- <a href="../table_of_contents.html#classes">Classes</a>
29
- <a href="../table_of_contents.html#methods">Methods</a>
30
- </h3>
31
- </nav>
32
-
33
-
34
- <nav id="search-section" class="section project-section" class="initially-hidden">
35
- <form action="#" method="get" accept-charset="utf-8">
36
- <h3 class="section-header">
37
- <input type="text" name="search" placeholder="Search" id="search-field"
38
- title="Type to search, Up and Down to navigate, Enter to load">
39
- </h3>
40
- </form>
41
-
42
- <ul id="search-results" class="initially-hidden"></ul>
43
- </nav>
44
-
45
-
46
-
47
-
48
- <div id="file-metadata">
49
- <nav id="file-list-section" class="section">
50
- <h3 class="section-header">Defined In</h3>
51
- <ul>
52
- <li>lib/netlinx/source_file.rb
53
- </ul>
54
- </nav>
55
-
56
-
57
- </div>
58
-
59
- <div id="class-metadata">
60
-
61
- <nav id="parent-class-section" class="section">
62
- <h3 class="section-header">Parent</h3>
63
-
64
- <p class="link">Object
65
-
66
- </nav>
67
-
68
-
69
-
70
- <!-- Method Quickref -->
71
- <nav id="method-list-section" class="section">
72
- <h3 class="section-header">Methods</h3>
73
-
74
- <ul class="link-list">
75
-
76
- <li ><a href="#method-c-new">::new</a>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: NetLinx::SourceFile
8
+
9
+ &mdash; Documentation by YARD 0.9.25
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "NetLinx::SourceFile";
19
+ relpath = '../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../_index.html">Index (S)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../NetLinx.html" title="NetLinx (module)">NetLinx</a></span></span>
41
+ &raquo;
42
+ <span class="title">SourceFile</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: NetLinx::SourceFile
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName">Object</span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next">NetLinx::SourceFile</li>
78
+
79
+ </ul>
80
+ <a href="#" class="inheritanceTree">show all</a>
81
+
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <dl>
96
+ <dt>Defined in:</dt>
97
+ <dd>lib/netlinx/source_file.rb</dd>
98
+ </dl>
99
+
100
+ </div>
101
+
102
+ <h2>Overview</h2><div class="docstring">
103
+ <div class="discussion">
104
+
105
+ <p>A NetLinx source code file. Typically .axs or .axi.</p>
106
+
107
+
108
+ </div>
109
+ </div>
110
+ <div class="tags">
111
+
112
+
113
+ </div>
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+ <h2>
122
+ Instance Method Summary
123
+ <small><a href="#" class="summary_toggle">collapse</a></small>
124
+ </h2>
125
+
126
+ <ul class="summary">
127
+
128
+ <li class="public ">
129
+ <span class="summary_signature">
130
+
131
+ <a href="#compile-instance_method" title="#compile (instance method)">#<strong>compile</strong> &#x21d2; Object </a>
132
+
133
+
134
+
135
+ </span>
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+ <span class="summary_desc"><div class='inline'>
146
+ <p>Execute the compiler on itself.</p>
147
+ </div></span>
148
+
149
+ </li>
150
+
151
+
152
+ <li class="public ">
153
+ <span class="summary_signature">
154
+
155
+ <a href="#compiler_include_paths-instance_method" title="#compiler_include_paths (instance method)">#<strong>compiler_include_paths</strong> &#x21d2; Object </a>
156
+
157
+
158
+
159
+ </span>
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+ <span class="summary_desc"><div class='inline'></div></span>
170
+
171
+ </li>
172
+
173
+
174
+ <li class="public ">
175
+ <span class="summary_signature">
176
+
177
+ <a href="#compiler_library_paths-instance_method" title="#compiler_library_paths (instance method)">#<strong>compiler_library_paths</strong> &#x21d2; Object </a>
178
+
179
+
180
+
181
+ </span>
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+ <span class="summary_desc"><div class='inline'></div></span>
192
+
193
+ </li>
194
+
195
+
196
+ <li class="public ">
197
+ <span class="summary_signature">
198
+
199
+ <a href="#compiler_module_paths-instance_method" title="#compiler_module_paths (instance method)">#<strong>compiler_module_paths</strong> &#x21d2; Object </a>
200
+
201
+
202
+
203
+ </span>
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+ <span class="summary_desc"><div class='inline'></div></span>
214
+
215
+ </li>
216
+
217
+
218
+ <li class="public ">
219
+ <span class="summary_signature">
220
+
221
+ <a href="#compiler_target_files-instance_method" title="#compiler_target_files (instance method)">#<strong>compiler_target_files</strong> &#x21d2; Object </a>
222
+
223
+
224
+
225
+ </span>
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+ <span class="summary_desc"><div class='inline'></div></span>
236
+
237
+ </li>
238
+
239
+
240
+ <li class="public ">
241
+ <span class="summary_signature">
242
+
243
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(**kwargs) &#x21d2; SourceFile </a>
244
+
245
+
246
+
247
+ </span>
248
+
249
+
250
+ <span class="note title constructor">constructor</span>
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+ <span class="summary_desc"><div class='inline'>
260
+ <p>NOTE: SourceFile searches the body of the source file to automatically determine include and module paths.</p>
261
+ </div></span>
262
+
263
+ </li>
264
+
265
+
266
+ </ul>
267
+
268
+
269
+ <div id="constructor_details" class="method_details_list">
270
+ <h2>Constructor Details</h2>
271
+
272
+ <div class="method_details first">
273
+ <h3 class="signature first" id="initialize-instance_method">
274
+
275
+ #<strong>initialize</strong>(**kwargs) &#x21d2; <tt><span class='object_link'><a href="" title="NetLinx::SourceFile (class)">SourceFile</a></span></tt>
276
+
277
+
278
+
279
+
280
+
281
+ </h3><div class="docstring">
282
+ <div class="discussion">
283
+
284
+ <p>NOTE: SourceFile searches the body of the source file to automatically determine include and module paths.</p>
285
+
286
+
287
+ </div>
288
+ </div>
289
+ <div class="tags">
290
+ <p class="tag_title">Parameters:</p>
291
+ <ul class="param">
292
+
293
+ <li>
294
+
295
+ <span class='name'>kwargs</span>
296
+
297
+
298
+ <span class='type'>(<tt>Hash</tt>)</span>
299
+
300
+
301
+
302
+ &mdash;
303
+ <div class='inline'>
304
+ <p>a customizable set of options</p>
305
+ </div>
306
+
307
+ </li>
308
+
309
+ </ul>
310
+
311
+
312
+
313
+
314
+ <p class="tag_title">Options Hash (<tt>**kwargs</tt>):</p>
315
+ <ul class="option">
316
+
317
+ <li>
318
+ <span class="name">:file</span>
319
+ <span class="type">(<tt>String</tt>)</span>
320
+ <span class="default">
321
+
322
+ </span>
323
+
324
+ &mdash; <div class='inline'>
325
+ <p>Name or path of the file to compile.</p>
326
+ </div>
327
+
328
+ </li>
329
+
330
+ <li>
331
+ <span class="name">:compiler_include_paths</span>
332
+ <span class="type">(<tt>Array&lt;String&gt;</tt>)</span>
333
+ <span class="default">
334
+
335
+ </span>
336
+
337
+ &mdash; <div class='inline'>
338
+ <p>Additional paths for the compiler to find include files.</p>
339
+ </div>
340
+
341
+ </li>
342
+
343
+ <li>
344
+ <span class="name">:compiler_module_paths</span>
345
+ <span class="type">(<tt>Array&lt;String&gt;</tt>)</span>
346
+ <span class="default">
347
+
348
+ </span>
349
+
350
+ &mdash; <div class='inline'>
351
+ <p>Additional paths for the compiler to find module files.</p>
352
+ </div>
353
+
354
+ </li>
355
+
356
+ </ul>
357
+
358
+
359
+
360
+ </div><table class="source_code">
361
+ <tr>
362
+ <td>
363
+ <pre class="lines">
364
+
365
+
366
+ 12
367
+ 13
368
+ 14
369
+ 15
370
+ 16
371
+ 17
372
+ 18
373
+ 19
374
+ 20
375
+ 21
376
+ 22
377
+ 23
378
+ 24
379
+ 25
380
+ 26
381
+ 27
382
+ 28
383
+ 29
384
+ 30
385
+ 31
386
+ 32
387
+ 33
388
+ 34
389
+ 35
390
+ 36
391
+ 37
392
+ 38
393
+ 39
394
+ 40
395
+ 41
396
+ 42
397
+ 43
398
+ 44
399
+ 45
400
+ 46
401
+ 47
402
+ 48
403
+ 49
404
+ 50
405
+ 51
406
+ 52
407
+ 53
408
+ 54</pre>
409
+ </td>
410
+ <td>
411
+ <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 12</span>
412
+
413
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='op'>**</span><span class='id identifier rubyid_kwargs'>kwargs</span><span class='rparen'>)</span>
414
+ <span class='ivar'>@compiler_target_files</span> <span class='op'>=</span> <span class='lbracket'>[</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='symbol'>:file</span><span class='comma'>,</span> <span class='kw'>nil</span><span class='rparen'>)</span> <span class='rbracket'>]</span>
415
+ <span class='ivar'>@compiler_include_paths</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:compiler_include_paths</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
416
+ <span class='ivar'>@compiler_module_paths</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:compiler_module_paths</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
417
+
418
+ <span class='kw'>return</span> <span class='kw'>unless</span> <span class='ivar'>@compiler_target_files</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
419
+
420
+ <span class='id identifier rubyid_source_code'>source_code</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_open'>open</span><span class='lparen'>(</span><span class='ivar'>@compiler_target_files</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_read'>read</span>
421
+
422
+ <span class='kw'>unless</span> <span class='id identifier rubyid_source_code'>source_code</span><span class='period'>.</span><span class='id identifier rubyid_valid_encoding?'>valid_encoding?</span>
423
+ <span class='id identifier rubyid_source_code'>source_code</span><span class='period'>.</span><span class='id identifier rubyid_force_encoding'>force_encoding</span> <span class='const'>Encoding</span><span class='op'>::</span><span class='const'>ASCII_8BIT</span>
424
+ <span class='kw'>end</span>
425
+
426
+ <span class='comment'># Scan file for additional include paths.
427
+ </span> <span class='id identifier rubyid_includes'>includes</span> <span class='op'>=</span> <span class='id identifier rubyid_source_code'>source_code</span><span class='period'>.</span><span class='id identifier rubyid_scan'>scan</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>(?i)^\s*(?:\#include)\s+&#39;([\w\-]+)&#39;</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span>
428
+
429
+ <span class='id identifier rubyid_includes'>includes</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_inc'>inc</span><span class='op'>|</span>
430
+ <span class='id identifier rubyid_inc'>inc</span> <span class='op'>=</span> <span class='id identifier rubyid_inc'>inc</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
77
431
 
78
- <li ><a href="#method-i-compile">#compile</a>
432
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='const'>Dir</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>./**/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_inc'>inc</span><span class='embexpr_end'>}</span><span class='tstring_content'>.*</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
433
+ <span class='kw'>next</span> <span class='kw'>unless</span> <span class='id identifier rubyid_path'>path</span>
79
434
 
80
- <li ><a href="#method-i-compiler_include_paths">#compiler_include_paths</a>
81
-
82
- <li ><a href="#method-i-compiler_library_paths">#compiler_library_paths</a>
83
-
84
- <li ><a href="#method-i-compiler_module_paths">#compiler_module_paths</a>
85
-
86
- <li ><a href="#method-i-compiler_target_files">#compiler_target_files</a>
87
-
88
- </ul>
89
- </nav>
90
-
91
- </div>
92
-
93
- <div id="project-metadata">
94
-
95
- <nav id="classindex-section" class="section project-section">
96
- <h3 class="section-header">Class and Module Index</h3>
97
-
98
- <ul class="link-list">
99
-
100
- <li><a href="../NetLinx.html">NetLinx</a>
101
-
102
- <li><a href="../NetLinx/Compile.html">NetLinx::Compile</a>
435
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span> <span class='id identifier rubyid_path'>path</span>
436
+ <span class='ivar'>@compiler_include_paths</span> <span class='op'>&lt;&lt;</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
437
+ <span class='kw'>end</span>
103
438
 
104
- <li><a href="../NetLinx/Compile/Extension.html">NetLinx::Compile::Extension</a>
439
+ <span class='ivar'>@compiler_include_paths</span><span class='period'>.</span><span class='id identifier rubyid_uniq!'>uniq!</span>
105
440
 
106
- <li><a href="../NetLinx/Compile/Extension/AXS.html">NetLinx::Compile::Extension::AXS</a>
441
+ <span class='comment'># Scan file for additional module paths.
442
+ </span> <span class='id identifier rubyid_modules'>modules</span> <span class='op'>=</span> <span class='id identifier rubyid_source_code'>source_code</span><span class='period'>.</span><span class='id identifier rubyid_scan'>scan</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>(?i)^\s*(?:define_module)\s+&#39;([\w\-]+)&#39;</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span>
107
443
 
108
- <li><a href="../NetLinx/Compile/ExtensionDiscovery.html">NetLinx::Compile::ExtensionDiscovery</a>
109
-
110
- <li><a href="../NetLinx/Compile/ExtensionHandler.html">NetLinx::Compile::ExtensionHandler</a>
111
-
112
- <li><a href="../NetLinx/Compile/Script.html">NetLinx::Compile::Script</a>
113
-
114
- <li><a href="../NetLinx/Compiler.html">NetLinx::Compiler</a>
115
-
116
- <li><a href="../NetLinx/CompilerResult.html">NetLinx::CompilerResult</a>
117
-
118
- <li><a href="../NetLinx/NoCompilerError.html">NetLinx::NoCompilerError</a>
119
-
120
- <li><a href="../NetLinx/SourceFile.html">NetLinx::SourceFile</a>
121
-
122
- <li><a href="../Test.html">Test</a>
123
-
124
- <li><a href="../Test/NetLinx.html">Test::NetLinx</a>
125
-
126
- <li><a href="../Test/NetLinx/Compilable.html">Test::NetLinx::Compilable</a>
127
-
128
- <li><a href="../Test/NetLinx/Compile.html">Test::NetLinx::Compile</a>
129
-
130
- <li><a href="../Test/NetLinx/Compile/Discoverable.html">Test::NetLinx::Compile::Discoverable</a>
131
-
132
- <li><a href="../Test/NetLinx/Compile/Invokable.html">Test::NetLinx::Compile::Invokable</a>
133
-
134
- </ul>
135
- </nav>
136
-
137
- </div>
138
- </nav>
139
-
140
- <div id="documentation">
141
- <h1 class="class">class NetLinx::SourceFile</h1>
142
-
143
- <div id="description" class="description">
444
+ <span class='id identifier rubyid_modules'>modules</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_mod'>mod</span><span class='op'>|</span>
445
+ <span class='id identifier rubyid_mod'>mod</span> <span class='op'>=</span> <span class='id identifier rubyid_mod'>mod</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
144
446
 
145
- </div><!-- description -->
146
-
147
-
148
-
149
-
150
- <section id="5Buntitled-5D" class="documentation-section">
151
-
152
-
153
-
154
-
155
-
156
-
157
-
158
-
159
- <!-- Methods -->
160
-
161
- <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
162
- <h3 class="section-header">Public Class Methods</h3>
163
-
164
-
165
- <div id="method-c-new" class="method-detail ">
166
-
167
- <div class="method-heading">
168
- <span class="method-name">new</span><span
169
- class="method-args">(**kvargs)</span>
170
-
171
- <span class="method-click-advice">click to toggle source</span>
172
-
173
- </div>
174
-
175
-
176
- <div class="method-description">
177
-
178
- <p>Parameters:</p>
179
-
180
- <pre class="ruby"><span class="ruby-identifier">file</span><span class="ruby-operator">:</span> <span class="ruby-constant">Name</span> <span class="ruby-keyword">or</span> <span class="ruby-identifier">path</span> <span class="ruby-identifier">of</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">file</span> <span class="ruby-identifier">to</span> <span class="ruby-identifier">compile</span>.
181
- <span class="ruby-identifier">compiler_include_paths</span><span class="ruby-operator">:</span> <span class="ruby-constant">Array</span> <span class="ruby-identifier">of</span> <span class="ruby-identifier">additional</span> <span class="ruby-identifier">paths</span> <span class="ruby-keyword">for</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">compiler</span> <span class="ruby-identifier">to</span> <span class="ruby-identifier">find</span> <span class="ruby-identifier">include</span> <span class="ruby-identifier">files</span>.
182
- <span class="ruby-identifier">compiler_module_paths</span><span class="ruby-operator">:</span> <span class="ruby-constant">Array</span> <span class="ruby-identifier">of</span> <span class="ruby-identifier">additional</span> <span class="ruby-identifier">paths</span> <span class="ruby-keyword">for</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">compiler</span> <span class="ruby-identifier">to</span> <span class="ruby-identifier">find</span> <span class="ruby-keyword">module</span> <span class="ruby-identifier">files</span>.
183
- <span class="ruby-constant">NOTE</span><span class="ruby-operator">:</span> <span class="ruby-constant">SourceFile</span> <span class="ruby-identifier">already</span> <span class="ruby-identifier">searches</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">body</span> <span class="ruby-identifier">of</span> <span class="ruby-identifier">the</span> <span class="ruby-identifier">source</span> <span class="ruby-identifier">file</span> <span class="ruby-identifier">to</span> <span class="ruby-identifier">automatically</span> <span class="ruby-identifier">determine</span>
184
- <span class="ruby-identifier">include</span> <span class="ruby-keyword">and</span> <span class="ruby-keyword">module</span> <span class="ruby-identifier">paths</span>.
185
- </pre>
186
-
187
-
188
-
189
-
190
- <div class="method-source-code" id="new-source">
191
- <pre><span class="ruby-comment"># File lib/netlinx/source_file.rb, line 10</span>
192
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">**</span><span class="ruby-identifier">kvargs</span>)
193
- <span class="ruby-ivar">@compiler_target_files</span> = [ (<span class="ruby-identifier">kvargs</span>.<span class="ruby-identifier">fetch</span> <span class="ruby-value">:file</span>, <span class="ruby-keyword">nil</span>) ]
194
- <span class="ruby-ivar">@compiler_include_paths</span> = <span class="ruby-identifier">kvargs</span>.<span class="ruby-identifier">fetch</span> <span class="ruby-value">:compiler_include_paths</span>, []
195
- <span class="ruby-ivar">@compiler_module_paths</span> = <span class="ruby-identifier">kvargs</span>.<span class="ruby-identifier">fetch</span> <span class="ruby-value">:compiler_module_paths</span>, []
196
-
197
- <span class="ruby-keyword">return</span> <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@compiler_target_files</span>.<span class="ruby-identifier">first</span>
198
-
199
- <span class="ruby-identifier">source_code</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-ivar">@compiler_target_files</span>.<span class="ruby-identifier">first</span>).<span class="ruby-identifier">read</span>
200
-
201
- <span class="ruby-comment"># Scan file for additional include paths.</span>
202
- <span class="ruby-identifier">includes</span> = <span class="ruby-identifier">source_code</span>.<span class="ruby-identifier">scan</span>(<span class="ruby-node">/(?i)^\s*(?:\#include)\s+&#39;([\w\-]+)&#39;/</span>)
203
-
204
- <span class="ruby-identifier">includes</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">inc</span><span class="ruby-operator">|</span>
205
- <span class="ruby-identifier">inc</span> = <span class="ruby-identifier">inc</span>.<span class="ruby-identifier">first</span>
206
-
207
- <span class="ruby-identifier">path</span> = <span class="ruby-constant">Dir</span>[<span class="ruby-node">&quot;./**/#{inc}.*&quot;</span>].<span class="ruby-identifier">first</span>
208
- <span class="ruby-keyword">next</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">path</span>
209
-
210
- <span class="ruby-identifier">path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span> <span class="ruby-identifier">path</span>
211
- <span class="ruby-ivar">@compiler_include_paths</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-identifier">path</span>)
212
- <span class="ruby-keyword">end</span>
213
-
214
- <span class="ruby-ivar">@compiler_include_paths</span>.<span class="ruby-identifier">uniq!</span>
215
-
216
- <span class="ruby-comment"># Scan file for additional module paths.</span>
217
- <span class="ruby-identifier">modules</span> = <span class="ruby-identifier">source_code</span>.<span class="ruby-identifier">scan</span>(<span class="ruby-regexp">/(?i)^\s*(?:define_module)\s+&#39;([\w\-]+)&#39;/</span>)
218
-
219
- <span class="ruby-identifier">modules</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">mod</span><span class="ruby-operator">|</span>
220
- <span class="ruby-identifier">mod</span> = <span class="ruby-identifier">mod</span>.<span class="ruby-identifier">first</span>
221
-
222
- <span class="ruby-identifier">path</span> = <span class="ruby-constant">Dir</span>[<span class="ruby-node">&quot;./**/#{mod}.*&quot;</span>].<span class="ruby-identifier">first</span>
223
- <span class="ruby-keyword">next</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">path</span>
224
-
225
- <span class="ruby-identifier">path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span> <span class="ruby-identifier">path</span>
226
- <span class="ruby-ivar">@compiler_module_paths</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-identifier">path</span>)
227
- <span class="ruby-keyword">end</span>
228
-
229
- <span class="ruby-ivar">@compiler_module_paths</span>.<span class="ruby-identifier">uniq!</span>
230
- <span class="ruby-keyword">end</span></pre>
231
- </div><!-- new-source -->
232
-
233
- </div>
234
-
235
-
236
-
237
-
238
- </div><!-- new-method -->
239
-
240
-
241
- </section><!-- public-class-method-details -->
242
-
243
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
244
- <h3 class="section-header">Public Instance Methods</h3>
245
-
246
-
247
- <div id="method-i-compile" class="method-detail ">
248
-
249
- <div class="method-heading">
250
- <span class="method-name">compile</span><span
251
- class="method-args">()</span>
252
-
253
- <span class="method-click-advice">click to toggle source</span>
254
-
255
- </div>
256
-
257
-
258
- <div class="method-description">
259
-
260
- <p>Execute the compiler on itself.</p>
261
-
262
-
263
-
264
-
265
- <div class="method-source-code" id="compile-source">
266
- <pre><span class="ruby-comment"># File lib/netlinx/source_file.rb, line 71</span>
267
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">compile</span>
268
- <span class="ruby-identifier">require</span> <span class="ruby-string">&#39;netlinx/compiler&#39;</span>
269
- <span class="ruby-identifier">compiler</span> = <span class="ruby-constant">NetLinx</span><span class="ruby-operator">::</span><span class="ruby-constant">Compiler</span>.<span class="ruby-identifier">new</span>
270
- <span class="ruby-identifier">result</span> = <span class="ruby-identifier">compiler</span>.<span class="ruby-identifier">compile</span> <span class="ruby-keyword">self</span>
271
- <span class="ruby-keyword">end</span></pre>
272
- </div><!-- compile-source -->
273
-
274
- </div>
275
-
276
-
277
-
278
-
279
- </div><!-- compile-method -->
280
-
281
-
282
- <div id="method-i-compiler_include_paths" class="method-detail ">
283
-
284
- <div class="method-heading">
285
- <span class="method-name">compiler_include_paths</span><span
286
- class="method-args">()</span>
287
-
288
- <span class="method-click-advice">click to toggle source</span>
289
-
290
- </div>
291
-
292
-
293
- <div class="method-description">
294
-
295
- <p>See <a href="../Test/NetLinx/Compilable.html">Test::NetLinx::Compilable</a>
296
- interface.</p>
297
-
298
-
299
-
300
-
301
- <div class="method-source-code" id="compiler_include_paths-source">
302
- <pre><span class="ruby-comment"># File lib/netlinx/source_file.rb, line 56</span>
303
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">compiler_include_paths</span>
304
- <span class="ruby-ivar">@compiler_include_paths</span>
305
- <span class="ruby-keyword">end</span></pre>
306
- </div><!-- compiler_include_paths-source -->
307
-
308
- </div>
309
-
310
-
311
-
312
-
313
- </div><!-- compiler_include_paths-method -->
314
-
315
-
316
- <div id="method-i-compiler_library_paths" class="method-detail ">
317
-
318
- <div class="method-heading">
319
- <span class="method-name">compiler_library_paths</span><span
320
- class="method-args">()</span>
321
-
322
- <span class="method-click-advice">click to toggle source</span>
323
-
324
- </div>
325
-
326
-
327
- <div class="method-description">
328
-
329
- <p>See <a href="../Test/NetLinx/Compilable.html">Test::NetLinx::Compilable</a>
330
- interface.</p>
331
-
332
-
333
-
334
-
335
- <div class="method-source-code" id="compiler_library_paths-source">
336
- <pre><span class="ruby-comment"># File lib/netlinx/source_file.rb, line 66</span>
337
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">compiler_library_paths</span>
338
- []
339
- <span class="ruby-keyword">end</span></pre>
340
- </div><!-- compiler_library_paths-source -->
341
-
342
- </div>
343
-
344
-
345
-
346
-
347
- </div><!-- compiler_library_paths-method -->
348
-
447
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='const'>Dir</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>./**/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_mod'>mod</span><span class='embexpr_end'>}</span><span class='tstring_content'>.*</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
448
+ <span class='kw'>next</span> <span class='kw'>unless</span> <span class='id identifier rubyid_path'>path</span>
349
449
 
350
- <div id="method-i-compiler_module_paths" class="method-detail ">
351
-
352
- <div class="method-heading">
353
- <span class="method-name">compiler_module_paths</span><span
354
- class="method-args">()</span>
355
-
356
- <span class="method-click-advice">click to toggle source</span>
357
-
358
- </div>
359
-
360
-
361
- <div class="method-description">
362
-
363
- <p>See <a href="../Test/NetLinx/Compilable.html">Test::NetLinx::Compilable</a>
364
- interface.</p>
365
-
366
-
367
-
368
-
369
- <div class="method-source-code" id="compiler_module_paths-source">
370
- <pre><span class="ruby-comment"># File lib/netlinx/source_file.rb, line 61</span>
371
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">compiler_module_paths</span>
372
- <span class="ruby-ivar">@compiler_module_paths</span>
373
- <span class="ruby-keyword">end</span></pre>
374
- </div><!-- compiler_module_paths-source -->
375
-
376
- </div>
377
-
378
-
379
-
380
-
381
- </div><!-- compiler_module_paths-method -->
382
-
383
-
384
- <div id="method-i-compiler_target_files" class="method-detail ">
385
-
386
- <div class="method-heading">
387
- <span class="method-name">compiler_target_files</span><span
388
- class="method-args">()</span>
389
-
390
- <span class="method-click-advice">click to toggle source</span>
391
-
392
- </div>
393
-
394
-
395
- <div class="method-description">
396
-
397
- <p>See <a href="../Test/NetLinx/Compilable.html">Test::NetLinx::Compilable</a>
398
- interface.</p>
399
-
400
-
401
-
402
-
403
- <div class="method-source-code" id="compiler_target_files-source">
404
- <pre><span class="ruby-comment"># File lib/netlinx/source_file.rb, line 51</span>
405
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">compiler_target_files</span>
406
- <span class="ruby-ivar">@compiler_target_files</span>
407
- <span class="ruby-keyword">end</span></pre>
408
- </div><!-- compiler_target_files-source -->
409
-
410
- </div>
411
-
412
-
413
-
414
-
415
- </div><!-- compiler_target_files-method -->
416
-
417
-
418
- </section><!-- public-instance-method-details -->
419
-
420
- </section><!-- 5Buntitled-5D -->
421
-
422
- </div><!-- documentation -->
423
-
424
-
425
- <footer id="validator-badges">
426
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
427
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.1.
428
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
429
- </footer>
430
-
450
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span> <span class='id identifier rubyid_path'>path</span>
451
+ <span class='ivar'>@compiler_module_paths</span> <span class='op'>&lt;&lt;</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
452
+ <span class='kw'>end</span>
453
+
454
+ <span class='ivar'>@compiler_module_paths</span><span class='period'>.</span><span class='id identifier rubyid_uniq!'>uniq!</span>
455
+ <span class='kw'>end</span></pre>
456
+ </td>
457
+ </tr>
458
+ </table>
459
+ </div>
460
+
461
+ </div>
462
+
463
+
464
+ <div id="instance_method_details" class="method_details_list">
465
+ <h2>Instance Method Details</h2>
466
+
467
+
468
+ <div class="method_details first">
469
+ <h3 class="signature first" id="compile-instance_method">
470
+
471
+ #<strong>compile</strong> &#x21d2; <tt>Object</tt>
472
+
473
+
474
+
475
+
476
+
477
+ </h3><div class="docstring">
478
+ <div class="discussion">
479
+
480
+ <p>Execute the compiler on itself.</p>
481
+
482
+
483
+ </div>
484
+ </div>
485
+ <div class="tags">
486
+
487
+
488
+ </div><table class="source_code">
489
+ <tr>
490
+ <td>
491
+ <pre class="lines">
492
+
493
+
494
+ 77
495
+ 78
496
+ 79
497
+ 80
498
+ 81</pre>
499
+ </td>
500
+ <td>
501
+ <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 77</span>
502
+
503
+ <span class='kw'>def</span> <span class='id identifier rubyid_compile'>compile</span>
504
+ <span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>netlinx/compiler</span><span class='tstring_end'>&#39;</span></span>
505
+ <span class='id identifier rubyid_compiler'>compiler</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../NetLinx.html" title="NetLinx (module)">NetLinx</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Compiler.html" title="NetLinx::Compiler (class)">Compiler</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Compiler.html#initialize-instance_method" title="NetLinx::Compiler#initialize (method)">new</a></span></span>
506
+ <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='id identifier rubyid_compiler'>compiler</span><span class='period'>.</span><span class='id identifier rubyid_compile'>compile</span> <span class='kw'>self</span>
507
+ <span class='kw'>end</span></pre>
508
+ </td>
509
+ </tr>
510
+ </table>
511
+ </div>
512
+
513
+ <div class="method_details ">
514
+ <h3 class="signature " id="compiler_include_paths-instance_method">
515
+
516
+ #<strong>compiler_include_paths</strong> &#x21d2; <tt>Object</tt>
517
+
518
+
519
+
520
+
521
+
522
+ </h3><div class="docstring">
523
+ <div class="discussion">
524
+
525
+
526
+ </div>
527
+ </div>
528
+ <div class="tags">
529
+
530
+
531
+ <p class="tag_title">See Also:</p>
532
+ <ul class="see">
533
+
534
+ <li>lib/test/netlinx/compilable.rb interface.</li>
535
+
536
+ </ul>
537
+
538
+ </div><table class="source_code">
539
+ <tr>
540
+ <td>
541
+ <pre class="lines">
542
+
543
+
544
+ 62
545
+ 63
546
+ 64</pre>
547
+ </td>
548
+ <td>
549
+ <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 62</span>
550
+
551
+ <span class='kw'>def</span> <span class='id identifier rubyid_compiler_include_paths'>compiler_include_paths</span>
552
+ <span class='ivar'>@compiler_include_paths</span>
553
+ <span class='kw'>end</span></pre>
554
+ </td>
555
+ </tr>
556
+ </table>
557
+ </div>
558
+
559
+ <div class="method_details ">
560
+ <h3 class="signature " id="compiler_library_paths-instance_method">
561
+
562
+ #<strong>compiler_library_paths</strong> &#x21d2; <tt>Object</tt>
563
+
564
+
565
+
566
+
567
+
568
+ </h3><div class="docstring">
569
+ <div class="discussion">
570
+
571
+
572
+ </div>
573
+ </div>
574
+ <div class="tags">
575
+
576
+
577
+ <p class="tag_title">See Also:</p>
578
+ <ul class="see">
579
+
580
+ <li>lib/test/netlinx/compilable.rb interface.</li>
581
+
582
+ </ul>
583
+
584
+ </div><table class="source_code">
585
+ <tr>
586
+ <td>
587
+ <pre class="lines">
588
+
589
+
590
+ 72
591
+ 73
592
+ 74</pre>
593
+ </td>
594
+ <td>
595
+ <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 72</span>
596
+
597
+ <span class='kw'>def</span> <span class='id identifier rubyid_compiler_library_paths'>compiler_library_paths</span>
598
+ <span class='lbracket'>[</span><span class='rbracket'>]</span>
599
+ <span class='kw'>end</span></pre>
600
+ </td>
601
+ </tr>
602
+ </table>
603
+ </div>
604
+
605
+ <div class="method_details ">
606
+ <h3 class="signature " id="compiler_module_paths-instance_method">
607
+
608
+ #<strong>compiler_module_paths</strong> &#x21d2; <tt>Object</tt>
609
+
610
+
611
+
612
+
613
+
614
+ </h3><div class="docstring">
615
+ <div class="discussion">
616
+
617
+
618
+ </div>
619
+ </div>
620
+ <div class="tags">
621
+
622
+
623
+ <p class="tag_title">See Also:</p>
624
+ <ul class="see">
625
+
626
+ <li>lib/test/netlinx/compilable.rb interface.</li>
627
+
628
+ </ul>
629
+
630
+ </div><table class="source_code">
631
+ <tr>
632
+ <td>
633
+ <pre class="lines">
634
+
635
+
636
+ 67
637
+ 68
638
+ 69</pre>
639
+ </td>
640
+ <td>
641
+ <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 67</span>
642
+
643
+ <span class='kw'>def</span> <span class='id identifier rubyid_compiler_module_paths'>compiler_module_paths</span>
644
+ <span class='ivar'>@compiler_module_paths</span>
645
+ <span class='kw'>end</span></pre>
646
+ </td>
647
+ </tr>
648
+ </table>
649
+ </div>
650
+
651
+ <div class="method_details ">
652
+ <h3 class="signature " id="compiler_target_files-instance_method">
653
+
654
+ #<strong>compiler_target_files</strong> &#x21d2; <tt>Object</tt>
655
+
656
+
657
+
658
+
659
+
660
+ </h3><div class="docstring">
661
+ <div class="discussion">
662
+
663
+
664
+ </div>
665
+ </div>
666
+ <div class="tags">
667
+
668
+
669
+ <p class="tag_title">See Also:</p>
670
+ <ul class="see">
671
+
672
+ <li>lib/test/netlinx/compilable.rb interface.</li>
673
+
674
+ </ul>
675
+
676
+ </div><table class="source_code">
677
+ <tr>
678
+ <td>
679
+ <pre class="lines">
680
+
681
+
682
+ 57
683
+ 58
684
+ 59</pre>
685
+ </td>
686
+ <td>
687
+ <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 57</span>
688
+
689
+ <span class='kw'>def</span> <span class='id identifier rubyid_compiler_target_files'>compiler_target_files</span>
690
+ <span class='ivar'>@compiler_target_files</span>
691
+ <span class='kw'>end</span></pre>
692
+ </td>
693
+ </tr>
694
+ </table>
695
+ </div>
696
+
697
+ </div>
698
+
699
+ </div>
700
+
701
+ <div id="footer">
702
+ Generated on Sat Jul 11 17:29:50 2020 by
703
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
704
+ 0.9.25 (ruby-2.7.1).
705
+ </div>
706
+
707
+ </div>
708
+ </body>
709
+ </html>