netlinx-compile 3.1.0 → 3.1.1
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.
- checksums.yaml +4 -4
- data/bin/netlinx-compile +0 -0
- data/doc/NetLinx.html +40 -40
- data/doc/NetLinx/Compile.html +38 -38
- data/doc/NetLinx/Compile/Extension.html +38 -38
- data/doc/NetLinx/Compile/Extension/AXS.html +49 -48
- data/doc/NetLinx/Compile/ExtensionDiscovery.html +56 -55
- data/doc/NetLinx/Compile/ExtensionHandler.html +60 -59
- data/doc/NetLinx/Compile/Script.html +51 -50
- data/doc/NetLinx/Compiler.html +52 -51
- data/doc/NetLinx/CompilerResult.html +72 -71
- data/doc/NetLinx/NoCompilerError.html +44 -43
- data/doc/NetLinx/Rake.html +115 -0
- data/doc/NetLinx/Rake/Compile.html +359 -0
- data/doc/NetLinx/SourceFile.html +58 -57
- data/doc/Test.html +147 -0
- data/doc/Test/NetLinx.html +147 -0
- data/doc/Test/NetLinx/Compilable.html +148 -0
- data/doc/Test/NetLinx/Compile.html +146 -0
- data/doc/Test/NetLinx/Compile/Discoverable.html +148 -0
- data/doc/Test/NetLinx/Compile/Invokable.html +149 -0
- data/doc/_index.html +50 -31
- data/doc/class_list.html +24 -31
- data/doc/created.rid +12 -0
- data/doc/css/full_list.css +32 -31
- data/doc/css/style.css +251 -91
- data/doc/file.README.html +28 -31
- data/doc/file.license.html +28 -31
- data/doc/file_list.html +29 -31
- data/doc/frames.html +7 -16
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +28 -31
- data/doc/js/app.js +106 -77
- data/doc/js/darkfish.js +155 -0
- data/doc/js/full_list.js +170 -135
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +94 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/method_list.html +209 -131
- data/doc/rdoc.css +595 -0
- data/doc/table_of_contents.html +138 -0
- data/doc/top-level-namespace.html +34 -36
- data/lib/netlinx/compiler.rb +1 -1
- data/lib/netlinx/rake/compile.rb +4 -0
- data/lib/netlinx/rake/compile/compile.rb +34 -0
- metadata +64 -15
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: NetLinx::Compile::Script
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.12
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "NetLinx::Compile::Script";
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!NetLinx/Compile/Script.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,48 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../../_index.html">Index (S)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../../NetLinx.html" title="NetLinx (module)">NetLinx</a></span></span> » <span class='title'><span class='object_link'><a href="../Compile.html" title="NetLinx::Compile (module)">Compile</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">Script</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: NetLinx::Compile::Script
|
62
|
+
<div id="content"><h1>Class: NetLinx::Compile::Script
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
67
|
+
<div class="box_info">
|
73
68
|
|
74
|
-
|
75
|
-
<
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
76
72
|
<span class="inheritName">Object</span>
|
77
73
|
|
78
74
|
<ul class="fullTree">
|
@@ -83,21 +79,25 @@
|
|
83
79
|
</ul>
|
84
80
|
<a href="#" class="inheritanceTree">show all</a>
|
85
81
|
|
86
|
-
|
87
|
-
|
82
|
+
</dd>
|
83
|
+
</dl>
|
84
|
+
|
85
|
+
|
88
86
|
|
89
87
|
|
90
|
-
|
91
88
|
|
92
|
-
|
93
89
|
|
94
90
|
|
91
|
+
|
92
|
+
|
93
|
+
|
95
94
|
|
96
|
-
|
97
|
-
<
|
95
|
+
<dl>
|
96
|
+
<dt>Defined in:</dt>
|
97
|
+
<dd>lib/netlinx/compile/script.rb</dd>
|
98
|
+
</dl>
|
98
99
|
|
99
|
-
</
|
100
|
-
<div class="clear"></div>
|
100
|
+
</div>
|
101
101
|
|
102
102
|
<h2>Overview</h2><div class="docstring">
|
103
103
|
<div class="discussion">
|
@@ -120,7 +120,7 @@
|
|
120
120
|
|
121
121
|
<h2>
|
122
122
|
Class Method Summary
|
123
|
-
<small
|
123
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
124
124
|
</h2>
|
125
125
|
|
126
126
|
<ul class="summary">
|
@@ -128,7 +128,7 @@
|
|
128
128
|
<li class="public ">
|
129
129
|
<span class="summary_signature">
|
130
130
|
|
131
|
-
<a href="#run-class_method" title="run (class method)"
|
131
|
+
<a href="#run-class_method" title="run (class method)">.<strong>run</strong>(**kwargs) ⇒ Object </a>
|
132
132
|
|
133
133
|
|
134
134
|
|
@@ -161,7 +161,7 @@
|
|
161
161
|
<div class="method_details first">
|
162
162
|
<h3 class="signature first" id="run-class_method">
|
163
163
|
|
164
|
-
|
164
|
+
.<strong>run</strong>(**kwargs) ⇒ <tt>Object</tt>
|
165
165
|
|
166
166
|
|
167
167
|
|
@@ -365,16 +365,16 @@
|
|
365
365
|
<span class='kw'>end</span>
|
366
366
|
|
367
367
|
<span class='comment'># Find an ExtensionHandler for the given file.
|
368
|
-
</span> <span class='const'>ExtensionDiscovery</span><span class='period'>.</span><span class='id identifier rubyid_discover'>discover</span>
|
368
|
+
</span> <span class='const'><span class='object_link'><a href="ExtensionDiscovery.html" title="NetLinx::Compile::ExtensionDiscovery (class)">ExtensionDiscovery</a></span></span><span class='period'>.</span><span class='id identifier rubyid_discover'><span class='object_link'><a href="ExtensionDiscovery.html#discover-class_method" title="NetLinx::Compile::ExtensionDiscovery.discover (method)">discover</a></span></span>
|
369
369
|
<span class='id identifier rubyid_source_file'>source_file</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='ivar'>@options</span><span class='period'>.</span><span class='id identifier rubyid_source'>source</span>
|
370
|
-
<span class='id identifier rubyid_handler'>handler</span> <span class='op'>=</span> <span class='const'>NetLinx</span><span class='op'>::</span><span class='const'>Compile</span><span class='op'>::</span><span class='const'>ExtensionDiscovery</span><span class='period'>.</span><span class='id identifier rubyid_get_handler'>get_handler</span> <span class='id identifier rubyid_source_file'>source_file</span>
|
370
|
+
<span class='id identifier rubyid_handler'>handler</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../../NetLinx.html" title="NetLinx (module)">NetLinx</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Compile.html" title="NetLinx::Compile (module)">Compile</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ExtensionDiscovery.html" title="NetLinx::Compile::ExtensionDiscovery (class)">ExtensionDiscovery</a></span></span><span class='period'>.</span><span class='id identifier rubyid_get_handler'><span class='object_link'><a href="ExtensionDiscovery.html#get_handler-class_method" title="NetLinx::Compile::ExtensionDiscovery.get_handler (method)">get_handler</a></span></span> <span class='id identifier rubyid_source_file'>source_file</span>
|
371
371
|
|
372
372
|
<span class='comment'># If the handler is a workspace handler, go straight to compiling it.
|
373
373
|
</span> <span class='comment'># Otherwise, if the use_workspace flag is true, search up through the
|
374
374
|
</span> <span class='comment'># directory tree to try to find a workspace that includes the
|
375
375
|
</span> <span class='comment'># specified source file.
|
376
376
|
</span> <span class='kw'>if</span> <span class='lparen'>(</span><span class='kw'>not</span> <span class='id identifier rubyid_handler'>handler</span><span class='period'>.</span><span class='id identifier rubyid_is_a_workspace?'>is_a_workspace?</span><span class='rparen'>)</span> <span class='op'>&&</span> <span class='ivar'>@options</span><span class='period'>.</span><span class='id identifier rubyid_use_workspace'>use_workspace</span>
|
377
|
-
<span class='id identifier rubyid_workspace_extensions'>workspace_extensions</span> <span class='op'>=</span> <span class='const'>NetLinx</span><span class='op'>::</span><span class='const'>Compile</span><span class='op'>::</span><span class='const'>ExtensionDiscovery</span><span class='period'>.</span><span class='id identifier rubyid_workspace_extensions'>workspace_extensions</span>
|
377
|
+
<span class='id identifier rubyid_workspace_extensions'>workspace_extensions</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../../NetLinx.html" title="NetLinx (module)">NetLinx</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Compile.html" title="NetLinx::Compile (module)">Compile</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ExtensionDiscovery.html" title="NetLinx::Compile::ExtensionDiscovery (class)">ExtensionDiscovery</a></span></span><span class='period'>.</span><span class='id identifier rubyid_workspace_extensions'><span class='object_link'><a href="ExtensionDiscovery.html#workspace_extensions-class_method" title="NetLinx::Compile::ExtensionDiscovery.workspace_extensions (method)">workspace_extensions</a></span></span>
|
378
378
|
|
379
379
|
<span class='id identifier rubyid_dir'>dir</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='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.</span><span class='tstring_end'>'</span></span>
|
380
380
|
<span class='kw'>while</span> <span class='id identifier rubyid_dir'>dir</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='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>..</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_dir'>dir</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
@@ -384,7 +384,7 @@
|
|
384
384
|
<span class='comment'># TODO: Handle workspace file extension usurping logic here.
|
385
385
|
</span>
|
386
386
|
<span class='id identifier rubyid_new_source_file'>new_source_file</span> <span class='op'>=</span> <span class='id identifier rubyid_workspaces'>workspaces</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
|
387
|
-
<span class='id identifier rubyid_new_handler'>new_handler</span> <span class='op'>=</span> <span class='const'>NetLinx</span><span class='op'>::</span><span class='const'>Compile</span><span class='op'>::</span><span class='const'>ExtensionDiscovery</span><span class='period'>.</span><span class='id identifier rubyid_get_handler'>get_handler</span> <span class='id identifier rubyid_new_source_file'>new_source_file</span>
|
387
|
+
<span class='id identifier rubyid_new_handler'>new_handler</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../../NetLinx.html" title="NetLinx (module)">NetLinx</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Compile.html" title="NetLinx::Compile (module)">Compile</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="ExtensionDiscovery.html" title="NetLinx::Compile::ExtensionDiscovery (class)">ExtensionDiscovery</a></span></span><span class='period'>.</span><span class='id identifier rubyid_get_handler'><span class='object_link'><a href="ExtensionDiscovery.html#get_handler-class_method" title="NetLinx::Compile::ExtensionDiscovery.get_handler (method)">get_handler</a></span></span> <span class='id identifier rubyid_new_source_file'>new_source_file</span>
|
388
388
|
<span class='id identifier rubyid_new_handler_class'>new_handler_class</span> <span class='op'>=</span> <span class='id identifier rubyid_new_handler'>new_handler</span><span class='period'>.</span><span class='id identifier rubyid_handler_class'>handler_class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> \
|
389
389
|
<span class='label'>file:</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='id identifier rubyid_new_source_file'>new_source_file</span><span class='rparen'>)</span>
|
390
390
|
|
@@ -431,11 +431,12 @@
|
|
431
431
|
|
432
432
|
</div>
|
433
433
|
|
434
|
-
|
435
|
-
Generated on
|
434
|
+
<div id="footer">
|
435
|
+
Generated on Tue Feb 13 21:36:33 2018 by
|
436
436
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
437
|
-
0.
|
437
|
+
0.9.12 (ruby-2.1.8).
|
438
438
|
</div>
|
439
439
|
|
440
|
+
</div>
|
440
441
|
</body>
|
441
442
|
</html>
|
data/doc/NetLinx/Compiler.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: NetLinx::Compiler
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.12
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "NetLinx::Compiler";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!NetLinx/Compiler.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,48 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../_index.html">Index (C)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../NetLinx.html" title="NetLinx (module)">NetLinx</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">Compiler</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: NetLinx::Compiler
|
62
|
+
<div id="content"><h1>Class: NetLinx::Compiler
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
67
|
+
<div class="box_info">
|
73
68
|
|
74
|
-
|
75
|
-
<
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
76
72
|
<span class="inheritName">Object</span>
|
77
73
|
|
78
74
|
<ul class="fullTree">
|
@@ -83,21 +79,25 @@
|
|
83
79
|
</ul>
|
84
80
|
<a href="#" class="inheritanceTree">show all</a>
|
85
81
|
|
86
|
-
|
87
|
-
|
82
|
+
</dd>
|
83
|
+
</dl>
|
84
|
+
|
85
|
+
|
88
86
|
|
89
87
|
|
90
|
-
|
91
88
|
|
92
|
-
|
93
89
|
|
94
90
|
|
91
|
+
|
92
|
+
|
93
|
+
|
95
94
|
|
96
|
-
|
97
|
-
<
|
95
|
+
<dl>
|
96
|
+
<dt>Defined in:</dt>
|
97
|
+
<dd>lib/netlinx/compiler.rb</dd>
|
98
|
+
</dl>
|
98
99
|
|
99
|
-
</
|
100
|
-
<div class="clear"></div>
|
100
|
+
</div>
|
101
101
|
|
102
102
|
<h2>Overview</h2><div class="docstring">
|
103
103
|
<div class="discussion">
|
@@ -120,7 +120,7 @@
|
|
120
120
|
|
121
121
|
<h2>
|
122
122
|
Instance Method Summary
|
123
|
-
<small
|
123
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
124
124
|
</h2>
|
125
125
|
|
126
126
|
<ul class="summary">
|
@@ -128,7 +128,7 @@
|
|
128
128
|
<li class="public ">
|
129
129
|
<span class="summary_signature">
|
130
130
|
|
131
|
-
<a href="#compile-instance_method" title="#compile (instance method)"
|
131
|
+
<a href="#compile-instance_method" title="#compile (instance method)">#<strong>compile</strong>(compilable) ⇒ Object </a>
|
132
132
|
|
133
133
|
|
134
134
|
|
@@ -152,7 +152,7 @@
|
|
152
152
|
<li class="public ">
|
153
153
|
<span class="summary_signature">
|
154
154
|
|
155
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
155
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(**kwargs) ⇒ Compiler </a>
|
156
156
|
|
157
157
|
|
158
158
|
|
@@ -185,7 +185,7 @@ default installation path.</p>
|
|
185
185
|
<div class="method_details first">
|
186
186
|
<h3 class="signature first" id="initialize-instance_method">
|
187
187
|
|
188
|
-
|
188
|
+
#<strong>initialize</strong>(**kwargs) ⇒ <tt><span class='object_link'><a href="" title="NetLinx::Compiler (class)">Compiler</a></span></tt>
|
189
189
|
|
190
190
|
|
191
191
|
|
@@ -341,7 +341,7 @@ path.</p>
|
|
341
341
|
<span class='id identifier rubyid_user_specified_path'>user_specified_path</span><span class='comma'>,</span>
|
342
342
|
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>C:\Program Files (x86)\Common Files\AMXShare\COM</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='comment'># 64-bit O/S path
|
343
343
|
</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>C:\Program Files\Common Files\AMXShare\COM</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='comment'># 32-bit O/S path
|
344
|
-
</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>~/.wine/drive_c/Program
|
344
|
+
</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>~/.wine/drive_c/Program Files/Common Files/AMXShare/COM</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='comment'># Wine path
|
345
345
|
</span> <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_compact'>compact</span>
|
346
346
|
|
347
347
|
<span class='comment'># Check for NetLinx compiler.
|
@@ -358,7 +358,7 @@ path.</p>
|
|
358
358
|
</span> <span class='comment'># ---------------------------------------------------------
|
359
359
|
</span>
|
360
360
|
<span class='comment'># Compiler not found.
|
361
|
-
</span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'>NetLinx</span><span class='op'>::</span><span class='const'>NoCompilerError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>The NetLinx compiler (</span><span class='embexpr_beg'>#{</span><span class='ivar'>@compiler_exe</span><span class='embexpr_end'>}</span><span class='tstring_content'>) could not be found on the system.</span><span class='tstring_end'>"</span></span> \
|
361
|
+
</span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="../NetLinx.html" title="NetLinx (module)">NetLinx</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="NoCompilerError.html" title="NetLinx::NoCompilerError (class)">NoCompilerError</a></span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>The NetLinx compiler (</span><span class='embexpr_beg'>#{</span><span class='ivar'>@compiler_exe</span><span class='embexpr_end'>}</span><span class='tstring_content'>) could not be found on the system.</span><span class='tstring_end'>"</span></span> \
|
362
362
|
<span class='kw'>unless</span> <span class='ivar'>@compiler_path</span>
|
363
363
|
<span class='kw'>end</span></pre>
|
364
364
|
</td>
|
@@ -376,7 +376,7 @@ path.</p>
|
|
376
376
|
<div class="method_details first">
|
377
377
|
<h3 class="signature first" id="compile-instance_method">
|
378
378
|
|
379
|
-
|
379
|
+
#<strong>compile</strong>(compilable) ⇒ <tt>Object</tt>
|
380
380
|
|
381
381
|
|
382
382
|
|
@@ -479,7 +479,7 @@ path.</p>
|
|
479
479
|
<span class='id identifier rubyid_io'>io</span><span class='period'>.</span><span class='id identifier rubyid_close'>close</span>
|
480
480
|
|
481
481
|
<span class='comment'># Build the result.
|
482
|
-
</span> <span class='id identifier rubyid_result'>result</span> <span class='op'><<</span> <span class='const'>NetLinx</span><span class='op'>::</span><span class='const'>CompilerResult</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
|
482
|
+
</span> <span class='id identifier rubyid_result'>result</span> <span class='op'><<</span> <span class='const'><span class='object_link'><a href="../NetLinx.html" title="NetLinx (module)">NetLinx</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CompilerResult.html" title="NetLinx::CompilerResult (class)">CompilerResult</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="CompilerResult.html#initialize-instance_method" title="NetLinx::CompilerResult#initialize (method)">new</a></span></span><span class='lparen'>(</span>
|
483
483
|
<span class='label'>compiler_target_files:</span> <span class='lbracket'>[</span><span class='id identifier rubyid_target_file'>target_file</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
484
484
|
<span class='label'>compiler_include_paths:</span> <span class='id identifier rubyid_compilable'>compilable</span><span class='period'>.</span><span class='id identifier rubyid_compiler_include_paths'>compiler_include_paths</span><span class='comma'>,</span>
|
485
485
|
<span class='label'>compiler_module_paths:</span> <span class='id identifier rubyid_compilable'>compilable</span><span class='period'>.</span><span class='id identifier rubyid_compiler_module_paths'>compiler_module_paths</span><span class='comma'>,</span>
|
@@ -499,11 +499,12 @@ path.</p>
|
|
499
499
|
|
500
500
|
</div>
|
501
501
|
|
502
|
-
|
503
|
-
Generated on
|
502
|
+
<div id="footer">
|
503
|
+
Generated on Tue Feb 13 21:36:33 2018 by
|
504
504
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
505
|
-
0.
|
505
|
+
0.9.12 (ruby-2.1.8).
|
506
506
|
</div>
|
507
507
|
|
508
|
+
</div>
|
508
509
|
</body>
|
509
510
|
</html>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: NetLinx::CompilerResult
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.12
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "NetLinx::CompilerResult";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!NetLinx/CompilerResult.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,48 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../_index.html">Index (C)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../NetLinx.html" title="NetLinx (module)">NetLinx</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">CompilerResult</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: NetLinx::CompilerResult
|
62
|
+
<div id="content"><h1>Class: NetLinx::CompilerResult
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
67
|
+
<div class="box_info">
|
73
68
|
|
74
|
-
|
75
|
-
<
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
76
72
|
<span class="inheritName">Object</span>
|
77
73
|
|
78
74
|
<ul class="fullTree">
|
@@ -83,21 +79,25 @@
|
|
83
79
|
</ul>
|
84
80
|
<a href="#" class="inheritanceTree">show all</a>
|
85
81
|
|
86
|
-
|
87
|
-
|
82
|
+
</dd>
|
83
|
+
</dl>
|
84
|
+
|
85
|
+
|
88
86
|
|
89
87
|
|
90
|
-
|
91
88
|
|
92
|
-
|
93
89
|
|
94
90
|
|
91
|
+
|
92
|
+
|
93
|
+
|
95
94
|
|
96
|
-
|
97
|
-
<
|
95
|
+
<dl>
|
96
|
+
<dt>Defined in:</dt>
|
97
|
+
<dd>lib/netlinx/compiler_result.rb</dd>
|
98
|
+
</dl>
|
98
99
|
|
99
|
-
</
|
100
|
-
<div class="clear"></div>
|
100
|
+
</div>
|
101
101
|
|
102
102
|
<h2>Overview</h2><div class="docstring">
|
103
103
|
<div class="discussion">
|
@@ -114,13 +114,13 @@
|
|
114
114
|
|
115
115
|
|
116
116
|
|
117
|
-
<h2>Instance Attribute Summary <small
|
117
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
118
118
|
<ul class="summary">
|
119
119
|
|
120
120
|
<li class="public ">
|
121
121
|
<span class="summary_signature">
|
122
122
|
|
123
|
-
<a href="#compiler_include_paths-instance_method" title="#compiler_include_paths (instance method)"
|
123
|
+
<a href="#compiler_include_paths-instance_method" title="#compiler_include_paths (instance method)">#<strong>compiler_include_paths</strong> ⇒ Object </a>
|
124
124
|
|
125
125
|
|
126
126
|
|
@@ -149,7 +149,7 @@
|
|
149
149
|
<li class="public ">
|
150
150
|
<span class="summary_signature">
|
151
151
|
|
152
|
-
<a href="#compiler_library_paths-instance_method" title="#compiler_library_paths (instance method)"
|
152
|
+
<a href="#compiler_library_paths-instance_method" title="#compiler_library_paths (instance method)">#<strong>compiler_library_paths</strong> ⇒ Object </a>
|
153
153
|
|
154
154
|
|
155
155
|
|
@@ -178,7 +178,7 @@
|
|
178
178
|
<li class="public ">
|
179
179
|
<span class="summary_signature">
|
180
180
|
|
181
|
-
<a href="#compiler_module_paths-instance_method" title="#compiler_module_paths (instance method)"
|
181
|
+
<a href="#compiler_module_paths-instance_method" title="#compiler_module_paths (instance method)">#<strong>compiler_module_paths</strong> ⇒ Object </a>
|
182
182
|
|
183
183
|
|
184
184
|
|
@@ -207,7 +207,7 @@
|
|
207
207
|
<li class="public ">
|
208
208
|
<span class="summary_signature">
|
209
209
|
|
210
|
-
<a href="#compiler_target_files-instance_method" title="#compiler_target_files (instance method)"
|
210
|
+
<a href="#compiler_target_files-instance_method" title="#compiler_target_files (instance method)">#<strong>compiler_target_files</strong> ⇒ Object </a>
|
211
211
|
|
212
212
|
|
213
213
|
|
@@ -236,7 +236,7 @@
|
|
236
236
|
<li class="public ">
|
237
237
|
<span class="summary_signature">
|
238
238
|
|
239
|
-
<a href="#errors-instance_method" title="#errors (instance method)"
|
239
|
+
<a href="#errors-instance_method" title="#errors (instance method)">#<strong>errors</strong> ⇒ Object </a>
|
240
240
|
|
241
241
|
|
242
242
|
|
@@ -265,7 +265,7 @@
|
|
265
265
|
<li class="public ">
|
266
266
|
<span class="summary_signature">
|
267
267
|
|
268
|
-
<a href="#stream-instance_method" title="#stream (instance method)"
|
268
|
+
<a href="#stream-instance_method" title="#stream (instance method)">#<strong>stream</strong> ⇒ Object </a>
|
269
269
|
|
270
270
|
|
271
271
|
|
@@ -294,7 +294,7 @@
|
|
294
294
|
<li class="public ">
|
295
295
|
<span class="summary_signature">
|
296
296
|
|
297
|
-
<a href="#warnings-instance_method" title="#warnings (instance method)"
|
297
|
+
<a href="#warnings-instance_method" title="#warnings (instance method)">#<strong>warnings</strong> ⇒ Object </a>
|
298
298
|
|
299
299
|
|
300
300
|
|
@@ -328,7 +328,7 @@
|
|
328
328
|
|
329
329
|
<h2>
|
330
330
|
Instance Method Summary
|
331
|
-
<small
|
331
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
332
332
|
</h2>
|
333
333
|
|
334
334
|
<ul class="summary">
|
@@ -336,7 +336,7 @@
|
|
336
336
|
<li class="public ">
|
337
337
|
<span class="summary_signature">
|
338
338
|
|
339
|
-
<a href="#error_items-instance_method" title="#error_items (instance method)"
|
339
|
+
<a href="#error_items-instance_method" title="#error_items (instance method)">#<strong>error_items</strong> ⇒ Array<String> </a>
|
340
340
|
|
341
341
|
|
342
342
|
|
@@ -360,7 +360,7 @@
|
|
360
360
|
<li class="public ">
|
361
361
|
<span class="summary_signature">
|
362
362
|
|
363
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
363
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(**kwargs) ⇒ CompilerResult </a>
|
364
364
|
|
365
365
|
|
366
366
|
|
@@ -386,7 +386,7 @@
|
|
386
386
|
<li class="public ">
|
387
387
|
<span class="summary_signature">
|
388
388
|
|
389
|
-
<a href="#success%3F-instance_method" title="#success? (instance method)"
|
389
|
+
<a href="#success%3F-instance_method" title="#success? (instance method)">#<strong>success?</strong> ⇒ Boolean </a>
|
390
390
|
|
391
391
|
|
392
392
|
|
@@ -410,7 +410,7 @@
|
|
410
410
|
<li class="public ">
|
411
411
|
<span class="summary_signature">
|
412
412
|
|
413
|
-
<a href="#target_file-instance_method" title="#target_file (instance method)"
|
413
|
+
<a href="#target_file-instance_method" title="#target_file (instance method)">#<strong>target_file</strong> ⇒ String </a>
|
414
414
|
|
415
415
|
|
416
416
|
|
@@ -434,7 +434,7 @@
|
|
434
434
|
<li class="public ">
|
435
435
|
<span class="summary_signature">
|
436
436
|
|
437
|
-
<a href="#to_s-instance_method" title="#to_s (instance method)"
|
437
|
+
<a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> ⇒ Object </a>
|
438
438
|
|
439
439
|
|
440
440
|
|
@@ -458,7 +458,7 @@
|
|
458
458
|
<li class="public ">
|
459
459
|
<span class="summary_signature">
|
460
460
|
|
461
|
-
<a href="#warning_items-instance_method" title="#warning_items (instance method)"
|
461
|
+
<a href="#warning_items-instance_method" title="#warning_items (instance method)">#<strong>warning_items</strong> ⇒ Array<String> </a>
|
462
462
|
|
463
463
|
|
464
464
|
|
@@ -488,7 +488,7 @@
|
|
488
488
|
<div class="method_details first">
|
489
489
|
<h3 class="signature first" id="initialize-instance_method">
|
490
490
|
|
491
|
-
|
491
|
+
#<strong>initialize</strong>(**kwargs) ⇒ <tt><span class='object_link'><a href="" title="NetLinx::CompilerResult (class)">CompilerResult</a></span></tt>
|
492
492
|
|
493
493
|
|
494
494
|
|
@@ -658,7 +658,7 @@
|
|
658
658
|
<div class="method_details first">
|
659
659
|
<h3 class="signature first" id="compiler_include_paths-instance_method">
|
660
660
|
|
661
|
-
|
661
|
+
#<strong>compiler_include_paths</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
662
662
|
|
663
663
|
|
664
664
|
|
@@ -701,7 +701,7 @@
|
|
701
701
|
<div class="method_details ">
|
702
702
|
<h3 class="signature " id="compiler_library_paths-instance_method">
|
703
703
|
|
704
|
-
|
704
|
+
#<strong>compiler_library_paths</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
705
705
|
|
706
706
|
|
707
707
|
|
@@ -744,7 +744,7 @@
|
|
744
744
|
<div class="method_details ">
|
745
745
|
<h3 class="signature " id="compiler_module_paths-instance_method">
|
746
746
|
|
747
|
-
|
747
|
+
#<strong>compiler_module_paths</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
748
748
|
|
749
749
|
|
750
750
|
|
@@ -787,7 +787,7 @@
|
|
787
787
|
<div class="method_details ">
|
788
788
|
<h3 class="signature " id="compiler_target_files-instance_method">
|
789
789
|
|
790
|
-
|
790
|
+
#<strong>compiler_target_files</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
791
791
|
|
792
792
|
|
793
793
|
|
@@ -830,7 +830,7 @@
|
|
830
830
|
<div class="method_details ">
|
831
831
|
<h3 class="signature " id="errors-instance_method">
|
832
832
|
|
833
|
-
|
833
|
+
#<strong>errors</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
834
834
|
|
835
835
|
|
836
836
|
|
@@ -873,7 +873,7 @@
|
|
873
873
|
<div class="method_details ">
|
874
874
|
<h3 class="signature " id="stream-instance_method">
|
875
875
|
|
876
|
-
|
876
|
+
#<strong>stream</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
877
877
|
|
878
878
|
|
879
879
|
|
@@ -916,7 +916,7 @@
|
|
916
916
|
<div class="method_details ">
|
917
917
|
<h3 class="signature " id="warnings-instance_method">
|
918
918
|
|
919
|
-
|
919
|
+
#<strong>warnings</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
920
920
|
|
921
921
|
|
922
922
|
|
@@ -964,7 +964,7 @@
|
|
964
964
|
<div class="method_details first">
|
965
965
|
<h3 class="signature first" id="error_items-instance_method">
|
966
966
|
|
967
|
-
|
967
|
+
#<strong>error_items</strong> ⇒ <tt>Array<String></tt>
|
968
968
|
|
969
969
|
|
970
970
|
|
@@ -1023,7 +1023,7 @@
|
|
1023
1023
|
<div class="method_details ">
|
1024
1024
|
<h3 class="signature " id="success?-instance_method">
|
1025
1025
|
|
1026
|
-
|
1026
|
+
#<strong>success?</strong> ⇒ <tt>Boolean</tt>
|
1027
1027
|
|
1028
1028
|
|
1029
1029
|
|
@@ -1082,7 +1082,7 @@
|
|
1082
1082
|
<div class="method_details ">
|
1083
1083
|
<h3 class="signature " id="target_file-instance_method">
|
1084
1084
|
|
1085
|
-
|
1085
|
+
#<strong>target_file</strong> ⇒ <tt>String</tt>
|
1086
1086
|
|
1087
1087
|
|
1088
1088
|
|
@@ -1141,7 +1141,7 @@
|
|
1141
1141
|
<div class="method_details ">
|
1142
1142
|
<h3 class="signature " id="to_s-instance_method">
|
1143
1143
|
|
1144
|
-
|
1144
|
+
#<strong>to_s</strong> ⇒ <tt>Object</tt>
|
1145
1145
|
|
1146
1146
|
|
1147
1147
|
|
@@ -1182,7 +1182,7 @@
|
|
1182
1182
|
<div class="method_details ">
|
1183
1183
|
<h3 class="signature " id="warning_items-instance_method">
|
1184
1184
|
|
1185
|
-
|
1185
|
+
#<strong>warning_items</strong> ⇒ <tt>Array<String></tt>
|
1186
1186
|
|
1187
1187
|
|
1188
1188
|
|
@@ -1242,11 +1242,12 @@
|
|
1242
1242
|
|
1243
1243
|
</div>
|
1244
1244
|
|
1245
|
-
|
1246
|
-
Generated on
|
1245
|
+
<div id="footer">
|
1246
|
+
Generated on Tue Feb 13 21:36:33 2018 by
|
1247
1247
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1248
|
-
0.
|
1248
|
+
0.9.12 (ruby-2.1.8).
|
1249
1249
|
</div>
|
1250
1250
|
|
1251
|
+
</div>
|
1251
1252
|
</body>
|
1252
1253
|
</html>
|