netlinx-compile 1.0.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,155 +1,135 @@
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::NoCompilerError - 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/compiler.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">Exception
65
-
66
- </nav>
67
-
68
-
69
-
70
-
71
- </div>
72
-
73
- <div id="project-metadata">
74
-
75
- <nav id="classindex-section" class="section project-section">
76
- <h3 class="section-header">Class and Module Index</h3>
77
-
78
- <ul class="link-list">
79
-
80
- <li><a href="../NetLinx.html">NetLinx</a>
81
-
82
- <li><a href="../NetLinx/Compile.html">NetLinx::Compile</a>
83
-
84
- <li><a href="../NetLinx/Compile/Extension.html">NetLinx::Compile::Extension</a>
85
-
86
- <li><a href="../NetLinx/Compile/Extension/AXS.html">NetLinx::Compile::Extension::AXS</a>
87
-
88
- <li><a href="../NetLinx/Compile/ExtensionDiscovery.html">NetLinx::Compile::ExtensionDiscovery</a>
89
-
90
- <li><a href="../NetLinx/Compile/ExtensionHandler.html">NetLinx::Compile::ExtensionHandler</a>
91
-
92
- <li><a href="../NetLinx/Compile/Script.html">NetLinx::Compile::Script</a>
93
-
94
- <li><a href="../NetLinx/Compiler.html">NetLinx::Compiler</a>
95
-
96
- <li><a href="../NetLinx/CompilerResult.html">NetLinx::CompilerResult</a>
97
-
98
- <li><a href="../NetLinx/NoCompilerError.html">NetLinx::NoCompilerError</a>
99
-
100
- <li><a href="../NetLinx/SourceFile.html">NetLinx::SourceFile</a>
101
-
102
- <li><a href="../Test.html">Test</a>
103
-
104
- <li><a href="../Test/NetLinx.html">Test::NetLinx</a>
105
-
106
- <li><a href="../Test/NetLinx/Compilable.html">Test::NetLinx::Compilable</a>
107
-
108
- <li><a href="../Test/NetLinx/Compile.html">Test::NetLinx::Compile</a>
109
-
110
- <li><a href="../Test/NetLinx/Compile/Discoverable.html">Test::NetLinx::Compile::Discoverable</a>
111
-
112
- <li><a href="../Test/NetLinx/Compile/Invokable.html">Test::NetLinx::Compile::Invokable</a>
113
-
114
- </ul>
115
- </nav>
116
-
117
- </div>
118
- </nav>
119
-
120
- <div id="documentation">
121
- <h1 class="class">class NetLinx::NoCompilerError</h1>
122
-
123
- <div id="description" class="description">
124
-
125
- <p>Raised when the <a href="../NetLinx.html">NetLinx</a> compiler (nlrc.exe)
126
- cannot be found on the system. See <a
127
- href="Compiler.html">NetLinx::Compiler</a>.</p>
128
-
129
- </div><!-- description -->
130
-
131
-
132
-
133
-
134
- <section id="5Buntitled-5D" class="documentation-section">
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
- <!-- Methods -->
144
-
145
- </section><!-- 5Buntitled-5D -->
146
-
147
- </div><!-- documentation -->
148
-
149
-
150
- <footer id="validator-badges">
151
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
152
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.1.
153
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
154
- </footer>
155
-
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
+ Exception: NetLinx::NoCompilerError
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/NoCompilerError.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 (N)</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">NoCompilerError</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>Exception: NetLinx::NoCompilerError
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">Exception</span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">Exception</li>
82
+
83
+ <li class="next">NetLinx::NoCompilerError</li>
84
+
85
+ </ul>
86
+ <a href="#" class="inheritanceTree">show all</a>
87
+
88
+ </dd>
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+ <dt class="r2 last">Defined in:</dt>
99
+ <dd class="r2 last">lib/netlinx/compiler.rb</dd>
100
+
101
+ </dl>
102
+ <div class="clear"></div>
103
+
104
+ <h2>Overview</h2><div class="docstring">
105
+ <div class="discussion">
106
+
107
+ <p>Raised when the NetLinx compiler (nlrc.exe) cannot be found on the system.
108
+ See NetLinx::Compiler.</p>
109
+
110
+
111
+ </div>
112
+ </div>
113
+ <div class="tags">
114
+
115
+
116
+ </div>
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+ </div>
127
+
128
+ <div id="footer">
129
+ Generated on Mon Jan 26 15:35:28 2015 by
130
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
131
+ 0.8.7.6 (ruby-2.1.5).
132
+ </div>
133
+
134
+ </body>
135
+ </html>
@@ -1,430 +1,615 @@
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 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::SourceFile
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/SourceFile.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 (S)</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">SourceFile</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::SourceFile
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::SourceFile</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/source_file.rb</dd>
98
+
99
+ </dl>
100
+ <div class="clear"></div>
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+ <h2>
111
+ Instance Method Summary
112
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
113
+ </h2>
114
+
115
+ <ul class="summary">
116
+
117
+ <li class="public ">
118
+ <span class="summary_signature">
119
+
120
+ <a href="#compile-instance_method" title="#compile (instance method)">- (Object) <strong>compile</strong> </a>
121
+
122
+
123
+
124
+ </span>
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+ <span class="summary_desc"><div class='inline'>
135
+ <p>Execute the compiler on itself.</p>
136
+ </div></span>
137
+
138
+ </li>
139
+
140
+
141
+ <li class="public ">
142
+ <span class="summary_signature">
143
+
144
+ <a href="#compiler_include_paths-instance_method" title="#compiler_include_paths (instance method)">- (Object) <strong>compiler_include_paths</strong> </a>
145
+
146
+
147
+
148
+ </span>
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+ <span class="summary_desc"><div class='inline'>
159
+ <p>See Test::NetLinx::Compilable interface.</p>
160
+ </div></span>
161
+
162
+ </li>
163
+
164
+
165
+ <li class="public ">
166
+ <span class="summary_signature">
167
+
168
+ <a href="#compiler_library_paths-instance_method" title="#compiler_library_paths (instance method)">- (Object) <strong>compiler_library_paths</strong> </a>
169
+
170
+
171
+
172
+ </span>
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+ <span class="summary_desc"><div class='inline'>
183
+ <p>See Test::NetLinx::Compilable interface.</p>
184
+ </div></span>
185
+
186
+ </li>
187
+
188
+
189
+ <li class="public ">
190
+ <span class="summary_signature">
191
+
192
+ <a href="#compiler_module_paths-instance_method" title="#compiler_module_paths (instance method)">- (Object) <strong>compiler_module_paths</strong> </a>
193
+
194
+
195
+
196
+ </span>
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+ <span class="summary_desc"><div class='inline'>
207
+ <p>See Test::NetLinx::Compilable interface.</p>
208
+ </div></span>
209
+
210
+ </li>
211
+
212
+
213
+ <li class="public ">
214
+ <span class="summary_signature">
215
+
216
+ <a href="#compiler_target_files-instance_method" title="#compiler_target_files (instance method)">- (Object) <strong>compiler_target_files</strong> </a>
217
+
218
+
219
+
220
+ </span>
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+ <span class="summary_desc"><div class='inline'>
231
+ <p>See Test::NetLinx::Compilable interface.</p>
232
+ </div></span>
233
+
234
+ </li>
235
+
236
+
237
+ <li class="public ">
238
+ <span class="summary_signature">
239
+
240
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (SourceFile) <strong>initialize</strong>(**kvargs) </a>
241
+
242
+
243
+
244
+ </span>
245
+
246
+
247
+ <span class="note title constructor">constructor</span>
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+ <span class="summary_desc"><div class='inline'>
257
+ <p>Parameters: file: Name or path of the file to compile.</p>
258
+ </div></span>
259
+
260
+ </li>
261
+
262
+
263
+ </ul>
264
+
265
+
266
+ <div id="constructor_details" class="method_details_list">
267
+ <h2>Constructor Details</h2>
268
+
269
+ <div class="method_details first">
270
+ <h3 class="signature first" id="initialize-instance_method">
271
+
272
+ - (<tt><span class='object_link'><a href="" title="NetLinx::SourceFile (class)">SourceFile</a></span></tt>) <strong>initialize</strong>(**kvargs)
273
+
274
+
275
+
276
+
277
+
278
+ </h3><div class="docstring">
279
+ <div class="discussion">
280
+
281
+ <p>Parameters:</p>
282
+
283
+ <pre class="code ruby"><code class="ruby">file: Name or path of the file to compile.
284
+ compiler_include_paths: Array of additional paths for the compiler to find include files.
285
+ compiler_module_paths: Array of additional paths for the compiler to find module files.
286
+ NOTE: SourceFile already searches the body of the source file to automatically determine
287
+ include and module paths.</code></pre>
288
+
289
+
290
+ </div>
291
+ </div>
292
+ <div class="tags">
293
+
294
+
295
+ </div><table class="source_code">
296
+ <tr>
297
+ <td>
298
+ <pre class="lines">
299
+
300
+
301
+ 10
302
+ 11
303
+ 12
304
+ 13
305
+ 14
306
+ 15
307
+ 16
308
+ 17
309
+ 18
310
+ 19
311
+ 20
312
+ 21
313
+ 22
314
+ 23
315
+ 24
316
+ 25
317
+ 26
318
+ 27
319
+ 28
320
+ 29
321
+ 30
322
+ 31
323
+ 32
324
+ 33
325
+ 34
326
+ 35
327
+ 36
328
+ 37
329
+ 38
330
+ 39
331
+ 40
332
+ 41
333
+ 42
334
+ 43
335
+ 44
336
+ 45
337
+ 46
338
+ 47
339
+ 48</pre>
340
+ </td>
341
+ <td>
342
+ <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 10</span>
343
+
344
+ <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>
345
+ <span class='ivar'>@compiler_target_files</span> <span class='op'>=</span> <span class='lbracket'>[</span> <span class='lparen'>(</span><span class='id identifier rubyid_kvargs'>kvargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:file</span><span class='comma'>,</span> <span class='kw'>nil</span><span class='rparen'>)</span> <span class='rbracket'>]</span>
346
+ <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>
347
+ <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>
348
+
349
+ <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>
350
+
351
+ <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>
352
+
353
+ <span class='comment'># Scan file for additional include paths.
354
+ </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>
355
+
356
+ <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>
357
+ <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
358
 
78
- <li ><a href="#method-i-compile">#compile</a>
359
+ <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>
360
+ <span class='kw'>next</span> <span class='kw'>unless</span> <span class='id identifier rubyid_path'>path</span>
79
361
 
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>
362
+ <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>
363
+ <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>
364
+ <span class='kw'>end</span>
103
365
 
104
- <li><a href="../NetLinx/Compile/Extension.html">NetLinx::Compile::Extension</a>
366
+ <span class='ivar'>@compiler_include_paths</span><span class='period'>.</span><span class='id identifier rubyid_uniq!'>uniq!</span>
105
367
 
106
- <li><a href="../NetLinx/Compile/Extension/AXS.html">NetLinx::Compile::Extension::AXS</a>
368
+ <span class='comment'># Scan file for additional module paths.
369
+ </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
370
 
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">
371
+ <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>
372
+ <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
373
 
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
-
374
+ <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>
375
+ <span class='kw'>next</span> <span class='kw'>unless</span> <span class='id identifier rubyid_path'>path</span>
349
376
 
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
-
377
+ <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>
378
+ <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>
379
+ <span class='kw'>end</span>
380
+
381
+ <span class='ivar'>@compiler_module_paths</span><span class='period'>.</span><span class='id identifier rubyid_uniq!'>uniq!</span>
382
+ <span class='kw'>end</span></pre>
383
+ </td>
384
+ </tr>
385
+ </table>
386
+ </div>
387
+
388
+ </div>
389
+
390
+
391
+ <div id="instance_method_details" class="method_details_list">
392
+ <h2>Instance Method Details</h2>
393
+
394
+
395
+ <div class="method_details first">
396
+ <h3 class="signature first" id="compile-instance_method">
397
+
398
+ - (<tt>Object</tt>) <strong>compile</strong>
399
+
400
+
401
+
402
+
403
+
404
+ </h3><div class="docstring">
405
+ <div class="discussion">
406
+
407
+ <p>Execute the compiler on itself.</p>
408
+
409
+
410
+ </div>
411
+ </div>
412
+ <div class="tags">
413
+
414
+
415
+ </div><table class="source_code">
416
+ <tr>
417
+ <td>
418
+ <pre class="lines">
419
+
420
+
421
+ 71
422
+ 72
423
+ 73
424
+ 74
425
+ 75</pre>
426
+ </td>
427
+ <td>
428
+ <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 71</span>
429
+
430
+ <span class='kw'>def</span> <span class='id identifier rubyid_compile'>compile</span>
431
+ <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>
432
+ <span class='id identifier rubyid_compiler'>compiler</span> <span class='op'>=</span> <span class='const'>NetLinx</span><span class='op'>::</span><span class='const'>Compiler</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
433
+ <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>
434
+ <span class='kw'>end</span></pre>
435
+ </td>
436
+ </tr>
437
+ </table>
438
+ </div>
439
+
440
+ <div class="method_details ">
441
+ <h3 class="signature " id="compiler_include_paths-instance_method">
442
+
443
+ - (<tt>Object</tt>) <strong>compiler_include_paths</strong>
444
+
445
+
446
+
447
+
448
+
449
+ </h3><div class="docstring">
450
+ <div class="discussion">
451
+
452
+ <p>See Test::NetLinx::Compilable interface.</p>
453
+
454
+
455
+ </div>
456
+ </div>
457
+ <div class="tags">
458
+
459
+
460
+ </div><table class="source_code">
461
+ <tr>
462
+ <td>
463
+ <pre class="lines">
464
+
465
+
466
+ 56
467
+ 57
468
+ 58</pre>
469
+ </td>
470
+ <td>
471
+ <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 56</span>
472
+
473
+ <span class='kw'>def</span> <span class='id identifier rubyid_compiler_include_paths'>compiler_include_paths</span>
474
+ <span class='ivar'>@compiler_include_paths</span>
475
+ <span class='kw'>end</span></pre>
476
+ </td>
477
+ </tr>
478
+ </table>
479
+ </div>
480
+
481
+ <div class="method_details ">
482
+ <h3 class="signature " id="compiler_library_paths-instance_method">
483
+
484
+ - (<tt>Object</tt>) <strong>compiler_library_paths</strong>
485
+
486
+
487
+
488
+
489
+
490
+ </h3><div class="docstring">
491
+ <div class="discussion">
492
+
493
+ <p>See Test::NetLinx::Compilable interface.</p>
494
+
495
+
496
+ </div>
497
+ </div>
498
+ <div class="tags">
499
+
500
+
501
+ </div><table class="source_code">
502
+ <tr>
503
+ <td>
504
+ <pre class="lines">
505
+
506
+
507
+ 66
508
+ 67
509
+ 68</pre>
510
+ </td>
511
+ <td>
512
+ <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 66</span>
513
+
514
+ <span class='kw'>def</span> <span class='id identifier rubyid_compiler_library_paths'>compiler_library_paths</span>
515
+ <span class='lbracket'>[</span><span class='rbracket'>]</span>
516
+ <span class='kw'>end</span></pre>
517
+ </td>
518
+ </tr>
519
+ </table>
520
+ </div>
521
+
522
+ <div class="method_details ">
523
+ <h3 class="signature " id="compiler_module_paths-instance_method">
524
+
525
+ - (<tt>Object</tt>) <strong>compiler_module_paths</strong>
526
+
527
+
528
+
529
+
530
+
531
+ </h3><div class="docstring">
532
+ <div class="discussion">
533
+
534
+ <p>See Test::NetLinx::Compilable interface.</p>
535
+
536
+
537
+ </div>
538
+ </div>
539
+ <div class="tags">
540
+
541
+
542
+ </div><table class="source_code">
543
+ <tr>
544
+ <td>
545
+ <pre class="lines">
546
+
547
+
548
+ 61
549
+ 62
550
+ 63</pre>
551
+ </td>
552
+ <td>
553
+ <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 61</span>
554
+
555
+ <span class='kw'>def</span> <span class='id identifier rubyid_compiler_module_paths'>compiler_module_paths</span>
556
+ <span class='ivar'>@compiler_module_paths</span>
557
+ <span class='kw'>end</span></pre>
558
+ </td>
559
+ </tr>
560
+ </table>
561
+ </div>
562
+
563
+ <div class="method_details ">
564
+ <h3 class="signature " id="compiler_target_files-instance_method">
565
+
566
+ - (<tt>Object</tt>) <strong>compiler_target_files</strong>
567
+
568
+
569
+
570
+
571
+
572
+ </h3><div class="docstring">
573
+ <div class="discussion">
574
+
575
+ <p>See Test::NetLinx::Compilable interface.</p>
576
+
577
+
578
+ </div>
579
+ </div>
580
+ <div class="tags">
581
+
582
+
583
+ </div><table class="source_code">
584
+ <tr>
585
+ <td>
586
+ <pre class="lines">
587
+
588
+
589
+ 51
590
+ 52
591
+ 53</pre>
592
+ </td>
593
+ <td>
594
+ <pre class="code"><span class="info file"># File 'lib/netlinx/source_file.rb', line 51</span>
595
+
596
+ <span class='kw'>def</span> <span class='id identifier rubyid_compiler_target_files'>compiler_target_files</span>
597
+ <span class='ivar'>@compiler_target_files</span>
598
+ <span class='kw'>end</span></pre>
599
+ </td>
600
+ </tr>
601
+ </table>
602
+ </div>
603
+
604
+ </div>
605
+
606
+ </div>
607
+
608
+ <div id="footer">
609
+ Generated on Mon Jan 26 15:35:28 2015 by
610
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
611
+ 0.8.7.6 (ruby-2.1.5).
612
+ </div>
613
+
614
+ </body>
615
+ </html>