netlinx-compile 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +7 -0
  2. data/README.txt +2 -0
  3. data/bin/netlinx-compile +4 -0
  4. data/doc/NetLinx.html +151 -0
  5. data/doc/NetLinx/Compile.html +148 -0
  6. data/doc/NetLinx/Compile/Extension.html +145 -0
  7. data/doc/NetLinx/Compile/Extension/AXS.html +154 -0
  8. data/doc/NetLinx/Compile/ExtensionDiscovery.html +324 -0
  9. data/doc/NetLinx/Compile/ExtensionHandler.html +396 -0
  10. data/doc/NetLinx/Compile/Script.html +293 -0
  11. data/doc/NetLinx/Compiler.html +295 -0
  12. data/doc/NetLinx/CompilerResult.html +501 -0
  13. data/doc/NetLinx/NoCompilerError.html +155 -0
  14. data/doc/NetLinx/SourceFile.html +430 -0
  15. data/doc/Test.html +147 -0
  16. data/doc/Test/NetLinx.html +147 -0
  17. data/doc/Test/NetLinx/Compilable.html +148 -0
  18. data/doc/Test/NetLinx/Compile.html +146 -0
  19. data/doc/Test/NetLinx/Compile/Discoverable.html +148 -0
  20. data/doc/Test/NetLinx/Compile/Invokable.html +149 -0
  21. data/doc/created.rid +12 -0
  22. data/doc/images/add.png +0 -0
  23. data/doc/images/arrow_up.png +0 -0
  24. data/doc/images/brick.png +0 -0
  25. data/doc/images/brick_link.png +0 -0
  26. data/doc/images/bug.png +0 -0
  27. data/doc/images/bullet_black.png +0 -0
  28. data/doc/images/bullet_toggle_minus.png +0 -0
  29. data/doc/images/bullet_toggle_plus.png +0 -0
  30. data/doc/images/date.png +0 -0
  31. data/doc/images/delete.png +0 -0
  32. data/doc/images/find.png +0 -0
  33. data/doc/images/loadingAnimation.gif +0 -0
  34. data/doc/images/macFFBgHack.png +0 -0
  35. data/doc/images/package.png +0 -0
  36. data/doc/images/page_green.png +0 -0
  37. data/doc/images/page_white_text.png +0 -0
  38. data/doc/images/page_white_width.png +0 -0
  39. data/doc/images/plugin.png +0 -0
  40. data/doc/images/ruby.png +0 -0
  41. data/doc/images/tag_blue.png +0 -0
  42. data/doc/images/tag_green.png +0 -0
  43. data/doc/images/transparent.png +0 -0
  44. data/doc/images/wrench.png +0 -0
  45. data/doc/images/wrench_orange.png +0 -0
  46. data/doc/images/zoom.png +0 -0
  47. data/doc/index.html +103 -0
  48. data/doc/js/darkfish.js +155 -0
  49. data/doc/js/jquery.js +18 -0
  50. data/doc/js/navigation.js +142 -0
  51. data/doc/js/search.js +94 -0
  52. data/doc/js/search_index.js +1 -0
  53. data/doc/js/searcher.js +228 -0
  54. data/doc/rdoc.css +595 -0
  55. data/doc/table_of_contents.html +138 -0
  56. data/lib/netlinx-compile.rb +1 -0
  57. data/lib/netlinx/compile/extension/axs.rb +18 -0
  58. data/lib/netlinx/compile/extension_discovery.rb +62 -0
  59. data/lib/netlinx/compile/extension_handler.rb +86 -0
  60. data/lib/netlinx/compile/script.rb +115 -0
  61. data/lib/netlinx/compiler.rb +71 -0
  62. data/lib/netlinx/compiler_result.rb +72 -0
  63. data/lib/netlinx/source_file.rb +78 -0
  64. data/lib/test/netlinx/compilable.rb +48 -0
  65. data/lib/test/netlinx/compile/discoverable.rb +14 -0
  66. data/lib/test/netlinx/compile/invokable.rb +15 -0
  67. data/license.txt +13 -0
  68. metadata +156 -0
@@ -0,0 +1,155 @@
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
+
@@ -0,0 +1,430 @@
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>
77
+
78
+ <li ><a href="#method-i-compile">#compile</a>
79
+
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>
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::SourceFile</h1>
142
+
143
+ <div id="description" class="description">
144
+
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
+
349
+
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
+