netlinx-compile 1.0.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -0
  3. data/bin/netlinx-compile +0 -0
  4. data/doc/NetLinx.html +119 -151
  5. data/doc/NetLinx/Compile.html +119 -148
  6. data/doc/NetLinx/Compile/Extension.html +115 -145
  7. data/doc/NetLinx/Compile/Extension/AXS.html +217 -154
  8. data/doc/NetLinx/Compile/ExtensionDiscovery.html +479 -321
  9. data/doc/NetLinx/Compile/ExtensionHandler.html +703 -396
  10. data/doc/NetLinx/Compile/Script.html +390 -282
  11. data/doc/NetLinx/Compiler.html +375 -288
  12. data/doc/NetLinx/CompilerResult.html +1102 -498
  13. data/doc/NetLinx/NoCompilerError.html +135 -155
  14. data/doc/NetLinx/SourceFile.html +608 -423
  15. data/doc/_index.html +215 -0
  16. data/doc/class_list.html +58 -0
  17. data/doc/css/common.css +1 -0
  18. data/doc/css/full_list.css +57 -0
  19. data/doc/css/style.css +339 -0
  20. data/doc/file.README.html +94 -0
  21. data/doc/file.license.html +73 -0
  22. data/doc/file_list.html +63 -0
  23. data/doc/frames.html +26 -0
  24. data/doc/index.html +94 -103
  25. data/doc/js/app.js +219 -0
  26. data/doc/js/full_list.js +181 -0
  27. data/doc/js/jquery.js +4 -18
  28. data/doc/method_list.html +261 -0
  29. data/doc/top-level-namespace.html +112 -0
  30. data/lib/test/netlinx/compilable.rb +13 -48
  31. data/lib/test/netlinx/compile/discoverable.rb +3 -14
  32. data/lib/test/netlinx/compile/invokable.rb +3 -15
  33. metadata +98 -67
  34. data/README.txt +0 -2
  35. data/doc/Test.html +0 -147
  36. data/doc/Test/NetLinx.html +0 -147
  37. data/doc/Test/NetLinx/Compilable.html +0 -148
  38. data/doc/Test/NetLinx/Compile.html +0 -146
  39. data/doc/Test/NetLinx/Compile/Discoverable.html +0 -148
  40. data/doc/Test/NetLinx/Compile/Invokable.html +0 -149
  41. data/doc/created.rid +0 -12
  42. data/doc/images/add.png +0 -0
  43. data/doc/images/arrow_up.png +0 -0
  44. data/doc/images/brick.png +0 -0
  45. data/doc/images/brick_link.png +0 -0
  46. data/doc/images/bug.png +0 -0
  47. data/doc/images/bullet_black.png +0 -0
  48. data/doc/images/bullet_toggle_minus.png +0 -0
  49. data/doc/images/bullet_toggle_plus.png +0 -0
  50. data/doc/images/date.png +0 -0
  51. data/doc/images/delete.png +0 -0
  52. data/doc/images/find.png +0 -0
  53. data/doc/images/loadingAnimation.gif +0 -0
  54. data/doc/images/macFFBgHack.png +0 -0
  55. data/doc/images/package.png +0 -0
  56. data/doc/images/page_green.png +0 -0
  57. data/doc/images/page_white_text.png +0 -0
  58. data/doc/images/page_white_width.png +0 -0
  59. data/doc/images/plugin.png +0 -0
  60. data/doc/images/ruby.png +0 -0
  61. data/doc/images/tag_blue.png +0 -0
  62. data/doc/images/tag_green.png +0 -0
  63. data/doc/images/transparent.png +0 -0
  64. data/doc/images/wrench.png +0 -0
  65. data/doc/images/wrench_orange.png +0 -0
  66. data/doc/images/zoom.png +0 -0
  67. data/doc/js/darkfish.js +0 -155
  68. data/doc/js/navigation.js +0 -142
  69. data/doc/js/search.js +0 -94
  70. data/doc/js/search_index.js +0 -1
  71. data/doc/js/searcher.js +0 -228
  72. data/doc/rdoc.css +0 -595
  73. data/doc/table_of_contents.html +0 -138
@@ -1,501 +1,1105 @@
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::CompilerResult - 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
-
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: NetLinx::CompilerResult
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../';
20
+ framesUrl = "../frames.html#!NetLinx/CompilerResult.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../_index.html">Index (C)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../NetLinx.html" title="NetLinx (module)">NetLinx</a></span></span>
36
+ &raquo;
37
+ <span class="title">CompilerResult</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="../class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="../method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="../file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: NetLinx::CompilerResult
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName">Object</span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">NetLinx::CompilerResult</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+ <dt class="r2 last">Defined in:</dt>
97
+ <dd class="r2 last">lib/netlinx/compiler_result.rb</dd>
98
+
99
+ </dl>
100
+ <div class="clear"></div>
101
+
102
+ <h2>Overview</h2><div class="docstring">
103
+ <div class="discussion">
104
+
105
+ <p>Contains info pertaining to a job run through the compiler.</p>
106
+
107
+
108
+ </div>
109
+ </div>
110
+ <div class="tags">
111
+
112
+
113
+ </div>
114
+
115
+
116
+
117
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
118
+ <ul class="summary">
119
+
120
+ <li class="public ">
121
+ <span class="summary_signature">
122
+
123
+ <a href="#compiler_include_paths-instance_method" title="#compiler_include_paths (instance method)">- (Object) <strong>compiler_include_paths</strong> </a>
124
+
125
+
126
+
127
+ </span>
128
+
129
+
130
+
131
+
132
+ <span class="note title readonly">readonly</span>
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+ <span class="summary_desc"><div class='inline'>
143
+ <p>See Compilable interface.</p>
144
+ </div></span>
145
+
146
+ </li>
147
+
148
+
149
+ <li class="public ">
150
+ <span class="summary_signature">
151
+
152
+ <a href="#compiler_library_paths-instance_method" title="#compiler_library_paths (instance method)">- (Object) <strong>compiler_library_paths</strong> </a>
153
+
154
+
155
+
156
+ </span>
157
+
158
+
159
+
160
+
161
+ <span class="note title readonly">readonly</span>
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+ <span class="summary_desc"><div class='inline'>
172
+ <p>See Compilable interface.</p>
173
+ </div></span>
174
+
175
+ </li>
176
+
177
+
178
+ <li class="public ">
179
+ <span class="summary_signature">
180
+
181
+ <a href="#compiler_module_paths-instance_method" title="#compiler_module_paths (instance method)">- (Object) <strong>compiler_module_paths</strong> </a>
182
+
183
+
184
+
185
+ </span>
186
+
187
+
188
+
189
+
190
+ <span class="note title readonly">readonly</span>
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+ <span class="summary_desc"><div class='inline'>
201
+ <p>See Compilable interface.</p>
202
+ </div></span>
203
+
204
+ </li>
205
+
206
+
207
+ <li class="public ">
208
+ <span class="summary_signature">
209
+
210
+ <a href="#compiler_target_files-instance_method" title="#compiler_target_files (instance method)">- (Object) <strong>compiler_target_files</strong> </a>
211
+
212
+
213
+
214
+ </span>
215
+
216
+
217
+
218
+
219
+ <span class="note title readonly">readonly</span>
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+ <span class="summary_desc"><div class='inline'>
230
+ <p>See Compilable interface.</p>
231
+ </div></span>
232
+
233
+ </li>
234
+
235
+
236
+ <li class="public ">
237
+ <span class="summary_signature">
238
+
239
+ <a href="#errors-instance_method" title="#errors (instance method)">- (Object) <strong>errors</strong> </a>
240
+
241
+
242
+
243
+ </span>
244
+
245
+
246
+
247
+
248
+ <span class="note title readonly">readonly</span>
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+ <span class="summary_desc"><div class='inline'>
259
+ <p>Number of compiler errors.</p>
260
+ </div></span>
261
+
262
+ </li>
263
+
264
+
265
+ <li class="public ">
266
+ <span class="summary_signature">
267
+
268
+ <a href="#stream-instance_method" title="#stream (instance method)">- (Object) <strong>stream</strong> </a>
269
+
270
+
271
+
272
+ </span>
273
+
274
+
275
+
276
+
277
+ <span class="note title readonly">readonly</span>
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+ <span class="summary_desc"><div class='inline'>
288
+ <p>The raw stream of text returned by the compiler.</p>
289
+ </div></span>
290
+
291
+ </li>
292
+
293
+
294
+ <li class="public ">
295
+ <span class="summary_signature">
296
+
297
+ <a href="#warnings-instance_method" title="#warnings (instance method)">- (Object) <strong>warnings</strong> </a>
298
+
299
+
300
+
301
+ </span>
302
+
303
+
304
+
305
+
306
+ <span class="note title readonly">readonly</span>
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+ <span class="summary_desc"><div class='inline'>
317
+ <p>Number of compiler warnings.</p>
318
+ </div></span>
319
+
320
+ </li>
321
+
322
+
323
+ </ul>
324
+
325
+
326
+
327
+
328
+
329
+ <h2>
330
+ Instance Method Summary
331
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
332
+ </h2>
333
+
334
+ <ul class="summary">
335
+
336
+ <li class="public ">
337
+ <span class="summary_signature">
338
+
339
+ <a href="#error_items-instance_method" title="#error_items (instance method)">- (Object) <strong>error_items</strong> </a>
340
+
341
+
342
+
343
+ </span>
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+
353
+ <span class="summary_desc"><div class='inline'>
354
+ <p>An enumerable list of errors.</p>
355
+ </div></span>
356
+
357
+ </li>
358
+
359
+
360
+ <li class="public ">
361
+ <span class="summary_signature">
362
+
363
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (CompilerResult) <strong>initialize</strong>(**kvargs) </a>
364
+
365
+
366
+
367
+ </span>
368
+
369
+
370
+ <span class="note title constructor">constructor</span>
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+ <span class="summary_desc"><div class='inline'>
380
+ <p>Args: stream – The raw stream of text returned by the compiler.</p>
381
+ </div></span>
382
+
383
+ </li>
384
+
385
+
386
+ <li class="public ">
387
+ <span class="summary_signature">
388
+
389
+ <a href="#success%3F-instance_method" title="#success? (instance method)">- (Boolean) <strong>success?</strong> </a>
390
+
391
+
392
+
393
+ </span>
394
+
395
+
396
+
397
+
398
+
399
+
400
+
401
+
402
+
403
+ <span class="summary_desc"><div class='inline'>
404
+ <p>Compile was successful?.</p>
405
+ </div></span>
406
+
407
+ </li>
408
+
409
+
410
+ <li class="public ">
411
+ <span class="summary_signature">
412
+
413
+ <a href="#target_file-instance_method" title="#target_file (instance method)">- (Object) <strong>target_file</strong> </a>
414
+
415
+
416
+
417
+ </span>
418
+
419
+
420
+
421
+
422
+
423
+
424
+
425
+
426
+
427
+ <span class="summary_desc"><div class='inline'>
428
+ <p>Returns the absolute path of the source code file that was compiled.</p>
429
+ </div></span>
430
+
431
+ </li>
432
+
433
+
434
+ <li class="public ">
435
+ <span class="summary_signature">
436
+
437
+ <a href="#to_s-instance_method" title="#to_s (instance method)">- (Object) <strong>to_s</strong> </a>
438
+
439
+
440
+
441
+ </span>
442
+
443
+
444
+
445
+
446
+
447
+
448
+
449
+
450
+
451
+ <span class="summary_desc"><div class='inline'>
452
+ <p>Alias of #stream.</p>
453
+ </div></span>
454
+
455
+ </li>
456
+
457
+
458
+ <li class="public ">
459
+ <span class="summary_signature">
460
+
461
+ <a href="#warning_items-instance_method" title="#warning_items (instance method)">- (Object) <strong>warning_items</strong> </a>
462
+
463
+
464
+
465
+ </span>
466
+
467
+
468
+
469
+
470
+
471
+
472
+
473
+
474
+
475
+ <span class="summary_desc"><div class='inline'>
476
+ <p>An enumerable list of warnings.</p>
477
+ </div></span>
478
+
479
+ </li>
480
+
481
+
482
+ </ul>
483
+
484
+
485
+ <div id="constructor_details" class="method_details_list">
486
+ <h2>Constructor Details</h2>
487
+
488
+ <div class="method_details first">
489
+ <h3 class="signature first" id="initialize-instance_method">
490
+
491
+ - (<tt><span class='object_link'><a href="" title="NetLinx::CompilerResult (class)">CompilerResult</a></span></tt>) <strong>initialize</strong>(**kvargs)
492
+
493
+
494
+
495
+
496
+
497
+ </h3><div class="docstring">
498
+ <div class="discussion">
499
+
500
+ <p>Args:</p>
501
+
502
+ <pre class="code ruby"><code class="ruby">stream -- The raw stream of text returned by the compiler.
503
+ compiler_target_files -- See Compilable interface.
504
+ compiler_include_paths -- See Compilable interface.
505
+ compiler_module_paths -- See Compilable interface.
506
+ compiler_library_paths -- See Compilable interface.</code></pre>
507
+
508
+
509
+ </div>
510
+ </div>
511
+ <div class="tags">
512
+
513
+
514
+ </div><table class="source_code">
515
+ <tr>
516
+ <td>
517
+ <pre class="lines">
518
+
519
+
520
+ 28
521
+ 29
522
+ 30
523
+ 31
524
+ 32
525
+ 33
526
+ 34
527
+ 35
528
+ 36
529
+ 37
530
+ 38
531
+ 39
532
+ 40
533
+ 41
534
+ 42
535
+ 43
536
+ 44</pre>
537
+ </td>
538
+ <td>
539
+ <pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line 28</span>
540
+
541
+ <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_kvargs'>kvargs</span><span class='rparen'>)</span>
542
+ <span class='ivar'>@stream</span> <span class='op'>=</span> <span class='id identifier rubyid_kvargs'>kvargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:stream</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span>
46
543
 
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/compiler_result.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>
544
+ <span class='ivar'>@compiler_target_files</span> <span class='op'>=</span> <span class='id identifier rubyid_kvargs'>kvargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:compiler_target_files</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
545
+ <span class='ivar'>@compiler_include_paths</span> <span class='op'>=</span> <span class='id identifier rubyid_kvargs'>kvargs</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>
546
+ <span class='ivar'>@compiler_module_paths</span> <span class='op'>=</span> <span class='id identifier rubyid_kvargs'>kvargs</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>
547
+ <span class='ivar'>@compiler_library_paths</span> <span class='op'>=</span> <span class='id identifier rubyid_kvargs'>kvargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:compiler_library_paths</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
63
548
 
64
- <p class="link">Object
549
+ <span class='comment'># Capture error and warning counts.
550
+ </span> <span class='ivar'>@errors</span> <span class='op'>=</span> <span class='kw'>nil</span>
551
+ <span class='ivar'>@warnings</span> <span class='op'>=</span> <span class='kw'>nil</span>
65
552
 
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>
77
-
78
- <li ><a href="#method-i-error_items">#error_items</a>
79
-
80
- <li ><a href="#method-i-success-3F">#success?</a>
81
-
82
- <li ><a href="#method-i-target_file">#target_file</a>
83
-
84
- <li ><a href="#method-i-to_s">#to_s</a>
85
-
86
- <li ><a href="#method-i-warning_items">#warning_items</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>
103
-
104
- <li><a href="../NetLinx/Compile/Extension.html">NetLinx::Compile::Extension</a>
105
-
106
- <li><a href="../NetLinx/Compile/Extension/AXS.html">NetLinx::Compile::Extension::AXS</a>
107
-
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::CompilerResult</h1>
142
-
143
- <div id="description" class="description">
144
-
145
- <p>Contains info pertaining to a job run through the compiler.</p>
146
-
147
- </div><!-- description -->
148
-
149
-
150
-
151
-
152
- <section id="5Buntitled-5D" class="documentation-section">
153
-
154
-
155
-
156
-
157
-
158
-
159
-
160
- <!-- Attributes -->
161
- <section id="attribute-method-details" class="method-section section">
162
- <h3 class="section-header">Attributes</h3>
163
-
164
-
165
- <div id="attribute-i-compiler_include_paths" class="method-detail">
166
- <div class="method-heading attribute-method-heading">
167
- <span class="method-name">compiler_include_paths</span><span
168
- class="attribute-access-type">[R]</span>
169
- </div>
170
-
171
- <div class="method-description">
172
-
173
- <p>See Compilable interface.</p>
174
-
175
- </div>
176
- </div>
177
-
178
- <div id="attribute-i-compiler_library_paths" class="method-detail">
179
- <div class="method-heading attribute-method-heading">
180
- <span class="method-name">compiler_library_paths</span><span
181
- class="attribute-access-type">[R]</span>
182
- </div>
183
-
184
- <div class="method-description">
185
-
186
- <p>See Compilable interface.</p>
187
-
188
- </div>
189
- </div>
190
-
191
- <div id="attribute-i-compiler_module_paths" class="method-detail">
192
- <div class="method-heading attribute-method-heading">
193
- <span class="method-name">compiler_module_paths</span><span
194
- class="attribute-access-type">[R]</span>
195
- </div>
196
-
197
- <div class="method-description">
198
-
199
- <p>See Compilable interface.</p>
200
-
201
- </div>
202
- </div>
203
-
204
- <div id="attribute-i-compiler_target_files" class="method-detail">
205
- <div class="method-heading attribute-method-heading">
206
- <span class="method-name">compiler_target_files</span><span
207
- class="attribute-access-type">[R]</span>
208
- </div>
209
-
210
- <div class="method-description">
211
-
212
- <p>See Compilable interface.</p>
213
-
214
- </div>
215
- </div>
216
-
217
- <div id="attribute-i-errors" class="method-detail">
218
- <div class="method-heading attribute-method-heading">
219
- <span class="method-name">errors</span><span
220
- class="attribute-access-type">[R]</span>
221
- </div>
222
-
223
- <div class="method-description">
224
-
225
- <p>Number of compiler errors.</p>
226
-
227
- </div>
228
- </div>
229
-
230
- <div id="attribute-i-stream" class="method-detail">
231
- <div class="method-heading attribute-method-heading">
232
- <span class="method-name">stream</span><span
233
- class="attribute-access-type">[R]</span>
234
- </div>
235
-
236
- <div class="method-description">
237
-
238
- <p>The raw stream of text returned by the compiler.</p>
239
-
240
- </div>
241
- </div>
242
-
243
- <div id="attribute-i-warnings" class="method-detail">
244
- <div class="method-heading attribute-method-heading">
245
- <span class="method-name">warnings</span><span
246
- class="attribute-access-type">[R]</span>
247
- </div>
248
-
249
- <div class="method-description">
250
-
251
- <p>Number of compiler warnings.</p>
252
-
253
- </div>
254
- </div>
255
-
256
- </section><!-- attribute-method-details -->
257
-
258
-
259
- <!-- Methods -->
260
-
261
- <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
262
- <h3 class="section-header">Public Class Methods</h3>
263
-
264
-
265
- <div id="method-c-new" class="method-detail ">
266
-
267
- <div class="method-heading">
268
- <span class="method-name">new</span><span
269
- class="method-args">(**kvargs)</span>
270
-
271
- <span class="method-click-advice">click to toggle source</span>
272
-
273
- </div>
274
-
275
-
276
- <div class="method-description">
277
-
278
- <p>Args:</p>
279
-
280
- <pre>stream -- The raw stream of text returned by the compiler.
281
- compiler_target_files -- See Compilable interface.
282
- compiler_include_paths -- See Compilable interface.
283
- compiler_module_paths -- See Compilable interface.
284
- compiler_library_paths -- See Compilable interface.</pre>
285
-
286
-
287
-
288
-
289
- <div class="method-source-code" id="new-source">
290
- <pre><span class="ruby-comment"># File lib/netlinx/compiler_result.rb, line 28</span>
291
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">**</span><span class="ruby-identifier">kvargs</span>)
292
- <span class="ruby-ivar">@stream</span> = <span class="ruby-identifier">kvargs</span>.<span class="ruby-identifier">fetch</span> <span class="ruby-value">:stream</span>, <span class="ruby-string">&#39;&#39;</span>
293
-
294
- <span class="ruby-ivar">@compiler_target_files</span> = <span class="ruby-identifier">kvargs</span>.<span class="ruby-identifier">fetch</span> <span class="ruby-value">:compiler_target_files</span>, []
295
- <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>, []
296
- <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>, []
297
- <span class="ruby-ivar">@compiler_library_paths</span> = <span class="ruby-identifier">kvargs</span>.<span class="ruby-identifier">fetch</span> <span class="ruby-value">:compiler_library_paths</span>, []
298
-
299
- <span class="ruby-comment"># Capture error and warning counts.</span>
300
- <span class="ruby-ivar">@errors</span> = <span class="ruby-keyword">nil</span>
301
- <span class="ruby-ivar">@warnings</span> = <span class="ruby-keyword">nil</span>
302
-
303
- <span class="ruby-ivar">@stream</span>.<span class="ruby-identifier">scan</span> <span class="ruby-regexp">/(\d+) error\(s\), (\d+) warning\(s\)/</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">e</span>, <span class="ruby-identifier">w</span><span class="ruby-operator">|</span>
304
- <span class="ruby-ivar">@errors</span> = <span class="ruby-identifier">e</span>.<span class="ruby-identifier">to_i</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">e</span>
305
- <span class="ruby-ivar">@warnings</span> = <span class="ruby-identifier">w</span>.<span class="ruby-identifier">to_i</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">w</span>
306
- <span class="ruby-keyword">end</span>
307
- <span class="ruby-keyword">end</span></pre>
308
- </div><!-- new-source -->
309
-
310
- </div>
311
-
312
-
313
-
314
-
315
- </div><!-- new-method -->
316
-
317
-
318
- </section><!-- public-class-method-details -->
319
-
320
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
321
- <h3 class="section-header">Public Instance Methods</h3>
322
-
323
-
324
- <div id="method-i-error_items" class="method-detail ">
325
-
326
- <div class="method-heading">
327
- <span class="method-name">error_items</span><span
328
- class="method-args">()</span>
329
-
330
- <span class="method-click-advice">click to toggle source</span>
331
-
332
- </div>
333
-
334
-
335
- <div class="method-description">
336
-
337
- <p>An enumerable list of errors.</p>
338
-
339
-
340
-
341
-
342
- <div class="method-source-code" id="error_items-source">
343
- <pre><span class="ruby-comment"># File lib/netlinx/compiler_result.rb, line 67</span>
344
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">error_items</span>
345
- <span class="ruby-ivar">@stream</span>.<span class="ruby-identifier">scan</span>(<span class="ruby-regexp">/(^ERROR: .*$)/</span>).<span class="ruby-identifier">map</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-identifier">i</span>.<span class="ruby-identifier">first</span>}
346
- <span class="ruby-keyword">end</span></pre>
347
- </div><!-- error_items-source -->
348
-
349
- </div>
350
-
351
-
352
-
353
-
354
- </div><!-- error_items-method -->
355
-
356
-
357
- <div id="method-i-success-3F" class="method-detail ">
358
-
359
- <div class="method-heading">
360
- <span class="method-name">success?</span><span
361
- class="method-args">()</span>
362
-
363
- <span class="method-click-advice">click to toggle source</span>
364
-
365
- </div>
366
-
367
-
368
- <div class="method-description">
369
-
370
- <p><a href="Compile.html">Compile</a> was successful?</p>
371
-
372
-
373
-
374
-
375
- <div class="method-source-code" id="success-3F-source">
376
- <pre><span class="ruby-comment"># File lib/netlinx/compiler_result.rb, line 57</span>
377
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">success?</span>
378
- <span class="ruby-ivar">@errors</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-ivar">@warnings</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
379
- <span class="ruby-keyword">end</span></pre>
380
- </div><!-- success-3F-source -->
381
-
382
- </div>
383
-
384
-
385
-
386
-
387
- </div><!-- success-3F-method -->
388
-
389
-
390
- <div id="method-i-target_file" class="method-detail ">
391
-
392
- <div class="method-heading">
393
- <span class="method-name">target_file</span><span
394
- class="method-args">()</span>
395
-
396
- <span class="method-click-advice">click to toggle source</span>
397
-
398
- </div>
399
-
400
-
401
- <div class="method-description">
402
-
403
- <p>Returns the absolute path of the source code file that was compiled.</p>
404
-
405
-
406
-
407
-
408
- <div class="method-source-code" id="target_file-source">
409
- <pre><span class="ruby-comment"># File lib/netlinx/compiler_result.rb, line 52</span>
410
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">target_file</span>
411
- <span class="ruby-ivar">@compiler_target_files</span>.<span class="ruby-identifier">first</span>
412
- <span class="ruby-keyword">end</span></pre>
413
- </div><!-- target_file-source -->
414
-
415
- </div>
416
-
417
-
418
-
419
-
420
- </div><!-- target_file-method -->
421
-
422
-
423
- <div id="method-i-to_s" class="method-detail ">
424
-
425
- <div class="method-heading">
426
- <span class="method-name">to_s</span><span
427
- class="method-args">()</span>
428
-
429
- <span class="method-click-advice">click to toggle source</span>
430
-
431
- </div>
432
-
433
-
434
- <div class="method-description">
435
-
436
- <p>Alias of <a href="CompilerResult.html#attribute-i-stream">stream</a>.</p>
437
-
438
-
439
-
440
-
441
- <div class="method-source-code" id="to_s-source">
442
- <pre><span class="ruby-comment"># File lib/netlinx/compiler_result.rb, line 47</span>
443
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
444
- <span class="ruby-ivar">@stream</span>
445
- <span class="ruby-keyword">end</span></pre>
446
- </div><!-- to_s-source -->
447
-
448
- </div>
449
-
450
-
451
-
452
-
453
- </div><!-- to_s-method -->
454
-
455
-
456
- <div id="method-i-warning_items" class="method-detail ">
457
-
458
- <div class="method-heading">
459
- <span class="method-name">warning_items</span><span
460
- class="method-args">()</span>
461
-
462
- <span class="method-click-advice">click to toggle source</span>
463
-
464
- </div>
465
-
466
-
467
- <div class="method-description">
468
-
469
- <p>An enumerable list of warnings.</p>
470
-
471
-
472
-
473
-
474
- <div class="method-source-code" id="warning_items-source">
475
- <pre><span class="ruby-comment"># File lib/netlinx/compiler_result.rb, line 62</span>
476
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">warning_items</span>
477
- <span class="ruby-ivar">@stream</span>.<span class="ruby-identifier">scan</span>(<span class="ruby-regexp">/(^WARNING: .*$)/</span>).<span class="ruby-identifier">map</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-identifier">i</span>.<span class="ruby-identifier">first</span>}
478
- <span class="ruby-keyword">end</span></pre>
479
- </div><!-- warning_items-source -->
480
-
481
- </div>
482
-
483
-
484
-
485
-
486
- </div><!-- warning_items-method -->
487
-
488
-
489
- </section><!-- public-instance-method-details -->
490
-
491
- </section><!-- 5Buntitled-5D -->
492
-
493
- </div><!-- documentation -->
494
-
495
-
496
- <footer id="validator-badges">
497
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
498
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.1.
499
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
500
- </footer>
501
-
553
+ <span class='ivar'>@stream</span><span class='period'>.</span><span class='id identifier rubyid_scan'>scan</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>(\d+) error\(s\), (\d+) warning\(s\)</span><span class='regexp_end'>/</span></span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='comma'>,</span> <span class='id identifier rubyid_w'>w</span><span class='op'>|</span>
554
+ <span class='ivar'>@errors</span> <span class='op'>=</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span> <span class='kw'>if</span> <span class='id identifier rubyid_e'>e</span>
555
+ <span class='ivar'>@warnings</span> <span class='op'>=</span> <span class='id identifier rubyid_w'>w</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span> <span class='kw'>if</span> <span class='id identifier rubyid_w'>w</span>
556
+ <span class='kw'>end</span>
557
+ <span class='kw'>end</span></pre>
558
+ </td>
559
+ </tr>
560
+ </table>
561
+ </div>
562
+
563
+ </div>
564
+
565
+ <div id="instance_attr_details" class="attr_details">
566
+ <h2>Instance Attribute Details</h2>
567
+
568
+
569
+ <span id=""></span>
570
+ <div class="method_details first">
571
+ <h3 class="signature first" id="compiler_include_paths-instance_method">
572
+
573
+ - (<tt>Object</tt>) <strong>compiler_include_paths</strong> <span class="extras">(readonly)</span>
574
+
575
+
576
+
577
+
578
+
579
+ </h3><div class="docstring">
580
+ <div class="discussion">
581
+
582
+ <p>See Compilable interface.</p>
583
+
584
+
585
+ </div>
586
+ </div>
587
+ <div class="tags">
588
+
589
+
590
+ </div><table class="source_code">
591
+ <tr>
592
+ <td>
593
+ <pre class="lines">
594
+
595
+
596
+ 16
597
+ 17
598
+ 18</pre>
599
+ </td>
600
+ <td>
601
+ <pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line 16</span>
602
+
603
+ <span class='kw'>def</span> <span class='id identifier rubyid_compiler_include_paths'>compiler_include_paths</span>
604
+ <span class='ivar'>@compiler_include_paths</span>
605
+ <span class='kw'>end</span></pre>
606
+ </td>
607
+ </tr>
608
+ </table>
609
+ </div>
610
+
611
+
612
+ <span id=""></span>
613
+ <div class="method_details ">
614
+ <h3 class="signature " id="compiler_library_paths-instance_method">
615
+
616
+ - (<tt>Object</tt>) <strong>compiler_library_paths</strong> <span class="extras">(readonly)</span>
617
+
618
+
619
+
620
+
621
+
622
+ </h3><div class="docstring">
623
+ <div class="discussion">
624
+
625
+ <p>See Compilable interface.</p>
626
+
627
+
628
+ </div>
629
+ </div>
630
+ <div class="tags">
631
+
632
+
633
+ </div><table class="source_code">
634
+ <tr>
635
+ <td>
636
+ <pre class="lines">
637
+
638
+
639
+ 20
640
+ 21
641
+ 22</pre>
642
+ </td>
643
+ <td>
644
+ <pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line 20</span>
645
+
646
+ <span class='kw'>def</span> <span class='id identifier rubyid_compiler_library_paths'>compiler_library_paths</span>
647
+ <span class='ivar'>@compiler_library_paths</span>
648
+ <span class='kw'>end</span></pre>
649
+ </td>
650
+ </tr>
651
+ </table>
652
+ </div>
653
+
654
+
655
+ <span id=""></span>
656
+ <div class="method_details ">
657
+ <h3 class="signature " id="compiler_module_paths-instance_method">
658
+
659
+ - (<tt>Object</tt>) <strong>compiler_module_paths</strong> <span class="extras">(readonly)</span>
660
+
661
+
662
+
663
+
664
+
665
+ </h3><div class="docstring">
666
+ <div class="discussion">
667
+
668
+ <p>See Compilable interface.</p>
669
+
670
+
671
+ </div>
672
+ </div>
673
+ <div class="tags">
674
+
675
+
676
+ </div><table class="source_code">
677
+ <tr>
678
+ <td>
679
+ <pre class="lines">
680
+
681
+
682
+ 18
683
+ 19
684
+ 20</pre>
685
+ </td>
686
+ <td>
687
+ <pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line 18</span>
688
+
689
+ <span class='kw'>def</span> <span class='id identifier rubyid_compiler_module_paths'>compiler_module_paths</span>
690
+ <span class='ivar'>@compiler_module_paths</span>
691
+ <span class='kw'>end</span></pre>
692
+ </td>
693
+ </tr>
694
+ </table>
695
+ </div>
696
+
697
+
698
+ <span id=""></span>
699
+ <div class="method_details ">
700
+ <h3 class="signature " id="compiler_target_files-instance_method">
701
+
702
+ - (<tt>Object</tt>) <strong>compiler_target_files</strong> <span class="extras">(readonly)</span>
703
+
704
+
705
+
706
+
707
+
708
+ </h3><div class="docstring">
709
+ <div class="discussion">
710
+
711
+ <p>See Compilable interface.</p>
712
+
713
+
714
+ </div>
715
+ </div>
716
+ <div class="tags">
717
+
718
+
719
+ </div><table class="source_code">
720
+ <tr>
721
+ <td>
722
+ <pre class="lines">
723
+
724
+
725
+ 14
726
+ 15
727
+ 16</pre>
728
+ </td>
729
+ <td>
730
+ <pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line 14</span>
731
+
732
+ <span class='kw'>def</span> <span class='id identifier rubyid_compiler_target_files'>compiler_target_files</span>
733
+ <span class='ivar'>@compiler_target_files</span>
734
+ <span class='kw'>end</span></pre>
735
+ </td>
736
+ </tr>
737
+ </table>
738
+ </div>
739
+
740
+
741
+ <span id=""></span>
742
+ <div class="method_details ">
743
+ <h3 class="signature " id="errors-instance_method">
744
+
745
+ - (<tt>Object</tt>) <strong>errors</strong> <span class="extras">(readonly)</span>
746
+
747
+
748
+
749
+
750
+
751
+ </h3><div class="docstring">
752
+ <div class="discussion">
753
+
754
+ <p>Number of compiler errors.</p>
755
+
756
+
757
+ </div>
758
+ </div>
759
+ <div class="tags">
760
+
761
+
762
+ </div><table class="source_code">
763
+ <tr>
764
+ <td>
765
+ <pre class="lines">
766
+
767
+
768
+ 7
769
+ 8
770
+ 9</pre>
771
+ </td>
772
+ <td>
773
+ <pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line 7</span>
774
+
775
+ <span class='kw'>def</span> <span class='id identifier rubyid_errors'>errors</span>
776
+ <span class='ivar'>@errors</span>
777
+ <span class='kw'>end</span></pre>
778
+ </td>
779
+ </tr>
780
+ </table>
781
+ </div>
782
+
783
+
784
+ <span id=""></span>
785
+ <div class="method_details ">
786
+ <h3 class="signature " id="stream-instance_method">
787
+
788
+ - (<tt>Object</tt>) <strong>stream</strong> <span class="extras">(readonly)</span>
789
+
790
+
791
+
792
+
793
+
794
+ </h3><div class="docstring">
795
+ <div class="discussion">
796
+
797
+ <p>The raw stream of text returned by the compiler.</p>
798
+
799
+
800
+ </div>
801
+ </div>
802
+ <div class="tags">
803
+
804
+
805
+ </div><table class="source_code">
806
+ <tr>
807
+ <td>
808
+ <pre class="lines">
809
+
810
+
811
+ 5
812
+ 6
813
+ 7</pre>
814
+ </td>
815
+ <td>
816
+ <pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line 5</span>
817
+
818
+ <span class='kw'>def</span> <span class='id identifier rubyid_stream'>stream</span>
819
+ <span class='ivar'>@stream</span>
820
+ <span class='kw'>end</span></pre>
821
+ </td>
822
+ </tr>
823
+ </table>
824
+ </div>
825
+
826
+
827
+ <span id=""></span>
828
+ <div class="method_details ">
829
+ <h3 class="signature " id="warnings-instance_method">
830
+
831
+ - (<tt>Object</tt>) <strong>warnings</strong> <span class="extras">(readonly)</span>
832
+
833
+
834
+
835
+
836
+
837
+ </h3><div class="docstring">
838
+ <div class="discussion">
839
+
840
+ <p>Number of compiler warnings.</p>
841
+
842
+
843
+ </div>
844
+ </div>
845
+ <div class="tags">
846
+
847
+
848
+ </div><table class="source_code">
849
+ <tr>
850
+ <td>
851
+ <pre class="lines">
852
+
853
+
854
+ 9
855
+ 10
856
+ 11</pre>
857
+ </td>
858
+ <td>
859
+ <pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line 9</span>
860
+
861
+ <span class='kw'>def</span> <span class='id identifier rubyid_warnings'>warnings</span>
862
+ <span class='ivar'>@warnings</span>
863
+ <span class='kw'>end</span></pre>
864
+ </td>
865
+ </tr>
866
+ </table>
867
+ </div>
868
+
869
+ </div>
870
+
871
+
872
+ <div id="instance_method_details" class="method_details_list">
873
+ <h2>Instance Method Details</h2>
874
+
875
+
876
+ <div class="method_details first">
877
+ <h3 class="signature first" id="error_items-instance_method">
878
+
879
+ - (<tt>Object</tt>) <strong>error_items</strong>
880
+
881
+
882
+
883
+
884
+
885
+ </h3><div class="docstring">
886
+ <div class="discussion">
887
+
888
+ <p>An enumerable list of errors.</p>
889
+
890
+
891
+ </div>
892
+ </div>
893
+ <div class="tags">
894
+
895
+
896
+ </div><table class="source_code">
897
+ <tr>
898
+ <td>
899
+ <pre class="lines">
900
+
901
+
902
+ 67
903
+ 68
904
+ 69</pre>
905
+ </td>
906
+ <td>
907
+ <pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line 67</span>
908
+
909
+ <span class='kw'>def</span> <span class='id identifier rubyid_error_items'>error_items</span>
910
+ <span class='ivar'>@stream</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'>(^ERROR: .*$)</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_i'>i</span><span class='op'>|</span> <span class='id identifier rubyid_i'>i</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='rbrace'>}</span>
911
+ <span class='kw'>end</span></pre>
912
+ </td>
913
+ </tr>
914
+ </table>
915
+ </div>
916
+
917
+ <div class="method_details ">
918
+ <h3 class="signature " id="success?-instance_method">
919
+
920
+ - (<tt>Boolean</tt>) <strong>success?</strong>
921
+
922
+
923
+
924
+
925
+
926
+ </h3><div class="docstring">
927
+ <div class="discussion">
928
+
929
+ <p>Compile was successful?</p>
930
+
931
+
932
+ </div>
933
+ </div>
934
+ <div class="tags">
935
+
936
+ <p class="tag_title">Returns:</p>
937
+ <ul class="return">
938
+
939
+ <li>
940
+
941
+
942
+ <span class='type'>(<tt>Boolean</tt>)</span>
943
+
944
+
945
+
946
+ </li>
947
+
948
+ </ul>
949
+
950
+ </div><table class="source_code">
951
+ <tr>
952
+ <td>
953
+ <pre class="lines">
954
+
955
+
956
+ 57
957
+ 58
958
+ 59</pre>
959
+ </td>
960
+ <td>
961
+ <pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line 57</span>
962
+
963
+ <span class='kw'>def</span> <span class='id identifier rubyid_success?'>success?</span>
964
+ <span class='ivar'>@errors</span> <span class='op'>==</span> <span class='int'>0</span> <span class='op'>&amp;&amp;</span> <span class='ivar'>@warnings</span> <span class='op'>==</span> <span class='int'>0</span>
965
+ <span class='kw'>end</span></pre>
966
+ </td>
967
+ </tr>
968
+ </table>
969
+ </div>
970
+
971
+ <div class="method_details ">
972
+ <h3 class="signature " id="target_file-instance_method">
973
+
974
+ - (<tt>Object</tt>) <strong>target_file</strong>
975
+
976
+
977
+
978
+
979
+
980
+ </h3><div class="docstring">
981
+ <div class="discussion">
982
+
983
+ <p>Returns the absolute path of the source code file that was compiled.</p>
984
+
985
+
986
+ </div>
987
+ </div>
988
+ <div class="tags">
989
+
990
+
991
+ </div><table class="source_code">
992
+ <tr>
993
+ <td>
994
+ <pre class="lines">
995
+
996
+
997
+ 52
998
+ 53
999
+ 54</pre>
1000
+ </td>
1001
+ <td>
1002
+ <pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line 52</span>
1003
+
1004
+ <span class='kw'>def</span> <span class='id identifier rubyid_target_file'>target_file</span>
1005
+ <span class='ivar'>@compiler_target_files</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
1006
+ <span class='kw'>end</span></pre>
1007
+ </td>
1008
+ </tr>
1009
+ </table>
1010
+ </div>
1011
+
1012
+ <div class="method_details ">
1013
+ <h3 class="signature " id="to_s-instance_method">
1014
+
1015
+ - (<tt>Object</tt>) <strong>to_s</strong>
1016
+
1017
+
1018
+
1019
+
1020
+
1021
+ </h3><div class="docstring">
1022
+ <div class="discussion">
1023
+
1024
+ <p>Alias of #stream.</p>
1025
+
1026
+
1027
+ </div>
1028
+ </div>
1029
+ <div class="tags">
1030
+
1031
+
1032
+ </div><table class="source_code">
1033
+ <tr>
1034
+ <td>
1035
+ <pre class="lines">
1036
+
1037
+
1038
+ 47
1039
+ 48
1040
+ 49</pre>
1041
+ </td>
1042
+ <td>
1043
+ <pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line 47</span>
1044
+
1045
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
1046
+ <span class='ivar'>@stream</span>
1047
+ <span class='kw'>end</span></pre>
1048
+ </td>
1049
+ </tr>
1050
+ </table>
1051
+ </div>
1052
+
1053
+ <div class="method_details ">
1054
+ <h3 class="signature " id="warning_items-instance_method">
1055
+
1056
+ - (<tt>Object</tt>) <strong>warning_items</strong>
1057
+
1058
+
1059
+
1060
+
1061
+
1062
+ </h3><div class="docstring">
1063
+ <div class="discussion">
1064
+
1065
+ <p>An enumerable list of warnings.</p>
1066
+
1067
+
1068
+ </div>
1069
+ </div>
1070
+ <div class="tags">
1071
+
1072
+
1073
+ </div><table class="source_code">
1074
+ <tr>
1075
+ <td>
1076
+ <pre class="lines">
1077
+
1078
+
1079
+ 62
1080
+ 63
1081
+ 64</pre>
1082
+ </td>
1083
+ <td>
1084
+ <pre class="code"><span class="info file"># File 'lib/netlinx/compiler_result.rb', line 62</span>
1085
+
1086
+ <span class='kw'>def</span> <span class='id identifier rubyid_warning_items'>warning_items</span>
1087
+ <span class='ivar'>@stream</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'>(^WARNING: .*$)</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_i'>i</span><span class='op'>|</span> <span class='id identifier rubyid_i'>i</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='rbrace'>}</span>
1088
+ <span class='kw'>end</span></pre>
1089
+ </td>
1090
+ </tr>
1091
+ </table>
1092
+ </div>
1093
+
1094
+ </div>
1095
+
1096
+ </div>
1097
+
1098
+ <div id="footer">
1099
+ Generated on Mon Jan 26 15:35:29 2015 by
1100
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1101
+ 0.8.7.6 (ruby-2.1.5).
1102
+ </div>
1103
+
1104
+ </body>
1105
+ </html>