rubybreaker 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/NEWS +6 -46
- data/README.md +30 -19
- data/TODO +22 -20
- data/VERSION +1 -1
- data/bin/rubybreaker +11 -2
- data/lib/rubybreaker.rb +31 -11
- data/lib/rubybreaker/debug.rb +5 -49
- data/lib/rubybreaker/{context.rb → debug/context.rb} +0 -0
- data/lib/rubybreaker/debug/debug.rb +61 -0
- data/lib/rubybreaker/{error.rb → debug/error.rb} +1 -1
- data/lib/rubybreaker/runtime.rb +3 -2
- data/lib/rubybreaker/runtime/inspector.rb +20 -13
- data/lib/rubybreaker/runtime/monitor.rb +21 -13
- data/lib/rubybreaker/runtime/object_wrapper.rb +3 -1
- data/lib/rubybreaker/runtime/type_system.rb +3 -2
- data/lib/rubybreaker/test/testcase.rb +0 -1
- data/lib/rubybreaker/type/type.rb +1 -1
- data/lib/rubybreaker/type/type_grammar.treetop +1 -1
- data/lib/rubybreaker/type/type_unparser.rb +1 -1
- data/lib/rubybreaker/util.rb +3 -11
- data/test/integrated/tc_both_broken_breakable.rb +27 -0
- data/test/ts_integrated.rb +1 -0
- data/webpage/index.html +30 -19
- data/webpage/rdoc/RubyBreaker.html +127 -10
- data/webpage/rdoc/RubyBreaker/Breakable.html +1 -5
- data/webpage/rdoc/RubyBreaker/Broken.html +2 -6
- data/webpage/rdoc/RubyBreaker/Broken/BrokenEigen.html +3 -6
- data/webpage/rdoc/RubyBreaker/Context.html +6 -10
- data/webpage/rdoc/RubyBreaker/Errors.html +2 -6
- data/webpage/rdoc/RubyBreaker/Errors/InternalError.html +3 -7
- data/webpage/rdoc/RubyBreaker/Errors/InvalidSubtypeCheck.html +3 -7
- data/webpage/rdoc/RubyBreaker/Errors/InvalidTypeConstruction.html +2 -6
- data/webpage/rdoc/RubyBreaker/Errors/SubtypeFailure.html +2 -6
- data/webpage/rdoc/RubyBreaker/Errors/TypeError.html +3 -7
- data/webpage/rdoc/RubyBreaker/Errors/UserError.html +3 -7
- data/webpage/rdoc/RubyBreaker/Main.html +33 -20
- data/webpage/rdoc/RubyBreaker/ObjectPosition.html +4 -8
- data/webpage/rdoc/RubyBreaker/Position.html +7 -11
- data/webpage/rdoc/RubyBreaker/RubyTypeUtils.html +1 -5
- data/webpage/rdoc/RubyBreaker/Runtime.html +1 -5
- data/webpage/rdoc/RubyBreaker/Runtime/Inspector.html +25 -18
- data/webpage/rdoc/RubyBreaker/Runtime/MethodInfo.html +1 -5
- data/webpage/rdoc/RubyBreaker/Runtime/Monitor.html +4 -8
- data/webpage/rdoc/RubyBreaker/Runtime/MonitorInstaller.html +20 -43
- data/webpage/rdoc/RubyBreaker/Runtime/MonitorSwitch.html +7 -11
- data/webpage/rdoc/RubyBreaker/Runtime/MonitorUtils.html +6 -10
- data/webpage/rdoc/RubyBreaker/Runtime/ObjectWrapper.html +7 -11
- data/webpage/rdoc/RubyBreaker/Runtime/Pluggable.html +1 -5
- data/webpage/rdoc/RubyBreaker/Runtime/TypePlaceholder.html +1 -5
- data/webpage/rdoc/RubyBreaker/Runtime/TypeSigParser.html +1 -5
- data/webpage/rdoc/RubyBreaker/Runtime/TypeSystem.html +8 -12
- data/webpage/rdoc/RubyBreaker/TestCase.html +1 -6
- data/webpage/rdoc/RubyBreaker/TypeComparer.html +1 -5
- data/webpage/rdoc/RubyBreaker/TypeDefs.html +1 -5
- data/webpage/rdoc/RubyBreaker/TypeDefs/AnyType.html +1 -5
- data/webpage/rdoc/RubyBreaker/TypeDefs/BlockType.html +1 -5
- data/webpage/rdoc/RubyBreaker/TypeDefs/DuckType.html +1 -5
- data/webpage/rdoc/RubyBreaker/TypeDefs/FusionType.html +1 -5
- data/webpage/rdoc/RubyBreaker/TypeDefs/MethodListType.html +1 -5
- data/webpage/rdoc/RubyBreaker/TypeDefs/MethodType.html +1 -5
- data/webpage/rdoc/RubyBreaker/TypeDefs/NilType.html +1 -5
- data/webpage/rdoc/RubyBreaker/TypeDefs/NominalType.html +1 -5
- data/webpage/rdoc/RubyBreaker/TypeDefs/OptionalType.html +1 -5
- data/webpage/rdoc/RubyBreaker/TypeDefs/OrType.html +1 -5
- data/webpage/rdoc/RubyBreaker/TypeDefs/SelfType.html +1 -5
- data/webpage/rdoc/RubyBreaker/TypeDefs/Type.html +1 -5
- data/webpage/rdoc/RubyBreaker/TypeDefs/VarLengthType.html +1 -5
- data/webpage/rdoc/RubyBreaker/TypeUnparser.html +1 -5
- data/webpage/rdoc/RubyBreaker/Typing.html +1 -5
- data/webpage/rdoc/RubyBreaker/{Utilities.html → Util.html} +8 -9
- data/webpage/rdoc/created.rid +15 -14
- data/webpage/rdoc/index.html +1 -5
- data/webpage/rdoc/js/search_index.js +1 -1
- data/webpage/rdoc/table_of_contents.html +22 -36
- metadata +9 -7
- data/webpage/rdoc/RubyBreaker/Debug.html +0 -411
- data/webpage/rdoc/RubyBreaker/Kernel.html +0 -259
@@ -98,8 +98,6 @@
|
|
98
98
|
|
99
99
|
<li><a href="../../RubyBreaker/Context.html">RubyBreaker::Context</a>
|
100
100
|
|
101
|
-
<li><a href="../../RubyBreaker/Debug.html">RubyBreaker::Debug</a>
|
102
|
-
|
103
101
|
<li><a href="../../RubyBreaker/Errors.html">RubyBreaker::Errors</a>
|
104
102
|
|
105
103
|
<li><a href="../../RubyBreaker/Errors/InternalError.html">RubyBreaker::Errors::InternalError</a>
|
@@ -114,8 +112,6 @@
|
|
114
112
|
|
115
113
|
<li><a href="../../RubyBreaker/Errors/UserError.html">RubyBreaker::Errors::UserError</a>
|
116
114
|
|
117
|
-
<li><a href="../../RubyBreaker/Kernel.html">RubyBreaker::Kernel</a>
|
118
|
-
|
119
115
|
<li><a href="../../RubyBreaker/Main.html">RubyBreaker::Main</a>
|
120
116
|
|
121
117
|
<li><a href="../../RubyBreaker/ObjectPosition.html">RubyBreaker::ObjectPosition</a>
|
@@ -184,7 +180,7 @@
|
|
184
180
|
|
185
181
|
<li><a href="../../RubyBreaker/Typing.html">RubyBreaker::Typing</a>
|
186
182
|
|
187
|
-
<li><a href="../../RubyBreaker/
|
183
|
+
<li><a href="../../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
188
184
|
|
189
185
|
</ul>
|
190
186
|
</nav>
|
@@ -103,8 +103,6 @@
|
|
103
103
|
|
104
104
|
<li><a href="../../RubyBreaker/Context.html">RubyBreaker::Context</a>
|
105
105
|
|
106
|
-
<li><a href="../../RubyBreaker/Debug.html">RubyBreaker::Debug</a>
|
107
|
-
|
108
106
|
<li><a href="../../RubyBreaker/Errors.html">RubyBreaker::Errors</a>
|
109
107
|
|
110
108
|
<li><a href="../../RubyBreaker/Errors/InternalError.html">RubyBreaker::Errors::InternalError</a>
|
@@ -119,8 +117,6 @@
|
|
119
117
|
|
120
118
|
<li><a href="../../RubyBreaker/Errors/UserError.html">RubyBreaker::Errors::UserError</a>
|
121
119
|
|
122
|
-
<li><a href="../../RubyBreaker/Kernel.html">RubyBreaker::Kernel</a>
|
123
|
-
|
124
120
|
<li><a href="../../RubyBreaker/Main.html">RubyBreaker::Main</a>
|
125
121
|
|
126
122
|
<li><a href="../../RubyBreaker/ObjectPosition.html">RubyBreaker::ObjectPosition</a>
|
@@ -189,7 +185,7 @@
|
|
189
185
|
|
190
186
|
<li><a href="../../RubyBreaker/Typing.html">RubyBreaker::Typing</a>
|
191
187
|
|
192
|
-
<li><a href="../../RubyBreaker/
|
188
|
+
<li><a href="../../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
193
189
|
|
194
190
|
</ul>
|
195
191
|
</nav>
|
@@ -94,8 +94,6 @@
|
|
94
94
|
|
95
95
|
<li><a href="../../RubyBreaker/Context.html">RubyBreaker::Context</a>
|
96
96
|
|
97
|
-
<li><a href="../../RubyBreaker/Debug.html">RubyBreaker::Debug</a>
|
98
|
-
|
99
97
|
<li><a href="../../RubyBreaker/Errors.html">RubyBreaker::Errors</a>
|
100
98
|
|
101
99
|
<li><a href="../../RubyBreaker/Errors/InternalError.html">RubyBreaker::Errors::InternalError</a>
|
@@ -110,8 +108,6 @@
|
|
110
108
|
|
111
109
|
<li><a href="../../RubyBreaker/Errors/UserError.html">RubyBreaker::Errors::UserError</a>
|
112
110
|
|
113
|
-
<li><a href="../../RubyBreaker/Kernel.html">RubyBreaker::Kernel</a>
|
114
|
-
|
115
111
|
<li><a href="../../RubyBreaker/Main.html">RubyBreaker::Main</a>
|
116
112
|
|
117
113
|
<li><a href="../../RubyBreaker/ObjectPosition.html">RubyBreaker::ObjectPosition</a>
|
@@ -180,7 +176,7 @@
|
|
180
176
|
|
181
177
|
<li><a href="../../RubyBreaker/Typing.html">RubyBreaker::Typing</a>
|
182
178
|
|
183
|
-
<li><a href="../../RubyBreaker/
|
179
|
+
<li><a href="../../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
184
180
|
|
185
181
|
</ul>
|
186
182
|
</nav>
|
@@ -100,8 +100,6 @@
|
|
100
100
|
|
101
101
|
<li><a href="../RubyBreaker/Context.html">RubyBreaker::Context</a>
|
102
102
|
|
103
|
-
<li><a href="../RubyBreaker/Debug.html">RubyBreaker::Debug</a>
|
104
|
-
|
105
103
|
<li><a href="../RubyBreaker/Errors.html">RubyBreaker::Errors</a>
|
106
104
|
|
107
105
|
<li><a href="../RubyBreaker/Errors/InternalError.html">RubyBreaker::Errors::InternalError</a>
|
@@ -116,8 +114,6 @@
|
|
116
114
|
|
117
115
|
<li><a href="../RubyBreaker/Errors/UserError.html">RubyBreaker::Errors::UserError</a>
|
118
116
|
|
119
|
-
<li><a href="../RubyBreaker/Kernel.html">RubyBreaker::Kernel</a>
|
120
|
-
|
121
117
|
<li><a href="../RubyBreaker/Main.html">RubyBreaker::Main</a>
|
122
118
|
|
123
119
|
<li><a href="../RubyBreaker/ObjectPosition.html">RubyBreaker::ObjectPosition</a>
|
@@ -186,7 +182,7 @@
|
|
186
182
|
|
187
183
|
<li><a href="../RubyBreaker/Typing.html">RubyBreaker::Typing</a>
|
188
184
|
|
189
|
-
<li><a href="../RubyBreaker/
|
185
|
+
<li><a href="../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
190
186
|
|
191
187
|
</ul>
|
192
188
|
</nav>
|
@@ -100,8 +100,6 @@
|
|
100
100
|
|
101
101
|
<li><a href="../RubyBreaker/Context.html">RubyBreaker::Context</a>
|
102
102
|
|
103
|
-
<li><a href="../RubyBreaker/Debug.html">RubyBreaker::Debug</a>
|
104
|
-
|
105
103
|
<li><a href="../RubyBreaker/Errors.html">RubyBreaker::Errors</a>
|
106
104
|
|
107
105
|
<li><a href="../RubyBreaker/Errors/InternalError.html">RubyBreaker::Errors::InternalError</a>
|
@@ -116,8 +114,6 @@
|
|
116
114
|
|
117
115
|
<li><a href="../RubyBreaker/Errors/UserError.html">RubyBreaker::Errors::UserError</a>
|
118
116
|
|
119
|
-
<li><a href="../RubyBreaker/Kernel.html">RubyBreaker::Kernel</a>
|
120
|
-
|
121
117
|
<li><a href="../RubyBreaker/Main.html">RubyBreaker::Main</a>
|
122
118
|
|
123
119
|
<li><a href="../RubyBreaker/ObjectPosition.html">RubyBreaker::ObjectPosition</a>
|
@@ -186,7 +182,7 @@
|
|
186
182
|
|
187
183
|
<li><a href="../RubyBreaker/Typing.html">RubyBreaker::Typing</a>
|
188
184
|
|
189
|
-
<li><a href="../RubyBreaker/
|
185
|
+
<li><a href="../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
190
186
|
|
191
187
|
</ul>
|
192
188
|
</nav>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
6
|
|
7
|
-
<title>module RubyBreaker::
|
7
|
+
<title>module RubyBreaker::Util - RDoc Documentation</title>
|
8
8
|
|
9
9
|
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
|
10
10
|
|
@@ -90,8 +90,6 @@
|
|
90
90
|
|
91
91
|
<li><a href="../RubyBreaker/Context.html">RubyBreaker::Context</a>
|
92
92
|
|
93
|
-
<li><a href="../RubyBreaker/Debug.html">RubyBreaker::Debug</a>
|
94
|
-
|
95
93
|
<li><a href="../RubyBreaker/Errors.html">RubyBreaker::Errors</a>
|
96
94
|
|
97
95
|
<li><a href="../RubyBreaker/Errors/InternalError.html">RubyBreaker::Errors::InternalError</a>
|
@@ -106,8 +104,6 @@
|
|
106
104
|
|
107
105
|
<li><a href="../RubyBreaker/Errors/UserError.html">RubyBreaker::Errors::UserError</a>
|
108
106
|
|
109
|
-
<li><a href="../RubyBreaker/Kernel.html">RubyBreaker::Kernel</a>
|
110
|
-
|
111
107
|
<li><a href="../RubyBreaker/Main.html">RubyBreaker::Main</a>
|
112
108
|
|
113
109
|
<li><a href="../RubyBreaker/ObjectPosition.html">RubyBreaker::ObjectPosition</a>
|
@@ -176,7 +172,7 @@
|
|
176
172
|
|
177
173
|
<li><a href="../RubyBreaker/Typing.html">RubyBreaker::Typing</a>
|
178
174
|
|
179
|
-
<li><a href="../RubyBreaker/
|
175
|
+
<li><a href="../RubyBreaker/Util.html">RubyBreaker::Util</a>
|
180
176
|
|
181
177
|
</ul>
|
182
178
|
</nav>
|
@@ -185,10 +181,13 @@
|
|
185
181
|
</nav>
|
186
182
|
|
187
183
|
<div id="documentation">
|
188
|
-
<h1 class="module">module RubyBreaker::
|
184
|
+
<h1 class="module">module RubyBreaker::Util</h1>
|
189
185
|
|
190
186
|
<div id="description" class="description">
|
191
187
|
|
188
|
+
<p>This module has utility functions that are useful across all components in
|
189
|
+
the project.</p>
|
190
|
+
|
192
191
|
</div><!-- description -->
|
193
192
|
|
194
193
|
|
@@ -225,7 +224,7 @@
|
|
225
224
|
|
226
225
|
|
227
226
|
<div class="method-source-code" id="camelize-source">
|
228
|
-
<pre><span class="ruby-comment"># File lib/rubybreaker/util.rb, line
|
227
|
+
<pre><span class="ruby-comment"># File lib/rubybreaker/util.rb, line 23</span>
|
229
228
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">camelize</span>(<span class="ruby-identifier">lower_case_and_underscored_word</span>, <span class="ruby-identifier">first_letter_in_uppercase</span> = <span class="ruby-keyword">true</span>)
|
230
229
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">first_letter_in_uppercase</span>
|
231
230
|
<span class="ruby-identifier">lower_case_and_underscored_word</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">%r\/(.?)/</span>) { <span class="ruby-node">"::#{$1.upcase}"</span> }.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">%r(?:^|_)(.)/</span>) { <span class="ruby-node">$1</span>.<span class="ruby-identifier">upcase</span> }
|
@@ -259,7 +258,7 @@
|
|
259
258
|
|
260
259
|
|
261
260
|
<div class="method-source-code" id="underscore-source">
|
262
|
-
<pre><span class="ruby-comment"># File lib/rubybreaker/util.rb, line
|
261
|
+
<pre><span class="ruby-comment"># File lib/rubybreaker/util.rb, line 12</span>
|
263
262
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">underscore</span>(<span class="ruby-identifier">camel_cased_word</span>)
|
264
263
|
<span class="ruby-identifier">word</span> = <span class="ruby-identifier">camel_cased_word</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">dup</span>
|
265
264
|
<span class="ruby-identifier">word</span>.<span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp">%r::/</span>, <span class="ruby-string">'/'</span>)
|
data/webpage/rdoc/created.rid
CHANGED
@@ -1,26 +1,27 @@
|
|
1
|
-
|
2
|
-
lib/rubybreaker/context.rb Sun, 06 May 2012 15:29:43 -0500
|
3
|
-
lib/rubybreaker/debug.rb
|
4
|
-
lib/rubybreaker/error.rb
|
1
|
+
Sat, 19 May 2012 12:56:12 -0500
|
2
|
+
lib/rubybreaker/debug/context.rb Sun, 06 May 2012 15:29:43 -0500
|
3
|
+
lib/rubybreaker/debug/debug.rb Sat, 19 May 2012 12:32:10 -0500
|
4
|
+
lib/rubybreaker/debug/error.rb Sat, 19 May 2012 11:13:13 -0500
|
5
|
+
lib/rubybreaker/debug.rb Sat, 19 May 2012 11:25:04 -0500
|
5
6
|
lib/rubybreaker/rubylib.rb Sun, 06 May 2012 14:39:35 -0500
|
6
|
-
lib/rubybreaker/runtime/inspector.rb
|
7
|
-
lib/rubybreaker/runtime/monitor.rb
|
8
|
-
lib/rubybreaker/runtime/object_wrapper.rb
|
7
|
+
lib/rubybreaker/runtime/inspector.rb Sat, 19 May 2012 00:05:18 -0500
|
8
|
+
lib/rubybreaker/runtime/monitor.rb Sat, 19 May 2012 11:42:30 -0500
|
9
|
+
lib/rubybreaker/runtime/object_wrapper.rb Sat, 19 May 2012 11:45:06 -0500
|
9
10
|
lib/rubybreaker/runtime/overrides.rb Thu, 17 May 2012 22:39:47 -0500
|
10
11
|
lib/rubybreaker/runtime/pluggable.rb Tue, 15 May 2012 19:42:18 -0500
|
11
12
|
lib/rubybreaker/runtime/type_placeholder.rb Tue, 15 May 2012 19:44:02 -0500
|
12
|
-
lib/rubybreaker/runtime/type_system.rb
|
13
|
+
lib/rubybreaker/runtime/type_system.rb Sat, 19 May 2012 11:45:52 -0500
|
13
14
|
lib/rubybreaker/runtime/typesig_parser.rb Tue, 15 May 2012 21:00:26 -0500
|
14
15
|
lib/rubybreaker/runtime/util.rb Mon, 14 May 2012 22:42:02 -0500
|
15
|
-
lib/rubybreaker/runtime.rb
|
16
|
-
lib/rubybreaker/test/testcase.rb
|
16
|
+
lib/rubybreaker/runtime.rb Fri, 18 May 2012 23:49:16 -0500
|
17
|
+
lib/rubybreaker/test/testcase.rb Sat, 19 May 2012 08:06:10 -0500
|
17
18
|
lib/rubybreaker/test.rb Sun, 06 May 2012 14:39:47 -0500
|
18
|
-
lib/rubybreaker/type/type.rb
|
19
|
+
lib/rubybreaker/type/type.rb Sat, 19 May 2012 11:13:36 -0500
|
19
20
|
lib/rubybreaker/type/type_comparer.rb Wed, 16 May 2012 23:20:10 -0500
|
20
|
-
lib/rubybreaker/type/type_unparser.rb
|
21
|
+
lib/rubybreaker/type/type_unparser.rb Sat, 19 May 2012 08:06:35 -0500
|
21
22
|
lib/rubybreaker/type.rb Thu, 10 May 2012 19:24:47 -0500
|
22
23
|
lib/rubybreaker/typing/rubytype.rb Sun, 06 May 2012 15:30:57 -0500
|
23
24
|
lib/rubybreaker/typing/subtyping.rb Wed, 16 May 2012 23:20:53 -0500
|
24
25
|
lib/rubybreaker/typing.rb Sun, 06 May 2012 14:40:10 -0500
|
25
|
-
lib/rubybreaker/util.rb
|
26
|
-
lib/rubybreaker.rb
|
26
|
+
lib/rubybreaker/util.rb Sat, 19 May 2012 11:14:28 -0500
|
27
|
+
lib/rubybreaker.rb Sat, 19 May 2012 12:32:17 -0500
|
data/webpage/rdoc/index.html
CHANGED
@@ -60,8 +60,6 @@
|
|
60
60
|
|
61
61
|
<li><a href="./RubyBreaker/Context.html">RubyBreaker::Context</a>
|
62
62
|
|
63
|
-
<li><a href="./RubyBreaker/Debug.html">RubyBreaker::Debug</a>
|
64
|
-
|
65
63
|
<li><a href="./RubyBreaker/Errors.html">RubyBreaker::Errors</a>
|
66
64
|
|
67
65
|
<li><a href="./RubyBreaker/Errors/InternalError.html">RubyBreaker::Errors::InternalError</a>
|
@@ -76,8 +74,6 @@
|
|
76
74
|
|
77
75
|
<li><a href="./RubyBreaker/Errors/UserError.html">RubyBreaker::Errors::UserError</a>
|
78
76
|
|
79
|
-
<li><a href="./RubyBreaker/Kernel.html">RubyBreaker::Kernel</a>
|
80
|
-
|
81
77
|
<li><a href="./RubyBreaker/Main.html">RubyBreaker::Main</a>
|
82
78
|
|
83
79
|
<li><a href="./RubyBreaker/ObjectPosition.html">RubyBreaker::ObjectPosition</a>
|
@@ -146,7 +142,7 @@
|
|
146
142
|
|
147
143
|
<li><a href="./RubyBreaker/Typing.html">RubyBreaker::Typing</a>
|
148
144
|
|
149
|
-
<li><a href="./RubyBreaker/
|
145
|
+
<li><a href="./RubyBreaker/Util.html">RubyBreaker::Util</a>
|
150
146
|
|
151
147
|
</ul>
|
152
148
|
</nav>
|
@@ -1 +1 @@
|
|
1
|
-
var search_data = {"index":{"searchIndex":["rubybreaker","breakable","broken","brokeneigen","context","debug","errors","internalerror","invalidsubtypecheck","invalidtypeconstruction","subtypefailure","typeerror","usererror","kernel","main","objectposition","position","rubytypeutils","runtime","inspector","methodinfo","monitor","monitorinstaller","monitorswitch","monitorutils","objectwrapper","pluggable","typeplaceholder","typesigparser","typesystem","testcase","typecomparer","typedefs","anytype","blocktype","ducktype","fusiontype","methodlisttype","methodtype","niltype","nominaltype","optionaltype","ortype","selftype","type","varlengthtype","typeunparser","typing","utilities","__rubybreaker_obj()","__rubybreaker_type()","add_meth()","after_method()","after_method_call()","before_method()","before_method_call()","camelize()","compare()","convert_caller_to_pos()","debug_mode?()","eql?()","feed_line()","format_with_msg()","get()","get_alt_meth_name()","get_orig_meth_name()","get_self()","included()","included()","included()","input()","inspect_all()","inspect_class_meth()","inspect_meth()","inspect_meths()","install_module_monitor()","is_module?()","is_object_wrapped?()","lub()","lub_helper()","method_missing()","mod()","monitor()","monitor_after_method()","monitor_before_method()","msg()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","output()","parse()","pop()","pp_methods()","pp_module()","push()","rename_meth()","report()","respond_to?()","route()","run()","set()","set_self()","set_to()","setup()","setup()","short_msg()","subclass_rel?()","submodule_rel?()","subtype_of?()","subtype_rel?()","suppress_warning()","teardown()","to_s()","to_s()","token()","turn_off()","turn_on()","typesig()","underscore()","unparse()","unparse()"],"longSearchIndex":["rubybreaker","rubybreaker::breakable","rubybreaker::broken","rubybreaker::broken::brokeneigen","rubybreaker::context","rubybreaker::debug","rubybreaker::errors","rubybreaker::errors::internalerror","rubybreaker::errors::invalidsubtypecheck","rubybreaker::errors::invalidtypeconstruction","rubybreaker::errors::subtypefailure","rubybreaker::errors::typeerror","rubybreaker::errors::usererror","rubybreaker::kernel","rubybreaker::main","rubybreaker::objectposition","rubybreaker::position","rubybreaker::rubytypeutils","rubybreaker::runtime","rubybreaker::runtime::inspector","rubybreaker::runtime::methodinfo","rubybreaker::runtime::monitor","rubybreaker::runtime::monitorinstaller","rubybreaker::runtime::monitorswitch","rubybreaker::runtime::monitorutils","rubybreaker::runtime::objectwrapper","rubybreaker::runtime::pluggable","rubybreaker::runtime::typeplaceholder","rubybreaker::runtime::typesigparser","rubybreaker::runtime::typesystem","rubybreaker::testcase","rubybreaker::typecomparer","rubybreaker::typedefs","rubybreaker::typedefs::anytype","rubybreaker::typedefs::blocktype","rubybreaker::typedefs::ducktype","rubybreaker::typedefs::fusiontype","rubybreaker::typedefs::methodlisttype","rubybreaker::typedefs::methodtype","rubybreaker::typedefs::niltype","rubybreaker::typedefs::nominaltype","rubybreaker::typedefs::optionaltype","rubybreaker::typedefs::ortype","rubybreaker::typedefs::selftype","rubybreaker::typedefs::type","rubybreaker::typedefs::varlengthtype","rubybreaker::typeunparser","rubybreaker::typing","rubybreaker::utilities","rubybreaker::runtime::objectwrapper#__rubybreaker_obj()","rubybreaker::runtime::objectwrapper#__rubybreaker_type()","rubybreaker::typedefs::ducktype#add_meth()","rubybreaker::runtime::typesystem#after_method()","rubybreaker::runtime::pluggable#after_method_call()","rubybreaker::runtime::typesystem#before_method()","rubybreaker::runtime::pluggable#before_method_call()","rubybreaker::utilities::camelize()","rubybreaker::typecomparer::compare()","rubybreaker::position::convert_caller_to_pos()","rubybreaker::debug::debug_mode?()","rubybreaker::typedefs::type#eql?()","rubybreaker::debug::feed_line()","rubybreaker::context#format_with_msg()","rubybreaker::position::get()","rubybreaker::runtime::monitorutils::get_alt_meth_name()","rubybreaker::runtime::monitorutils::get_orig_meth_name()","rubybreaker::typedefs::selftype::get_self()","rubybreaker::breakable::included()","rubybreaker::broken::included()","rubybreaker::testcase::included()","rubybreaker::main::input()","rubybreaker::runtime::inspector::inspect_all()","rubybreaker::runtime::inspector::inspect_class_meth()","rubybreaker::runtime::inspector::inspect_meth()","rubybreaker::runtime::inspector::inspect_meths()","rubybreaker::runtime::monitorinstaller::install_module_monitor()","rubybreaker::runtime::monitorinstaller::is_module?()","rubybreaker::runtime::typesystem#is_object_wrapped?()","rubybreaker::runtime::typesystem#lub()","rubybreaker::runtime::typesystem#lub_helper()","rubybreaker::runtime::objectwrapper#method_missing()","rubybreaker::typedefs::fusiontype#mod()","rubybreaker::monitor()","rubybreaker::runtime::monitor#monitor_after_method()","rubybreaker::runtime::monitor#monitor_before_method()","rubybreaker::debug::msg()","rubybreaker::context::new()","rubybreaker::errors::internalerror::new()","rubybreaker::errors::invalidsubtypecheck::new()","rubybreaker::errors::usererror::new()","rubybreaker::objectposition::new()","rubybreaker::position::new()","rubybreaker::runtime::methodinfo::new()","rubybreaker::runtime::monitor::new()","rubybreaker::runtime::monitorswitch::new()","rubybreaker::runtime::objectwrapper::new()","rubybreaker::runtime::typeplaceholder::new()","rubybreaker::typedefs::anytype::new()","rubybreaker::typedefs::blocktype::new()","rubybreaker::typedefs::ducktype::new()","rubybreaker::typedefs::fusiontype::new()","rubybreaker::typedefs::methodlisttype::new()","rubybreaker::typedefs::methodtype::new()","rubybreaker::typedefs::niltype::new()","rubybreaker::typedefs::nominaltype::new()","rubybreaker::typedefs::optionaltype::new()","rubybreaker::typedefs::ortype::new()","rubybreaker::typedefs::selftype::new()","rubybreaker::typedefs::type::new()","rubybreaker::typedefs::varlengthtype::new()","rubybreaker::main::output()","rubybreaker::runtime::typesigparser::parse()","rubybreaker::context#pop()","rubybreaker::main::pp_methods()","rubybreaker::main::pp_module()","rubybreaker::context#push()","rubybreaker::runtime::monitorinstaller::rename_meth()","rubybreaker::runtime::monitorinstaller::report()","rubybreaker::runtime::objectwrapper#respond_to?()","rubybreaker::runtime::monitorutils::route()","rubybreaker::main::run()","rubybreaker::position::set()","rubybreaker::typedefs::selftype::set_self()","rubybreaker::runtime::monitorswitch#set_to()","rubybreaker::main::setup()","rubybreaker::testcase::setup()","rubybreaker::debug::short_msg()","rubybreaker::rubytypeutils::subclass_rel?()","rubybreaker::rubytypeutils::submodule_rel?()","rubybreaker::typedefs::type#subtype_of?()","rubybreaker::typing::subtype_rel?()","rubybreaker::kernel#suppress_warning()","rubybreaker::testcase::teardown()","rubybreaker::objectposition#to_s()","rubybreaker::position#to_s()","rubybreaker::debug::token()","rubybreaker::runtime::monitorswitch#turn_off()","rubybreaker::runtime::monitorswitch#turn_on()","rubybreaker::broken::brokeneigen#typesig()","rubybreaker::utilities::underscore()","rubybreaker::typedefs::type#unparse()","rubybreaker::typeunparser::unparse()"],"info":[["RubyBreaker","","RubyBreaker.html","","<p>-\n\n<pre>This file contains utility functions that are useful for the Runtime\nLibrary.</pre>\n<p>RubyBreaker is a dynamic …\n"],["RubyBreaker::Breakable","","RubyBreaker/Breakable.html","","<p>This module should be included in classes or modules that you want to\nmonitor during runtime. The concept …\n"],["RubyBreaker::Broken","","RubyBreaker/Broken.html","","<p>This module is included for “broken” classes.\n"],["RubyBreaker::Broken::BrokenEigen","","RubyBreaker/Broken/BrokenEigen.html","","<p>-\n\n<pre class=\"ruby\"><span class=\"ruby-constant\">This</span> <span class=\"ruby-keyword\">module</span> <span class=\"ruby-identifier\">will</span> <span class=\"ruby-identifier\">be</span> <span class=\"ruby-string\">"extended"</span> <span class=\"ruby-identifier\">to</span> <span class=\"ruby-identifier\">the</span> <span class=\"ruby-identifier\">eigen</span> <span class=\"ruby-keyword\">class</span> <span class=\"ruby-identifier\">of</span> <span class=\"ruby-identifier\">the</span> <span class=\"ruby-keyword\">class</span> <span class=\"ruby-identifier\">that</span> \n<span class=\"ruby-identifier\">includes</span> <span class=\"ruby-constant\">Broken</span> <span class=\"ruby-keyword\">module</span>. <span class=\"ruby-constant\">This</span> <span class=\"ruby-identifier\">allows</span> <span class=\"ruby-operator\">...</span>\n</pre>\n"],["RubyBreaker::Context","","RubyBreaker/Context.html","","<p>This class represents a context which consists of one or more positions. A\nposition can refer to a physical …\n"],["RubyBreaker::Debug","","RubyBreaker/Debug.html","","<p>This module is for internal purpose only - to help ourselves find bugs and\nfix them with more informative …\n"],["RubyBreaker::Errors","","RubyBreaker/Errors.html","","<p>This module contains errors used by RubyBreaker.\n"],["RubyBreaker::Errors::InternalError","","RubyBreaker/Errors/InternalError.html","","<p>This class is a base class for any internal errors. It should be used to\ninform the faults within the …\n"],["RubyBreaker::Errors::InvalidSubtypeCheck","","RubyBreaker/Errors/InvalidSubtypeCheck.html","","<p>This error is thrown when a subtype check is not even appropriate for two\ngiven types. It should NOT …\n"],["RubyBreaker::Errors::InvalidTypeConstruction","","RubyBreaker/Errors/InvalidTypeConstruction.html","","<p>This error is thrown when a type is constructed with invalid elements.\n"],["RubyBreaker::Errors::SubtypeFailure","","RubyBreaker/Errors/SubtypeFailure.html","",""],["RubyBreaker::Errors::TypeError","","RubyBreaker/Errors/TypeError.html","",""],["RubyBreaker::Errors::UserError","","RubyBreaker/Errors/UserError.html","","<p>This class is a base class for any user errors. Unlike internal error, it\nshould use a Context to inform …\n"],["RubyBreaker::Kernel","","RubyBreaker/Kernel.html","","<p>mentalized.net/journal/2010/04/02/suppress_warnings_from_ruby/\n"],["RubyBreaker::Main","","RubyBreaker/Main.html","","<p>This module has a set of entry points to the program and misc. methods for\nrunning RubyBreaker.\n"],["RubyBreaker::ObjectPosition","","RubyBreaker/ObjectPosition.html","","<p>This class represents a position with respect to an object and the name of\na method being invoked.\n"],["RubyBreaker::Position","","RubyBreaker/Position.html","","<p>This class represents a position of the type acquired from either the type\nsignature or code during runtime. …\n"],["RubyBreaker::RubyTypeUtils","","RubyBreaker/RubyTypeUtils.html","",""],["RubyBreaker::Runtime","","RubyBreaker/Runtime.html","",""],["RubyBreaker::Runtime::Inspector","","RubyBreaker/Runtime/Inspector.html","","<p>This module inspects a Breakable module and retrieves type information if\nthere is any.\n"],["RubyBreaker::Runtime::MethodInfo","","RubyBreaker/Runtime/MethodInfo.html","","<p>This class has information (and data) of the method being called. Used by\nPluggable and Monitor\n"],["RubyBreaker::Runtime::Monitor","","RubyBreaker/Runtime/Monitor.html","","<p>This class monitors method calls before and after. It simply reroutes the\nresponsibility to the appropriate …\n"],["RubyBreaker::Runtime::MonitorInstaller","","RubyBreaker/Runtime/MonitorInstaller.html","","<p>This module installs a monitor in the object.\n"],["RubyBreaker::Runtime::MonitorSwitch","","RubyBreaker/Runtime/MonitorSwitch.html","","<p>This class is a switch to turn on and off the type monitoring system. It is\nimportant to turn off the …\n"],["RubyBreaker::Runtime::MonitorUtils","","RubyBreaker/Runtime/MonitorUtils.html","","<p>This module contains helper methods for monitoring objects and modules.\n"],["RubyBreaker::Runtime::ObjectWrapper","","RubyBreaker/Runtime/ObjectWrapper.html","","<p>This class represents the shell object that wraps around another object. \nNote that it is a subclass …\n"],["RubyBreaker::Runtime::Pluggable","","RubyBreaker/Runtime/Pluggable.html","","<p>Any Pluggable module can be “plugged” into the RubyBreaker monitoring\nsystem. For example, …\n"],["RubyBreaker::Runtime::TypePlaceholder","","RubyBreaker/Runtime/TypePlaceholder.html","","<p>This class is a placeholder for method types\n"],["RubyBreaker::Runtime::TypeSigParser","","RubyBreaker/Runtime/TypeSigParser.html","",""],["RubyBreaker::Runtime::TypeSystem","","RubyBreaker/Runtime/TypeSystem.html","","<p>This is the default type system for RubyBreaker. It can be overridden by a\nuser specified type system. …\n"],["RubyBreaker::TestCase","","RubyBreaker/TestCase.html","","<p>This module overrides the normal behavior of Ruby Stdlib’s TestCase class.\n"],["RubyBreaker::TypeComparer","","RubyBreaker/TypeComparer.html","","<p>This module compares two RubyBreaker-defined types for the syntactic\nequivalence.\n"],["RubyBreaker::TypeDefs","","RubyBreaker/TypeDefs.html","","<p>This module contains all RubyBreaker type definitions. This module has to\nbe included to the module if …\n"],["RubyBreaker::TypeDefs::AnyType","","RubyBreaker/TypeDefs/AnyType.html","","<p>This type can represent any object\n"],["RubyBreaker::TypeDefs::BlockType","","RubyBreaker/TypeDefs/BlockType.html","","<p>This class represents a block (in a method). It has zero or more argument \ntypes, nested block type (optional), …\n"],["RubyBreaker::TypeDefs::DuckType","","RubyBreaker/TypeDefs/DuckType.html","","<p>This class represents any object with certain methods Usage: [m1,m2,…]\nwhere m1…mn are method names …\n"],["RubyBreaker::TypeDefs::FusionType","","RubyBreaker/TypeDefs/FusionType.html","","<p>This class represents any object that has certain methods whose types are\nsame as the given nominal type’s …\n"],["RubyBreaker::TypeDefs::MethodListType","","RubyBreaker/TypeDefs/MethodListType.html","","<p>This class represents multiple method types.\n"],["RubyBreaker::TypeDefs::MethodType","","RubyBreaker/TypeDefs/MethodType.html","","<p>This class represents a method and is essentially same as block type \nexcept the method name.\n"],["RubyBreaker::TypeDefs::NilType","","RubyBreaker/TypeDefs/NilType.html","","<p>This type represents a nil\n"],["RubyBreaker::TypeDefs::NominalType","","RubyBreaker/TypeDefs/NominalType.html","","<p>This class represents a concrete object like a Numeric or String. It \nstores the actual module in the …\n"],["RubyBreaker::TypeDefs::OptionalType","","RubyBreaker/TypeDefs/OptionalType.html","","<p>This class respresents an optional argument type\n"],["RubyBreaker::TypeDefs::OrType","","RubyBreaker/TypeDefs/OrType.html","","<p>This class represents one of many types\n"],["RubyBreaker::TypeDefs::SelfType","","RubyBreaker/TypeDefs/SelfType.html","","<p>This type represents the self type. Note that this is a subclass of Nominal\nType. It works just like …\n"],["RubyBreaker::TypeDefs::Type","","RubyBreaker/TypeDefs/Type.html","","<p>This class is a catch-all. The constructor of this class must be called\nfrom children via super() in …\n"],["RubyBreaker::TypeDefs::VarLengthType","","RubyBreaker/TypeDefs/VarLengthType.html","","<p>This class represents a variable-length argument type\n"],["RubyBreaker::TypeUnparser","","RubyBreaker/TypeUnparser.html","","<p>This module prints the RubyBreaker types in a user-friendly way.\n"],["RubyBreaker::Typing","","RubyBreaker/Typing.html","","<p>This module contains subtyping logic used in RubyBreaker. See\n<em>rubytype.rb</em> for logic related to subclassing …\n"],["RubyBreaker::Utilities","","RubyBreaker/Utilities.html","",""],["__rubybreaker_obj","RubyBreaker::Runtime::ObjectWrapper","RubyBreaker/Runtime/ObjectWrapper.html#method-i-__rubybreaker_obj","()","<p>This method returns the original object.\n"],["__rubybreaker_type","RubyBreaker::Runtime::ObjectWrapper","RubyBreaker/Runtime/ObjectWrapper.html#method-i-__rubybreaker_type","()","<p>This method returns the type gathered so far for this object.\n"],["add_meth","RubyBreaker::TypeDefs::DuckType","RubyBreaker/TypeDefs/DuckType.html#method-i-add_meth","(meth_name)",""],["after_method","RubyBreaker::Runtime::TypeSystem","RubyBreaker/Runtime/TypeSystem.html#method-i-after_method","(obj, meth_info)","<p>This method occurs after every “monitored” method call. It updates the type\ninformation.\n"],["after_method_call","RubyBreaker::Runtime::Pluggable","RubyBreaker/Runtime/Pluggable.html#method-i-after_method_call","(obj, meth_info)","<p>This method will be invoked right after the actual method is invoked.\n<p>obj — the receiver of the method call …\n"],["before_method","RubyBreaker::Runtime::TypeSystem","RubyBreaker/Runtime/TypeSystem.html#method-i-before_method","(obj, meth_info)","<p>This method occurs before every “monitored” method call. It wraps each\nargument with the object …\n"],["before_method_call","RubyBreaker::Runtime::Pluggable","RubyBreaker/Runtime/Pluggable.html#method-i-before_method_call","(obj, meth_info)","<p>This method will be invoked right before the actual method is invoked.\n<p>obj — the receiver of the method …\n"],["camelize","RubyBreaker::Utilities","RubyBreaker/Utilities.html#method-c-camelize","(lower_case_and_underscored_word, first_letter_in_uppercase = true)","<p>File activesupport/lib/active_support/inflector/methods.rb\n"],["compare","RubyBreaker::TypeComparer","RubyBreaker/TypeComparer.html#method-c-compare","(lhs,rhs)","<p>This equal method determines whether two types are\n<strong>syntactically</strong> equivalent. Note that this is NOT a …\n"],["convert_caller_to_pos","RubyBreaker::Position","RubyBreaker/Position.html#method-c-convert_caller_to_pos","(caller_ary, idx=0)","<p>This class method is a utility function to convert a string in the caller()\narray.\n"],["debug_mode?","RubyBreaker::Debug","RubyBreaker/Debug.html#method-c-debug_mode-3F","()",""],["eql?","RubyBreaker::TypeDefs::Type","RubyBreaker/TypeDefs/Type.html#method-i-eql-3F","(other)","<p>This method compares this object to another object syntactically.\n"],["feed_line","RubyBreaker::Debug","RubyBreaker/Debug.html#method-c-feed_line","()",""],["format_with_msg","RubyBreaker::Context","RubyBreaker/Context.html#method-i-format_with_msg","(pp,msg=\"\")",""],["get","RubyBreaker::Position","RubyBreaker/Position.html#method-c-get","()","<p>This class method returns a new position object for the current parsing\nposition.\n"],["get_alt_meth_name","RubyBreaker::Runtime::MonitorUtils","RubyBreaker/Runtime/MonitorUtils.html#method-c-get_alt_meth_name","(meth_name)","<p>This method returns the alternative (renamed) method name\n"],["get_orig_meth_name","RubyBreaker::Runtime::MonitorUtils","RubyBreaker/Runtime/MonitorUtils.html#method-c-get_orig_meth_name","(meth_name)","<p>This method returns the original method name\n"],["get_self","RubyBreaker::TypeDefs::SelfType","RubyBreaker/TypeDefs/SelfType.html#method-c-get_self","(mod)","<p>This is a getter method for class variable mod.\n"],["included","RubyBreaker::Breakable","RubyBreaker/Breakable.html#method-c-included","(mod)","<p>Simply keep track of this module and its eigen class so they are monitored\nlater on.\n"],["included","RubyBreaker::Broken","RubyBreaker/Broken.html#method-c-included","(mod)","<p>This method is triggered when Broken module is included. This just extends\nBrokenEigen into the target …\n"],["included","RubyBreaker::TestCase","RubyBreaker/TestCase.html#method-c-included","(mod)",""],["input","RubyBreaker::Main","RubyBreaker/Main.html#method-c-input","()","<p>Reads the input file if specified or exists\n"],["inspect_all","RubyBreaker::Runtime::Inspector","RubyBreaker/Runtime/Inspector.html#method-c-inspect_all","(mod)","<p>This method inspects the module for all methods. It returns a Hash\ncontaining (method name, method type) …\n"],["inspect_class_meth","RubyBreaker::Runtime::Inspector","RubyBreaker/Runtime/Inspector.html#method-c-inspect_class_meth","(mod, mname)","<p>This method inspects the module for the specified class method name. This\nis a shorthand for calling …\n"],["inspect_meth","RubyBreaker::Runtime::Inspector","RubyBreaker/Runtime/Inspector.html#method-c-inspect_meth","(mod, mname)","<p>This method inspects the module for specified method name. It returns the\nmethod type or method list …\n"],["inspect_meths","RubyBreaker::Runtime::Inspector","RubyBreaker/Runtime/Inspector.html#method-c-inspect_meths","(mod, mnames)","<p>Similar to inspect_meth but returns a hash of (mname, mtype) pairs.\n"],["install_module_monitor","RubyBreaker::Runtime::MonitorInstaller","RubyBreaker/Runtime/MonitorInstaller.html#method-c-install_module_monitor","(mod)","<p>Installs an module (class) monitor to the object.\n"],["is_module?","RubyBreaker::Runtime::MonitorInstaller","RubyBreaker/Runtime/MonitorInstaller.html#method-c-is_module-3F","(recv)","<p>returns true if the receiver is a module or a class\n"],["is_object_wrapped?","RubyBreaker::Runtime::TypeSystem","RubyBreaker/Runtime/TypeSystem.html#method-i-is_object_wrapped-3F","(obj)","<p>Check if the object is wrapped by a monitor\n"],["lub","RubyBreaker::Runtime::TypeSystem","RubyBreaker/Runtime/TypeSystem.html#method-i-lub","(obj, meth_type_map, meth_name, retval, *args, &blk)","<p>This method computes the least upper bound of the existing method type and\nnewly observed argument/block/return …\n"],["lub_helper","RubyBreaker::Runtime::TypeSystem","RubyBreaker/Runtime/TypeSystem.html#method-i-lub_helper","(exist_meth_type, new_meth_type)","<p>This method is a helper for computing the least upper bound. It handles the\ncase where existing method …\n"],["method_missing","RubyBreaker::Runtime::ObjectWrapper","RubyBreaker/Runtime/ObjectWrapper.html#method-i-method_missing","(mname,*args,&blk)","<p>This method missing method redirects all other method calls.\n"],["mod","RubyBreaker::TypeDefs::FusionType","RubyBreaker/TypeDefs/FusionType.html#method-i-mod","()","<p>This method gets the actual module of the nominal type for this fusion\ntype. This is a shorthand for …\n"],["monitor","RubyBreaker","RubyBreaker.html#method-c-monitor","()","<p>Just redirecting\n"],["monitor_after_method","RubyBreaker::Runtime::Monitor","RubyBreaker/Runtime/Monitor.html#method-i-monitor_after_method","(obj, meth_info)","<p>This method is invoked after the actual method is invoked.\n"],["monitor_before_method","RubyBreaker::Runtime::Monitor","RubyBreaker/Runtime/Monitor.html#method-i-monitor_before_method","(obj, meth_info)","<p>Starts monitoring of a method; it wraps each argument so that they can\ngather type information in the …\n"],["msg","RubyBreaker::Debug","RubyBreaker/Debug.html#method-c-msg","(text,context=nil)",""],["new","RubyBreaker::Context","RubyBreaker/Context.html#method-c-new","(pos)",""],["new","RubyBreaker::Errors::InternalError","RubyBreaker/Errors/InternalError.html#method-c-new","(msg)",""],["new","RubyBreaker::Errors::InvalidSubtypeCheck","RubyBreaker/Errors/InvalidSubtypeCheck.html#method-c-new","(msg,pos=nil)",""],["new","RubyBreaker::Errors::UserError","RubyBreaker/Errors/UserError.html#method-c-new","(msg, ctx)",""],["new","RubyBreaker::ObjectPosition","RubyBreaker/ObjectPosition.html#method-c-new","(obj, meth_name)",""],["new","RubyBreaker::Position","RubyBreaker/Position.html#method-c-new","(file=\"\",line=-1,col=-1,meth=\"\")",""],["new","RubyBreaker::Runtime::MethodInfo","RubyBreaker/Runtime/MethodInfo.html#method-c-new","(meth_name, args, blk, ret)",""],["new","RubyBreaker::Runtime::Monitor","RubyBreaker/Runtime/Monitor.html#method-c-new","(mod, pluggable)",""],["new","RubyBreaker::Runtime::MonitorSwitch","RubyBreaker/Runtime/MonitorSwitch.html#method-c-new","()",""],["new","RubyBreaker::Runtime::ObjectWrapper","RubyBreaker/Runtime/ObjectWrapper.html#method-c-new","(obj)",""],["new","RubyBreaker::Runtime::TypePlaceholder","RubyBreaker/Runtime/TypePlaceholder.html#method-c-new","()",""],["new","RubyBreaker::TypeDefs::AnyType","RubyBreaker/TypeDefs/AnyType.html#method-c-new","(*args)",""],["new","RubyBreaker::TypeDefs::BlockType","RubyBreaker/TypeDefs/BlockType.html#method-c-new","(arg_types=[],blk_type=nil,ret_type=nil,*args)",""],["new","RubyBreaker::TypeDefs::DuckType","RubyBreaker/TypeDefs/DuckType.html#method-c-new","(meth_names=[],*args)",""],["new","RubyBreaker::TypeDefs::FusionType","RubyBreaker/TypeDefs/FusionType.html#method-c-new","(nom_type,meth_names=[],*args)",""],["new","RubyBreaker::TypeDefs::MethodListType","RubyBreaker/TypeDefs/MethodListType.html#method-c-new","(types=[],*args)",""],["new","RubyBreaker::TypeDefs::MethodType","RubyBreaker/TypeDefs/MethodType.html#method-c-new","(meth_name,arg_types=[],blk_type=nil,ret_type=nil,*args)",""],["new","RubyBreaker::TypeDefs::NilType","RubyBreaker/TypeDefs/NilType.html#method-c-new","(*args)",""],["new","RubyBreaker::TypeDefs::NominalType","RubyBreaker/TypeDefs/NominalType.html#method-c-new","(mod=nil,*args)",""],["new","RubyBreaker::TypeDefs::OptionalType","RubyBreaker/TypeDefs/OptionalType.html#method-c-new","(type,*args)",""],["new","RubyBreaker::TypeDefs::OrType","RubyBreaker/TypeDefs/OrType.html#method-c-new","(types=[],*args)",""],["new","RubyBreaker::TypeDefs::SelfType","RubyBreaker/TypeDefs/SelfType.html#method-c-new","(*args)",""],["new","RubyBreaker::TypeDefs::Type","RubyBreaker/TypeDefs/Type.html#method-c-new","(*args)",""],["new","RubyBreaker::TypeDefs::VarLengthType","RubyBreaker/TypeDefs/VarLengthType.html#method-c-new","(type,*args)",""],["output","RubyBreaker::Main","RubyBreaker/Main.html#method-c-output","()","<p>This method will generate the output\n"],["parse","RubyBreaker::Runtime::TypeSigParser","RubyBreaker/Runtime/TypeSigParser.html#method-c-parse","(str)","<p>This is a simple redirecting method for parsing type signature. The only\nspecial thing about this method …\n"],["pop","RubyBreaker::Context","RubyBreaker/Context.html#method-i-pop","()",""],["pp_methods","RubyBreaker::Main","RubyBreaker/Main.html#method-c-pp_methods","(pp, meth_type_map)","<p>Pretty prints type information for methods\n"],["pp_module","RubyBreaker::Main","RubyBreaker/Main.html#method-c-pp_module","(pp, mod)","<p>Pretty prints type information for the module/class\n"],["push","RubyBreaker::Context","RubyBreaker/Context.html#method-i-push","(pos)",""],["rename_meth","RubyBreaker::Runtime::MonitorInstaller","RubyBreaker/Runtime/MonitorInstaller.html#method-c-rename_meth","(recv, meth_name)","<p>renames the method in essence; this method also “installs” the module\nmonitor for the class …\n"],["report","RubyBreaker::Runtime::MonitorInstaller","RubyBreaker/Runtime/MonitorInstaller.html#method-c-report","(mod)",""],["respond_to?","RubyBreaker::Runtime::ObjectWrapper","RubyBreaker/Runtime/ObjectWrapper.html#method-i-respond_to-3F","(mname)","<p>Only behave differently if it’s looking for <code>WRAPPED_INDICATOR</code>\nmethod\n"],["route","RubyBreaker::Runtime::MonitorUtils","RubyBreaker/Runtime/MonitorUtils.html#method-c-route","(obj,meth_name,*args,&blk)","<p>This will do the actual routing work for a particular “monitored” method\ncall.\n<p>obj — is the object …\n"],["run","RubyBreaker::Main","RubyBreaker/Main.html#method-c-run","()","<p>This method will run the input file\n"],["set","RubyBreaker::Position","RubyBreaker/Position.html#method-c-set","(file,line,col)","<p>This class method is to set the current parsing position.\n"],["set_self","RubyBreaker::TypeDefs::SelfType","RubyBreaker/TypeDefs/SelfType.html#method-c-set_self","(mod)","<p>This is a setter method for class variable mod. NOTE: It is set every time\nBroken module is included. …\n"],["set_to","RubyBreaker::Runtime::MonitorSwitch","RubyBreaker/Runtime/MonitorSwitch.html#method-i-set_to","(mode)",""],["setup","RubyBreaker::Main","RubyBreaker/Main.html#method-c-setup","()","<p>This method is the trigger point to install a monitor in each module/class.\n"],["setup","RubyBreaker::TestCase","RubyBreaker/TestCase.html#method-c-setup","()",""],["short_msg","RubyBreaker::Debug","RubyBreaker/Debug.html#method-c-short_msg","(text)",""],["subclass_rel?","RubyBreaker::RubyTypeUtils","RubyBreaker/RubyTypeUtils.html#method-c-subclass_rel-3F","(lhs, rhs)","<p>Checks if lhs is a subclass of rhs\n"],["submodule_rel?","RubyBreaker::RubyTypeUtils","RubyBreaker/RubyTypeUtils.html#method-c-submodule_rel-3F","(lhs,rhs)","<p>Checks if lhs is a sub-module of rhs\n"],["subtype_of?","RubyBreaker::TypeDefs::Type","RubyBreaker/TypeDefs/Type.html#method-i-subtype_of-3F","(rhs)","<p>This is a shorthand for calling Typing.subtype_rel?\n"],["subtype_rel?","RubyBreaker::Typing","RubyBreaker/Typing.html#method-c-subtype_rel-3F","(lhs, rhs)","<p>This method determines if one type is a subtype of another. This check is\nfor RubyBreaker defined types. …\n"],["suppress_warning","RubyBreaker::Kernel","RubyBreaker/Kernel.html#method-i-suppress_warning","()",""],["teardown","RubyBreaker::TestCase","RubyBreaker/TestCase.html#method-c-teardown","()",""],["to_s","RubyBreaker::ObjectPosition","RubyBreaker/ObjectPosition.html#method-i-to_s","()",""],["to_s","RubyBreaker::Position","RubyBreaker/Position.html#method-i-to_s","()",""],["token","RubyBreaker::Debug","RubyBreaker/Debug.html#method-c-token","(msg)",""],["turn_off","RubyBreaker::Runtime::MonitorSwitch","RubyBreaker/Runtime/MonitorSwitch.html#method-i-turn_off","()",""],["turn_on","RubyBreaker::Runtime::MonitorSwitch","RubyBreaker/Runtime/MonitorSwitch.html#method-i-turn_on","()",""],["typesig","RubyBreaker::Broken::BrokenEigen","RubyBreaker/Broken/BrokenEigen.html#method-i-typesig","(str)","<p>This method can be used at the eigen level of the target module to specify\nthe type of a method.\n"],["underscore","RubyBreaker::Utilities","RubyBreaker/Utilities.html#method-c-underscore","(camel_cased_word)","<p>File activesupport/lib/active_support/inflector/methods.rb, line 48\n"],["unparse","RubyBreaker::TypeDefs::Type","RubyBreaker/TypeDefs/Type.html#method-i-unparse","()","<p>This method unparses the type using the pretty print method.\n"],["unparse","RubyBreaker::TypeUnparser","RubyBreaker/TypeUnparser.html#method-c-unparse","(t)","<p>This method is used to display any RubyBreaker type in a user-friendly way\nusing the pretty print method. …\n"]]}}
|
1
|
+
var search_data = {"index":{"searchIndex":["rubybreaker","breakable","broken","brokeneigen","context","errors","internalerror","invalidsubtypecheck","invalidtypeconstruction","subtypefailure","typeerror","usererror","main","objectposition","position","rubytypeutils","runtime","inspector","methodinfo","monitor","monitorinstaller","monitorswitch","monitorutils","objectwrapper","pluggable","typeplaceholder","typesigparser","typesystem","testcase","typecomparer","typedefs","anytype","blocktype","ducktype","fusiontype","methodlisttype","methodtype","niltype","nominaltype","optionaltype","ortype","selftype","type","varlengthtype","typeunparser","typing","util","__rubybreaker_obj()","__rubybreaker_type()","add_meth()","after_method()","after_method_call()","before_method()","before_method_call()","camelize()","compare()","convert_caller_to_pos()","eql?()","error()","format_with_msg()","get()","get_alt_meth_name()","get_orig_meth_name()","get_self()","included()","included()","included()","input()","inspect_all()","inspect_class_meth()","inspect_meth()","inspect_meths()","install_module_monitor()","is_module?()","is_object_wrapped?()","log()","lub()","lub_helper()","method_missing()","mod()","monitor()","monitor_after_method()","monitor_before_method()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","new()","output()","parse()","pop()","pp_methods()","pp_module()","push()","rename_meth()","respond_to?()","route()","run()","set()","set_self()","set_to()","setup()","setup()","subclass_rel?()","submodule_rel?()","subtype_of?()","subtype_rel?()","teardown()","to_s()","to_s()","turn_off()","turn_on()","typesig()","underscore()","unparse()","unparse()","verbose()"],"longSearchIndex":["rubybreaker","rubybreaker::breakable","rubybreaker::broken","rubybreaker::broken::brokeneigen","rubybreaker::context","rubybreaker::errors","rubybreaker::errors::internalerror","rubybreaker::errors::invalidsubtypecheck","rubybreaker::errors::invalidtypeconstruction","rubybreaker::errors::subtypefailure","rubybreaker::errors::typeerror","rubybreaker::errors::usererror","rubybreaker::main","rubybreaker::objectposition","rubybreaker::position","rubybreaker::rubytypeutils","rubybreaker::runtime","rubybreaker::runtime::inspector","rubybreaker::runtime::methodinfo","rubybreaker::runtime::monitor","rubybreaker::runtime::monitorinstaller","rubybreaker::runtime::monitorswitch","rubybreaker::runtime::monitorutils","rubybreaker::runtime::objectwrapper","rubybreaker::runtime::pluggable","rubybreaker::runtime::typeplaceholder","rubybreaker::runtime::typesigparser","rubybreaker::runtime::typesystem","rubybreaker::testcase","rubybreaker::typecomparer","rubybreaker::typedefs","rubybreaker::typedefs::anytype","rubybreaker::typedefs::blocktype","rubybreaker::typedefs::ducktype","rubybreaker::typedefs::fusiontype","rubybreaker::typedefs::methodlisttype","rubybreaker::typedefs::methodtype","rubybreaker::typedefs::niltype","rubybreaker::typedefs::nominaltype","rubybreaker::typedefs::optionaltype","rubybreaker::typedefs::ortype","rubybreaker::typedefs::selftype","rubybreaker::typedefs::type","rubybreaker::typedefs::varlengthtype","rubybreaker::typeunparser","rubybreaker::typing","rubybreaker::util","rubybreaker::runtime::objectwrapper#__rubybreaker_obj()","rubybreaker::runtime::objectwrapper#__rubybreaker_type()","rubybreaker::typedefs::ducktype#add_meth()","rubybreaker::runtime::typesystem#after_method()","rubybreaker::runtime::pluggable#after_method_call()","rubybreaker::runtime::typesystem#before_method()","rubybreaker::runtime::pluggable#before_method_call()","rubybreaker::util::camelize()","rubybreaker::typecomparer::compare()","rubybreaker::position::convert_caller_to_pos()","rubybreaker::typedefs::type#eql?()","rubybreaker::error()","rubybreaker::context#format_with_msg()","rubybreaker::position::get()","rubybreaker::runtime::monitorutils::get_alt_meth_name()","rubybreaker::runtime::monitorutils::get_orig_meth_name()","rubybreaker::typedefs::selftype::get_self()","rubybreaker::breakable::included()","rubybreaker::broken::included()","rubybreaker::testcase::included()","rubybreaker::main::input()","rubybreaker::runtime::inspector::inspect_all()","rubybreaker::runtime::inspector::inspect_class_meth()","rubybreaker::runtime::inspector::inspect_meth()","rubybreaker::runtime::inspector::inspect_meths()","rubybreaker::runtime::monitorinstaller::install_module_monitor()","rubybreaker::runtime::monitorinstaller::is_module?()","rubybreaker::runtime::typesystem#is_object_wrapped?()","rubybreaker::log()","rubybreaker::runtime::typesystem#lub()","rubybreaker::runtime::typesystem#lub_helper()","rubybreaker::runtime::objectwrapper#method_missing()","rubybreaker::typedefs::fusiontype#mod()","rubybreaker::monitor()","rubybreaker::runtime::monitor#monitor_after_method()","rubybreaker::runtime::monitor#monitor_before_method()","rubybreaker::context::new()","rubybreaker::errors::internalerror::new()","rubybreaker::errors::invalidsubtypecheck::new()","rubybreaker::errors::usererror::new()","rubybreaker::objectposition::new()","rubybreaker::position::new()","rubybreaker::runtime::methodinfo::new()","rubybreaker::runtime::monitor::new()","rubybreaker::runtime::monitorswitch::new()","rubybreaker::runtime::objectwrapper::new()","rubybreaker::runtime::typeplaceholder::new()","rubybreaker::typedefs::anytype::new()","rubybreaker::typedefs::blocktype::new()","rubybreaker::typedefs::ducktype::new()","rubybreaker::typedefs::fusiontype::new()","rubybreaker::typedefs::methodlisttype::new()","rubybreaker::typedefs::methodtype::new()","rubybreaker::typedefs::niltype::new()","rubybreaker::typedefs::nominaltype::new()","rubybreaker::typedefs::optionaltype::new()","rubybreaker::typedefs::ortype::new()","rubybreaker::typedefs::selftype::new()","rubybreaker::typedefs::type::new()","rubybreaker::typedefs::varlengthtype::new()","rubybreaker::main::output()","rubybreaker::runtime::typesigparser::parse()","rubybreaker::context#pop()","rubybreaker::main::pp_methods()","rubybreaker::main::pp_module()","rubybreaker::context#push()","rubybreaker::runtime::monitorinstaller::rename_meth()","rubybreaker::runtime::objectwrapper#respond_to?()","rubybreaker::runtime::monitorutils::route()","rubybreaker::main::run()","rubybreaker::position::set()","rubybreaker::typedefs::selftype::set_self()","rubybreaker::runtime::monitorswitch#set_to()","rubybreaker::main::setup()","rubybreaker::testcase::setup()","rubybreaker::rubytypeutils::subclass_rel?()","rubybreaker::rubytypeutils::submodule_rel?()","rubybreaker::typedefs::type#subtype_of?()","rubybreaker::typing::subtype_rel?()","rubybreaker::testcase::teardown()","rubybreaker::objectposition#to_s()","rubybreaker::position#to_s()","rubybreaker::runtime::monitorswitch#turn_off()","rubybreaker::runtime::monitorswitch#turn_on()","rubybreaker::broken::brokeneigen#typesig()","rubybreaker::util::underscore()","rubybreaker::typedefs::type#unparse()","rubybreaker::typeunparser::unparse()","rubybreaker::verbose()"],"info":[["RubyBreaker","","RubyBreaker.html","","<p>-\n\n<pre>This file contains utility functions that are useful for the Runtime\nLibrary.</pre>\n<p>RubyBreaker is a dynamic …\n"],["RubyBreaker::Breakable","","RubyBreaker/Breakable.html","","<p>This module should be included in classes or modules that you want to\nmonitor during runtime. The concept …\n"],["RubyBreaker::Broken","","RubyBreaker/Broken.html","","<p>This module is included for “broken” classes.\n"],["RubyBreaker::Broken::BrokenEigen","","RubyBreaker/Broken/BrokenEigen.html","","<p>-\n\n<pre class=\"ruby\"><span class=\"ruby-constant\">This</span> <span class=\"ruby-keyword\">module</span> <span class=\"ruby-identifier\">will</span> <span class=\"ruby-identifier\">be</span> <span class=\"ruby-string\">"extended"</span> <span class=\"ruby-identifier\">to</span> <span class=\"ruby-identifier\">the</span> <span class=\"ruby-identifier\">eigen</span> <span class=\"ruby-keyword\">class</span> <span class=\"ruby-identifier\">of</span> <span class=\"ruby-identifier\">the</span> <span class=\"ruby-keyword\">class</span> <span class=\"ruby-identifier\">that</span> \n<span class=\"ruby-identifier\">includes</span> <span class=\"ruby-constant\">Broken</span> <span class=\"ruby-keyword\">module</span>. <span class=\"ruby-constant\">This</span> <span class=\"ruby-identifier\">allows</span> <span class=\"ruby-operator\">...</span>\n</pre>\n"],["RubyBreaker::Context","","RubyBreaker/Context.html","","<p>This class represents a context which consists of one or more positions. A\nposition can refer to a physical …\n"],["RubyBreaker::Errors","","RubyBreaker/Errors.html","","<p>This module contains errors used by RubyBreaker.\n"],["RubyBreaker::Errors::InternalError","","RubyBreaker/Errors/InternalError.html","","<p>This class is a base class for any internal errors. It should be used to\ninform the faults within the …\n"],["RubyBreaker::Errors::InvalidSubtypeCheck","","RubyBreaker/Errors/InvalidSubtypeCheck.html","","<p>This error is thrown when a subtype check is not even appropriate for two\ngiven types. It should NOT …\n"],["RubyBreaker::Errors::InvalidTypeConstruction","","RubyBreaker/Errors/InvalidTypeConstruction.html","","<p>This error is thrown when a type is constructed with invalid elements.\n"],["RubyBreaker::Errors::SubtypeFailure","","RubyBreaker/Errors/SubtypeFailure.html","",""],["RubyBreaker::Errors::TypeError","","RubyBreaker/Errors/TypeError.html","",""],["RubyBreaker::Errors::UserError","","RubyBreaker/Errors/UserError.html","","<p>This class is a base class for any user errors. Unlike internal error, it\nshould use a Context to inform …\n"],["RubyBreaker::Main","","RubyBreaker/Main.html","","<p>This module has a set of entry points to the program and misc. methods for\nrunning RubyBreaker.\n"],["RubyBreaker::ObjectPosition","","RubyBreaker/ObjectPosition.html","","<p>This class represents a position with respect to an object and the name of\na method being invoked.\n"],["RubyBreaker::Position","","RubyBreaker/Position.html","","<p>This class represents a position of the type acquired from either the type\nsignature or code during runtime. …\n"],["RubyBreaker::RubyTypeUtils","","RubyBreaker/RubyTypeUtils.html","",""],["RubyBreaker::Runtime","","RubyBreaker/Runtime.html","",""],["RubyBreaker::Runtime::Inspector","","RubyBreaker/Runtime/Inspector.html","","<p>This module inspects a Breakable module, a Broken module, or a hybrid\nmodule to fetch the type information …\n"],["RubyBreaker::Runtime::MethodInfo","","RubyBreaker/Runtime/MethodInfo.html","","<p>This class has information (and data) of the method being called. Used by\nPluggable and Monitor\n"],["RubyBreaker::Runtime::Monitor","","RubyBreaker/Runtime/Monitor.html","","<p>This class monitors method calls before and after. It simply reroutes the\nresponsibility to the appropriate …\n"],["RubyBreaker::Runtime::MonitorInstaller","","RubyBreaker/Runtime/MonitorInstaller.html","","<p>This module installs a monitor in the object.\n"],["RubyBreaker::Runtime::MonitorSwitch","","RubyBreaker/Runtime/MonitorSwitch.html","","<p>This class is a switch to turn on and off the type monitoring system. It is\nimportant to turn off the …\n"],["RubyBreaker::Runtime::MonitorUtils","","RubyBreaker/Runtime/MonitorUtils.html","","<p>This module contains helper methods for monitoring objects and modules.\n"],["RubyBreaker::Runtime::ObjectWrapper","","RubyBreaker/Runtime/ObjectWrapper.html","","<p>This class represents the shell object that wraps around another object. \nNote that it is a subclass …\n"],["RubyBreaker::Runtime::Pluggable","","RubyBreaker/Runtime/Pluggable.html","","<p>Any Pluggable module can be “plugged” into the RubyBreaker monitoring\nsystem. For example, …\n"],["RubyBreaker::Runtime::TypePlaceholder","","RubyBreaker/Runtime/TypePlaceholder.html","","<p>This class is a placeholder for method types\n"],["RubyBreaker::Runtime::TypeSigParser","","RubyBreaker/Runtime/TypeSigParser.html","",""],["RubyBreaker::Runtime::TypeSystem","","RubyBreaker/Runtime/TypeSystem.html","","<p>This is the default type system for RubyBreaker. It can be overridden by a\nuser specified type system. …\n"],["RubyBreaker::TestCase","","RubyBreaker/TestCase.html","","<p>This module overrides the normal behavior of Ruby Stdlib’s TestCase class.\n"],["RubyBreaker::TypeComparer","","RubyBreaker/TypeComparer.html","","<p>This module compares two RubyBreaker-defined types for the syntactic\nequivalence.\n"],["RubyBreaker::TypeDefs","","RubyBreaker/TypeDefs.html","","<p>This module contains all RubyBreaker type definitions. This module has to\nbe included to the module if …\n"],["RubyBreaker::TypeDefs::AnyType","","RubyBreaker/TypeDefs/AnyType.html","","<p>This type can represent any object\n"],["RubyBreaker::TypeDefs::BlockType","","RubyBreaker/TypeDefs/BlockType.html","","<p>This class represents a block (in a method). It has zero or more argument \ntypes, nested block type (optional), …\n"],["RubyBreaker::TypeDefs::DuckType","","RubyBreaker/TypeDefs/DuckType.html","","<p>This class represents any object with certain methods Usage: [m1,m2,…]\nwhere m1…mn are method names …\n"],["RubyBreaker::TypeDefs::FusionType","","RubyBreaker/TypeDefs/FusionType.html","","<p>This class represents any object that has certain methods whose types are\nsame as the given nominal type’s …\n"],["RubyBreaker::TypeDefs::MethodListType","","RubyBreaker/TypeDefs/MethodListType.html","","<p>This class represents multiple method types.\n"],["RubyBreaker::TypeDefs::MethodType","","RubyBreaker/TypeDefs/MethodType.html","","<p>This class represents a method and is essentially same as block type \nexcept the method name.\n"],["RubyBreaker::TypeDefs::NilType","","RubyBreaker/TypeDefs/NilType.html","","<p>This type represents a nil\n"],["RubyBreaker::TypeDefs::NominalType","","RubyBreaker/TypeDefs/NominalType.html","","<p>This class represents a concrete object like a Numeric or String. It \nstores the actual module in the …\n"],["RubyBreaker::TypeDefs::OptionalType","","RubyBreaker/TypeDefs/OptionalType.html","","<p>This class respresents an optional argument type\n"],["RubyBreaker::TypeDefs::OrType","","RubyBreaker/TypeDefs/OrType.html","","<p>This class represents one of many types\n"],["RubyBreaker::TypeDefs::SelfType","","RubyBreaker/TypeDefs/SelfType.html","","<p>This type represents the self type. Note that this is a subclass of Nominal\nType. It works just like …\n"],["RubyBreaker::TypeDefs::Type","","RubyBreaker/TypeDefs/Type.html","","<p>This class is a catch-all. The constructor of this class must be called\nfrom children via super() in …\n"],["RubyBreaker::TypeDefs::VarLengthType","","RubyBreaker/TypeDefs/VarLengthType.html","","<p>This class represents a variable-length argument type\n"],["RubyBreaker::TypeUnparser","","RubyBreaker/TypeUnparser.html","","<p>This module prints the RubyBreaker types in a user-friendly way.\n"],["RubyBreaker::Typing","","RubyBreaker/Typing.html","","<p>This module contains subtyping logic used in RubyBreaker. See\n<em>rubytype.rb</em> for logic related to subclassing …\n"],["RubyBreaker::Util","","RubyBreaker/Util.html","","<p>This module has utility functions that are useful across all components in\nthe project.\n"],["__rubybreaker_obj","RubyBreaker::Runtime::ObjectWrapper","RubyBreaker/Runtime/ObjectWrapper.html#method-i-__rubybreaker_obj","()","<p>This method returns the original object.\n"],["__rubybreaker_type","RubyBreaker::Runtime::ObjectWrapper","RubyBreaker/Runtime/ObjectWrapper.html#method-i-__rubybreaker_type","()","<p>This method returns the type gathered so far for this object.\n"],["add_meth","RubyBreaker::TypeDefs::DuckType","RubyBreaker/TypeDefs/DuckType.html#method-i-add_meth","(meth_name)",""],["after_method","RubyBreaker::Runtime::TypeSystem","RubyBreaker/Runtime/TypeSystem.html#method-i-after_method","(obj, meth_info)","<p>This method occurs after every “monitored” method call. It updates the type\ninformation.\n"],["after_method_call","RubyBreaker::Runtime::Pluggable","RubyBreaker/Runtime/Pluggable.html#method-i-after_method_call","(obj, meth_info)","<p>This method will be invoked right after the actual method is invoked.\n<p>obj — the receiver of the method call …\n"],["before_method","RubyBreaker::Runtime::TypeSystem","RubyBreaker/Runtime/TypeSystem.html#method-i-before_method","(obj, meth_info)","<p>This method occurs before every “monitored” method call. It wraps each\nargument with the object …\n"],["before_method_call","RubyBreaker::Runtime::Pluggable","RubyBreaker/Runtime/Pluggable.html#method-i-before_method_call","(obj, meth_info)","<p>This method will be invoked right before the actual method is invoked.\n<p>obj — the receiver of the method …\n"],["camelize","RubyBreaker::Util","RubyBreaker/Util.html#method-c-camelize","(lower_case_and_underscored_word, first_letter_in_uppercase = true)","<p>File activesupport/lib/active_support/inflector/methods.rb\n"],["compare","RubyBreaker::TypeComparer","RubyBreaker/TypeComparer.html#method-c-compare","(lhs,rhs)","<p>This equal method determines whether two types are\n<strong>syntactically</strong> equivalent. Note that this is NOT a …\n"],["convert_caller_to_pos","RubyBreaker::Position","RubyBreaker/Position.html#method-c-convert_caller_to_pos","(caller_ary, idx=0)","<p>This class method is a utility function to convert a string in the caller()\narray.\n"],["eql?","RubyBreaker::TypeDefs::Type","RubyBreaker/TypeDefs/Type.html#method-i-eql-3F","(other)","<p>This method compares this object to another object syntactically.\n"],["error","RubyBreaker","RubyBreaker.html#method-c-error","(err, level=:error, &blk)","<p>This method is for reporting an error to the user. It will immediately show\nthe error message but also …\n"],["format_with_msg","RubyBreaker::Context","RubyBreaker/Context.html#method-i-format_with_msg","(pp,msg=\"\")",""],["get","RubyBreaker::Position","RubyBreaker/Position.html#method-c-get","()","<p>This class method returns a new position object for the current parsing\nposition.\n"],["get_alt_meth_name","RubyBreaker::Runtime::MonitorUtils","RubyBreaker/Runtime/MonitorUtils.html#method-c-get_alt_meth_name","(meth_name)","<p>This method returns the alternative (renamed) method name\n"],["get_orig_meth_name","RubyBreaker::Runtime::MonitorUtils","RubyBreaker/Runtime/MonitorUtils.html#method-c-get_orig_meth_name","(meth_name)","<p>This method returns the original method name\n"],["get_self","RubyBreaker::TypeDefs::SelfType","RubyBreaker/TypeDefs/SelfType.html#method-c-get_self","(mod)","<p>This is a getter method for class variable mod.\n"],["included","RubyBreaker::Breakable","RubyBreaker/Breakable.html#method-c-included","(mod)","<p>Simply keep track of this module and its eigen class so they are monitored\nlater on.\n"],["included","RubyBreaker::Broken","RubyBreaker/Broken.html#method-c-included","(mod)","<p>This method is triggered when Broken module is included. This just extends\nBrokenEigen into the target …\n"],["included","RubyBreaker::TestCase","RubyBreaker/TestCase.html#method-c-included","(mod)",""],["input","RubyBreaker::Main","RubyBreaker/Main.html#method-c-input","()","<p>Reads the input file if specified or exists\n"],["inspect_all","RubyBreaker::Runtime::Inspector","RubyBreaker/Runtime/Inspector.html#method-c-inspect_all","(mod)","<p>This method inspects the module for all methods. It returns a Hash\ncontaining (method name, method type) …\n"],["inspect_class_meth","RubyBreaker::Runtime::Inspector","RubyBreaker/Runtime/Inspector.html#method-c-inspect_class_meth","(mod, mname)","<p>This method inspects the module for the specified class method name. This\nis a shorthand for calling …\n"],["inspect_meth","RubyBreaker::Runtime::Inspector","RubyBreaker/Runtime/Inspector.html#method-c-inspect_meth","(mod, mname)","<p>This method inspects the module for the type of the specified method. It\nreturns the method type or method …\n"],["inspect_meths","RubyBreaker::Runtime::Inspector","RubyBreaker/Runtime/Inspector.html#method-c-inspect_meths","(mod, mnames)","<p>Similar to inspect_meth but returns a hash of (mname, mtype) pairs.\n"],["install_module_monitor","RubyBreaker::Runtime::MonitorInstaller","RubyBreaker/Runtime/MonitorInstaller.html#method-c-install_module_monitor","(mod)","<p>Installs an module (class) monitor to the object.\n"],["is_module?","RubyBreaker::Runtime::MonitorInstaller","RubyBreaker/Runtime/MonitorInstaller.html#method-c-is_module-3F","(recv)","<p>returns true if the receiver is a module or a class\n"],["is_object_wrapped?","RubyBreaker::Runtime::TypeSystem","RubyBreaker/Runtime/TypeSystem.html#method-i-is_object_wrapped-3F","(obj)","<p>Check if the object is wrapped by a monitor\n"],["log","RubyBreaker","RubyBreaker.html#method-c-log","(str, level=:debug, context=nil, &blk)","<p>This method logs a non-error (or error) message but with the provided\ncontext.\n"],["lub","RubyBreaker::Runtime::TypeSystem","RubyBreaker/Runtime/TypeSystem.html#method-i-lub","(obj, meth_type_map, meth_name, retval, *args, &blk)","<p>This method computes the least upper bound of the existing method type and\nnewly observed argument/block/return …\n"],["lub_helper","RubyBreaker::Runtime::TypeSystem","RubyBreaker/Runtime/TypeSystem.html#method-i-lub_helper","(exist_meth_type, new_meth_type)","<p>This method is a helper for computing the least upper bound. It handles the\ncase where existing method …\n"],["method_missing","RubyBreaker::Runtime::ObjectWrapper","RubyBreaker/Runtime/ObjectWrapper.html#method-i-method_missing","(mname,*args,&blk)","<p>This method missing method redirects all other method calls.\n"],["mod","RubyBreaker::TypeDefs::FusionType","RubyBreaker/TypeDefs/FusionType.html#method-i-mod","()","<p>This method gets the actual module of the nominal type for this fusion\ntype. This is a shorthand for …\n"],["monitor","RubyBreaker","RubyBreaker.html#method-c-monitor","()","<p>This is the manual indicator for the program entry point. It simply\nredirects to the monitor setup code. …\n"],["monitor_after_method","RubyBreaker::Runtime::Monitor","RubyBreaker/Runtime/Monitor.html#method-i-monitor_after_method","(obj, meth_info)","<p>This method is invoked after the actual method is invoked.\n"],["monitor_before_method","RubyBreaker::Runtime::Monitor","RubyBreaker/Runtime/Monitor.html#method-i-monitor_before_method","(obj, meth_info)","<p>Starts monitoring of a method; it wraps each argument so that they can\ngather type information in the …\n"],["new","RubyBreaker::Context","RubyBreaker/Context.html#method-c-new","(pos)",""],["new","RubyBreaker::Errors::InternalError","RubyBreaker/Errors/InternalError.html#method-c-new","(msg)",""],["new","RubyBreaker::Errors::InvalidSubtypeCheck","RubyBreaker/Errors/InvalidSubtypeCheck.html#method-c-new","(msg,pos=nil)",""],["new","RubyBreaker::Errors::UserError","RubyBreaker/Errors/UserError.html#method-c-new","(msg, ctx)",""],["new","RubyBreaker::ObjectPosition","RubyBreaker/ObjectPosition.html#method-c-new","(obj, meth_name)",""],["new","RubyBreaker::Position","RubyBreaker/Position.html#method-c-new","(file=\"\",line=-1,col=-1,meth=\"\")",""],["new","RubyBreaker::Runtime::MethodInfo","RubyBreaker/Runtime/MethodInfo.html#method-c-new","(meth_name, args, blk, ret)",""],["new","RubyBreaker::Runtime::Monitor","RubyBreaker/Runtime/Monitor.html#method-c-new","(mod, pluggable)",""],["new","RubyBreaker::Runtime::MonitorSwitch","RubyBreaker/Runtime/MonitorSwitch.html#method-c-new","()",""],["new","RubyBreaker::Runtime::ObjectWrapper","RubyBreaker/Runtime/ObjectWrapper.html#method-c-new","(obj)",""],["new","RubyBreaker::Runtime::TypePlaceholder","RubyBreaker/Runtime/TypePlaceholder.html#method-c-new","()",""],["new","RubyBreaker::TypeDefs::AnyType","RubyBreaker/TypeDefs/AnyType.html#method-c-new","(*args)",""],["new","RubyBreaker::TypeDefs::BlockType","RubyBreaker/TypeDefs/BlockType.html#method-c-new","(arg_types=[],blk_type=nil,ret_type=nil,*args)",""],["new","RubyBreaker::TypeDefs::DuckType","RubyBreaker/TypeDefs/DuckType.html#method-c-new","(meth_names=[],*args)",""],["new","RubyBreaker::TypeDefs::FusionType","RubyBreaker/TypeDefs/FusionType.html#method-c-new","(nom_type,meth_names=[],*args)",""],["new","RubyBreaker::TypeDefs::MethodListType","RubyBreaker/TypeDefs/MethodListType.html#method-c-new","(types=[],*args)",""],["new","RubyBreaker::TypeDefs::MethodType","RubyBreaker/TypeDefs/MethodType.html#method-c-new","(meth_name,arg_types=[],blk_type=nil,ret_type=nil,*args)",""],["new","RubyBreaker::TypeDefs::NilType","RubyBreaker/TypeDefs/NilType.html#method-c-new","(*args)",""],["new","RubyBreaker::TypeDefs::NominalType","RubyBreaker/TypeDefs/NominalType.html#method-c-new","(mod=nil,*args)",""],["new","RubyBreaker::TypeDefs::OptionalType","RubyBreaker/TypeDefs/OptionalType.html#method-c-new","(type,*args)",""],["new","RubyBreaker::TypeDefs::OrType","RubyBreaker/TypeDefs/OrType.html#method-c-new","(types=[],*args)",""],["new","RubyBreaker::TypeDefs::SelfType","RubyBreaker/TypeDefs/SelfType.html#method-c-new","(*args)",""],["new","RubyBreaker::TypeDefs::Type","RubyBreaker/TypeDefs/Type.html#method-c-new","(*args)",""],["new","RubyBreaker::TypeDefs::VarLengthType","RubyBreaker/TypeDefs/VarLengthType.html#method-c-new","(type,*args)",""],["output","RubyBreaker::Main","RubyBreaker/Main.html#method-c-output","()","<p>This method will generate the output.\n"],["parse","RubyBreaker::Runtime::TypeSigParser","RubyBreaker/Runtime/TypeSigParser.html#method-c-parse","(str)","<p>This is a simple redirecting method for parsing type signature. The only\nspecial thing about this method …\n"],["pop","RubyBreaker::Context","RubyBreaker/Context.html#method-i-pop","()",""],["pp_methods","RubyBreaker::Main","RubyBreaker/Main.html#method-c-pp_methods","(pp, meth_type_map)","<p>Pretty prints type information for methods\n"],["pp_module","RubyBreaker::Main","RubyBreaker/Main.html#method-c-pp_module","(pp, mod)","<p>Pretty prints type information for the module/class\n"],["push","RubyBreaker::Context","RubyBreaker/Context.html#method-i-push","(pos)",""],["rename_meth","RubyBreaker::Runtime::MonitorInstaller","RubyBreaker/Runtime/MonitorInstaller.html#method-c-rename_meth","(recv, meth_name)","<p>renames the method in essence; this method also “installs” the module\nmonitor for the class …\n"],["respond_to?","RubyBreaker::Runtime::ObjectWrapper","RubyBreaker/Runtime/ObjectWrapper.html#method-i-respond_to-3F","(mname)","<p>Only behave differently if it’s looking for <code>WRAPPED_INDICATOR</code>\nmethod\n"],["route","RubyBreaker::Runtime::MonitorUtils","RubyBreaker/Runtime/MonitorUtils.html#method-c-route","(obj,meth_name,*args,&blk)","<p>This will do the actual routing work for a particular “monitored” method\ncall.\n<p>obj — is the object …\n"],["run","RubyBreaker::Main","RubyBreaker/Main.html#method-c-run","()","<p>This method will run do things in the following order:\n\n<pre>* Checks to see if the user program and an input ...</pre>\n"],["set","RubyBreaker::Position","RubyBreaker/Position.html#method-c-set","(file,line,col)","<p>This class method is to set the current parsing position.\n"],["set_self","RubyBreaker::TypeDefs::SelfType","RubyBreaker/TypeDefs/SelfType.html#method-c-set_self","(mod)","<p>This is a setter method for class variable mod. NOTE: It is set every time\nBroken module is included. …\n"],["set_to","RubyBreaker::Runtime::MonitorSwitch","RubyBreaker/Runtime/MonitorSwitch.html#method-i-set_to","(mode)",""],["setup","RubyBreaker::Main","RubyBreaker/Main.html#method-c-setup","()","<p>This method is the trigger point to install a monitor in each module/class.\n"],["setup","RubyBreaker::TestCase","RubyBreaker/TestCase.html#method-c-setup","()",""],["subclass_rel?","RubyBreaker::RubyTypeUtils","RubyBreaker/RubyTypeUtils.html#method-c-subclass_rel-3F","(lhs, rhs)","<p>Checks if lhs is a subclass of rhs\n"],["submodule_rel?","RubyBreaker::RubyTypeUtils","RubyBreaker/RubyTypeUtils.html#method-c-submodule_rel-3F","(lhs,rhs)","<p>Checks if lhs is a sub-module of rhs\n"],["subtype_of?","RubyBreaker::TypeDefs::Type","RubyBreaker/TypeDefs/Type.html#method-i-subtype_of-3F","(rhs)","<p>This is a shorthand for calling Typing.subtype_rel?\n"],["subtype_rel?","RubyBreaker::Typing","RubyBreaker/Typing.html#method-c-subtype_rel-3F","(lhs, rhs)","<p>This method determines if one type is a subtype of another. This check is\nfor RubyBreaker defined types. …\n"],["teardown","RubyBreaker::TestCase","RubyBreaker/TestCase.html#method-c-teardown","()",""],["to_s","RubyBreaker::ObjectPosition","RubyBreaker/ObjectPosition.html#method-i-to_s","()",""],["to_s","RubyBreaker::Position","RubyBreaker/Position.html#method-i-to_s","()",""],["turn_off","RubyBreaker::Runtime::MonitorSwitch","RubyBreaker/Runtime/MonitorSwitch.html#method-i-turn_off","()",""],["turn_on","RubyBreaker::Runtime::MonitorSwitch","RubyBreaker/Runtime/MonitorSwitch.html#method-i-turn_on","()",""],["typesig","RubyBreaker::Broken::BrokenEigen","RubyBreaker/Broken/BrokenEigen.html#method-i-typesig","(str)","<p>This method can be used at the eigen level of the target module to specify\nthe type of a method.\n"],["underscore","RubyBreaker::Util","RubyBreaker/Util.html#method-c-underscore","(camel_cased_word)","<p>File activesupport/lib/active_support/inflector/methods.rb, line 48\n"],["unparse","RubyBreaker::TypeDefs::Type","RubyBreaker/TypeDefs/Type.html#method-i-unparse","()","<p>This method unparses the type using the pretty print method.\n"],["unparse","RubyBreaker::TypeUnparser","RubyBreaker/TypeUnparser.html#method-c-unparse","(t)","<p>This method is used to display any RubyBreaker type in a user-friendly way\nusing the pretty print method. …\n"],["verbose","RubyBreaker","RubyBreaker.html#method-c-verbose","(str, &blk)","<p>This method will display verbose message. It is not for debugging but to\ninform users of each stage in …\n"]]}}
|
@@ -40,9 +40,6 @@
|
|
40
40
|
</li>
|
41
41
|
<li class="class">
|
42
42
|
<a href="RubyBreaker/Context.html">RubyBreaker::Context</a>
|
43
|
-
</li>
|
44
|
-
<li class="module">
|
45
|
-
<a href="RubyBreaker/Debug.html">RubyBreaker::Debug</a>
|
46
43
|
</li>
|
47
44
|
<li class="module">
|
48
45
|
<a href="RubyBreaker/Errors.html">RubyBreaker::Errors</a>
|
@@ -64,9 +61,6 @@
|
|
64
61
|
</li>
|
65
62
|
<li class="class">
|
66
63
|
<a href="RubyBreaker/Errors/UserError.html">RubyBreaker::Errors::UserError</a>
|
67
|
-
</li>
|
68
|
-
<li class="module">
|
69
|
-
<a href="RubyBreaker/Kernel.html">RubyBreaker::Kernel</a>
|
70
64
|
</li>
|
71
65
|
<li class="module">
|
72
66
|
<a href="RubyBreaker/Main.html">RubyBreaker::Main</a>
|
@@ -171,7 +165,7 @@
|
|
171
165
|
<a href="RubyBreaker/Typing.html">RubyBreaker::Typing</a>
|
172
166
|
</li>
|
173
167
|
<li class="module">
|
174
|
-
<a href="RubyBreaker/
|
168
|
+
<a href="RubyBreaker/Util.html">RubyBreaker::Util</a>
|
175
169
|
</li>
|
176
170
|
|
177
171
|
</ul>
|
@@ -179,15 +173,13 @@
|
|
179
173
|
<h2 id="methods">Methods</h2>
|
180
174
|
<ul>
|
181
175
|
|
182
|
-
<li class="method"><a href="RubyBreaker/
|
176
|
+
<li class="method"><a href="RubyBreaker/Util.html#method-c-camelize">::camelize — RubyBreaker::Util</a>
|
183
177
|
|
184
178
|
<li class="method"><a href="RubyBreaker/TypeComparer.html#method-c-compare">::compare — RubyBreaker::TypeComparer</a>
|
185
179
|
|
186
180
|
<li class="method"><a href="RubyBreaker/Position.html#method-c-convert_caller_to_pos">::convert_caller_to_pos — RubyBreaker::Position</a>
|
187
181
|
|
188
|
-
<li class="method"><a href="RubyBreaker
|
189
|
-
|
190
|
-
<li class="method"><a href="RubyBreaker/Debug.html#method-c-feed_line">::feed_line — RubyBreaker::Debug</a>
|
182
|
+
<li class="method"><a href="RubyBreaker.html#method-c-error">::error — RubyBreaker</a>
|
191
183
|
|
192
184
|
<li class="method"><a href="RubyBreaker/Position.html#method-c-get">::get — RubyBreaker::Position</a>
|
193
185
|
|
@@ -197,10 +189,10 @@
|
|
197
189
|
|
198
190
|
<li class="method"><a href="RubyBreaker/TypeDefs/SelfType.html#method-c-get_self">::get_self — RubyBreaker::TypeDefs::SelfType</a>
|
199
191
|
|
200
|
-
<li class="method"><a href="RubyBreaker/Breakable.html#method-c-included">::included — RubyBreaker::Breakable</a>
|
201
|
-
|
202
192
|
<li class="method"><a href="RubyBreaker/TestCase.html#method-c-included">::included — RubyBreaker::TestCase</a>
|
203
193
|
|
194
|
+
<li class="method"><a href="RubyBreaker/Breakable.html#method-c-included">::included — RubyBreaker::Breakable</a>
|
195
|
+
|
204
196
|
<li class="method"><a href="RubyBreaker/Broken.html#method-c-included">::included — RubyBreaker::Broken</a>
|
205
197
|
|
206
198
|
<li class="method"><a href="RubyBreaker/Main.html#method-c-input">::input — RubyBreaker::Main</a>
|
@@ -217,29 +209,31 @@
|
|
217
209
|
|
218
210
|
<li class="method"><a href="RubyBreaker/Runtime/MonitorInstaller.html#method-c-is_module-3F">::is_module? — RubyBreaker::Runtime::MonitorInstaller</a>
|
219
211
|
|
220
|
-
<li class="method"><a href="RubyBreaker.html#method-c-
|
212
|
+
<li class="method"><a href="RubyBreaker.html#method-c-log">::log — RubyBreaker</a>
|
221
213
|
|
222
|
-
<li class="method"><a href="RubyBreaker
|
214
|
+
<li class="method"><a href="RubyBreaker.html#method-c-monitor">::monitor — RubyBreaker</a>
|
223
215
|
|
224
216
|
<li class="method"><a href="RubyBreaker/Position.html#method-c-new">::new — RubyBreaker::Position</a>
|
225
217
|
|
226
218
|
<li class="method"><a href="RubyBreaker/Runtime/ObjectWrapper.html#method-c-new">::new — RubyBreaker::Runtime::ObjectWrapper</a>
|
227
219
|
|
228
|
-
<li class="method"><a href="RubyBreaker/TypeDefs/
|
229
|
-
|
230
|
-
<li class="method"><a href="RubyBreaker/TypeDefs/BlockType.html#method-c-new">::new — RubyBreaker::TypeDefs::BlockType</a>
|
220
|
+
<li class="method"><a href="RubyBreaker/TypeDefs/VarLengthType.html#method-c-new">::new — RubyBreaker::TypeDefs::VarLengthType</a>
|
231
221
|
|
232
222
|
<li class="method"><a href="RubyBreaker/TypeDefs/MethodType.html#method-c-new">::new — RubyBreaker::TypeDefs::MethodType</a>
|
233
223
|
|
234
224
|
<li class="method"><a href="RubyBreaker/Runtime/MonitorSwitch.html#method-c-new">::new — RubyBreaker::Runtime::MonitorSwitch</a>
|
235
225
|
|
226
|
+
<li class="method"><a href="RubyBreaker/TypeDefs/BlockType.html#method-c-new">::new — RubyBreaker::TypeDefs::BlockType</a>
|
227
|
+
|
228
|
+
<li class="method"><a href="RubyBreaker/Runtime/MethodInfo.html#method-c-new">::new — RubyBreaker::Runtime::MethodInfo</a>
|
229
|
+
|
236
230
|
<li class="method"><a href="RubyBreaker/Runtime/TypePlaceholder.html#method-c-new">::new — RubyBreaker::Runtime::TypePlaceholder</a>
|
237
231
|
|
238
232
|
<li class="method"><a href="RubyBreaker/Runtime/Monitor.html#method-c-new">::new — RubyBreaker::Runtime::Monitor</a>
|
239
233
|
|
240
|
-
<li class="method"><a href="RubyBreaker/
|
234
|
+
<li class="method"><a href="RubyBreaker/TypeDefs/OrType.html#method-c-new">::new — RubyBreaker::TypeDefs::OrType</a>
|
241
235
|
|
242
|
-
<li class="method"><a href="RubyBreaker/
|
236
|
+
<li class="method"><a href="RubyBreaker/Errors/UserError.html#method-c-new">::new — RubyBreaker::Errors::UserError</a>
|
243
237
|
|
244
238
|
<li class="method"><a href="RubyBreaker/Errors/InvalidSubtypeCheck.html#method-c-new">::new — RubyBreaker::Errors::InvalidSubtypeCheck</a>
|
245
239
|
|
@@ -249,7 +243,7 @@
|
|
249
243
|
|
250
244
|
<li class="method"><a href="RubyBreaker/Context.html#method-c-new">::new — RubyBreaker::Context</a>
|
251
245
|
|
252
|
-
<li class="method"><a href="RubyBreaker/TypeDefs/
|
246
|
+
<li class="method"><a href="RubyBreaker/TypeDefs/DuckType.html#method-c-new">::new — RubyBreaker::TypeDefs::DuckType</a>
|
253
247
|
|
254
248
|
<li class="method"><a href="RubyBreaker/ObjectPosition.html#method-c-new">::new — RubyBreaker::ObjectPosition</a>
|
255
249
|
|
@@ -259,15 +253,13 @@
|
|
259
253
|
|
260
254
|
<li class="method"><a href="RubyBreaker/TypeDefs/NominalType.html#method-c-new">::new — RubyBreaker::TypeDefs::NominalType</a>
|
261
255
|
|
262
|
-
<li class="method"><a href="RubyBreaker/TypeDefs/
|
256
|
+
<li class="method"><a href="RubyBreaker/TypeDefs/FusionType.html#method-c-new">::new — RubyBreaker::TypeDefs::FusionType</a>
|
263
257
|
|
264
|
-
<li class="method"><a href="RubyBreaker/TypeDefs/
|
258
|
+
<li class="method"><a href="RubyBreaker/TypeDefs/MethodListType.html#method-c-new">::new — RubyBreaker::TypeDefs::MethodListType</a>
|
265
259
|
|
266
260
|
<li class="method"><a href="RubyBreaker/TypeDefs/SelfType.html#method-c-new">::new — RubyBreaker::TypeDefs::SelfType</a>
|
267
261
|
|
268
|
-
<li class="method"><a href="RubyBreaker/TypeDefs/
|
269
|
-
|
270
|
-
<li class="method"><a href="RubyBreaker/Runtime/MethodInfo.html#method-c-new">::new — RubyBreaker::Runtime::MethodInfo</a>
|
262
|
+
<li class="method"><a href="RubyBreaker/TypeDefs/OptionalType.html#method-c-new">::new — RubyBreaker::TypeDefs::OptionalType</a>
|
271
263
|
|
272
264
|
<li class="method"><a href="RubyBreaker/Main.html#method-c-output">::output — RubyBreaker::Main</a>
|
273
265
|
|
@@ -279,8 +271,6 @@
|
|
279
271
|
|
280
272
|
<li class="method"><a href="RubyBreaker/Runtime/MonitorInstaller.html#method-c-rename_meth">::rename_meth — RubyBreaker::Runtime::MonitorInstaller</a>
|
281
273
|
|
282
|
-
<li class="method"><a href="RubyBreaker/Runtime/MonitorInstaller.html#method-c-report">::report — RubyBreaker::Runtime::MonitorInstaller</a>
|
283
|
-
|
284
274
|
<li class="method"><a href="RubyBreaker/Runtime/MonitorUtils.html#method-c-route">::route — RubyBreaker::Runtime::MonitorUtils</a>
|
285
275
|
|
286
276
|
<li class="method"><a href="RubyBreaker/Main.html#method-c-run">::run — RubyBreaker::Main</a>
|
@@ -289,11 +279,9 @@
|
|
289
279
|
|
290
280
|
<li class="method"><a href="RubyBreaker/TypeDefs/SelfType.html#method-c-set_self">::set_self — RubyBreaker::TypeDefs::SelfType</a>
|
291
281
|
|
292
|
-
<li class="method"><a href="RubyBreaker/TestCase.html#method-c-setup">::setup — RubyBreaker::TestCase</a>
|
293
|
-
|
294
282
|
<li class="method"><a href="RubyBreaker/Main.html#method-c-setup">::setup — RubyBreaker::Main</a>
|
295
283
|
|
296
|
-
<li class="method"><a href="RubyBreaker/
|
284
|
+
<li class="method"><a href="RubyBreaker/TestCase.html#method-c-setup">::setup — RubyBreaker::TestCase</a>
|
297
285
|
|
298
286
|
<li class="method"><a href="RubyBreaker/RubyTypeUtils.html#method-c-subclass_rel-3F">::subclass_rel? — RubyBreaker::RubyTypeUtils</a>
|
299
287
|
|
@@ -303,12 +291,12 @@
|
|
303
291
|
|
304
292
|
<li class="method"><a href="RubyBreaker/TestCase.html#method-c-teardown">::teardown — RubyBreaker::TestCase</a>
|
305
293
|
|
306
|
-
<li class="method"><a href="RubyBreaker/
|
307
|
-
|
308
|
-
<li class="method"><a href="RubyBreaker/Utilities.html#method-c-underscore">::underscore — RubyBreaker::Utilities</a>
|
294
|
+
<li class="method"><a href="RubyBreaker/Util.html#method-c-underscore">::underscore — RubyBreaker::Util</a>
|
309
295
|
|
310
296
|
<li class="method"><a href="RubyBreaker/TypeUnparser.html#method-c-unparse">::unparse — RubyBreaker::TypeUnparser</a>
|
311
297
|
|
298
|
+
<li class="method"><a href="RubyBreaker.html#method-c-verbose">::verbose — RubyBreaker</a>
|
299
|
+
|
312
300
|
<li class="method"><a href="RubyBreaker/Runtime/ObjectWrapper.html#method-i-__rubybreaker_obj">#__rubybreaker_obj — RubyBreaker::Runtime::ObjectWrapper</a>
|
313
301
|
|
314
302
|
<li class="method"><a href="RubyBreaker/Runtime/ObjectWrapper.html#method-i-__rubybreaker_type">#__rubybreaker_type — RubyBreaker::Runtime::ObjectWrapper</a>
|
@@ -351,8 +339,6 @@
|
|
351
339
|
|
352
340
|
<li class="method"><a href="RubyBreaker/TypeDefs/Type.html#method-i-subtype_of-3F">#subtype_of? — RubyBreaker::TypeDefs::Type</a>
|
353
341
|
|
354
|
-
<li class="method"><a href="RubyBreaker/Kernel.html#method-i-suppress_warning">#suppress_warning — RubyBreaker::Kernel</a>
|
355
|
-
|
356
342
|
<li class="method"><a href="RubyBreaker/Position.html#method-i-to_s">#to_s — RubyBreaker::Position</a>
|
357
343
|
|
358
344
|
<li class="method"><a href="RubyBreaker/ObjectPosition.html#method-i-to_s">#to_s — RubyBreaker::ObjectPosition</a>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubybreaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: treetop
|
@@ -34,9 +34,10 @@ executables:
|
|
34
34
|
extensions: []
|
35
35
|
extra_rdoc_files: []
|
36
36
|
files:
|
37
|
-
- lib/rubybreaker/context.rb
|
37
|
+
- lib/rubybreaker/debug/context.rb
|
38
|
+
- lib/rubybreaker/debug/debug.rb
|
39
|
+
- lib/rubybreaker/debug/error.rb
|
38
40
|
- lib/rubybreaker/debug.rb
|
39
|
-
- lib/rubybreaker/error.rb
|
40
41
|
- lib/rubybreaker/rubylib/core.rb
|
41
42
|
- lib/rubybreaker/rubylib.rb
|
42
43
|
- lib/rubybreaker/runtime/inspector.rb
|
@@ -70,6 +71,7 @@ files:
|
|
70
71
|
- README.md
|
71
72
|
- TODO
|
72
73
|
- VERSION
|
74
|
+
- test/integrated/tc_both_broken_breakable.rb
|
73
75
|
- test/integrated/tc_class_methods.rb
|
74
76
|
- test/integrated/tc_inherit_broken.rb
|
75
77
|
- test/integrated/tc_method_missing.rb
|
@@ -127,7 +129,6 @@ files:
|
|
127
129
|
- webpage/rdoc/RubyBreaker/Broken/BrokenEigen.html
|
128
130
|
- webpage/rdoc/RubyBreaker/Broken.html
|
129
131
|
- webpage/rdoc/RubyBreaker/Context.html
|
130
|
-
- webpage/rdoc/RubyBreaker/Debug.html
|
131
132
|
- webpage/rdoc/RubyBreaker/Errors/InternalError.html
|
132
133
|
- webpage/rdoc/RubyBreaker/Errors/InvalidSubtypeCheck.html
|
133
134
|
- webpage/rdoc/RubyBreaker/Errors/InvalidTypeConstruction.html
|
@@ -135,7 +136,6 @@ files:
|
|
135
136
|
- webpage/rdoc/RubyBreaker/Errors/TypeError.html
|
136
137
|
- webpage/rdoc/RubyBreaker/Errors/UserError.html
|
137
138
|
- webpage/rdoc/RubyBreaker/Errors.html
|
138
|
-
- webpage/rdoc/RubyBreaker/Kernel.html
|
139
139
|
- webpage/rdoc/RubyBreaker/Main.html
|
140
140
|
- webpage/rdoc/RubyBreaker/ObjectPosition.html
|
141
141
|
- webpage/rdoc/RubyBreaker/Position.html
|
@@ -170,7 +170,7 @@ files:
|
|
170
170
|
- webpage/rdoc/RubyBreaker/TypeDefs.html
|
171
171
|
- webpage/rdoc/RubyBreaker/TypeUnparser.html
|
172
172
|
- webpage/rdoc/RubyBreaker/Typing.html
|
173
|
-
- webpage/rdoc/RubyBreaker/
|
173
|
+
- webpage/rdoc/RubyBreaker/Util.html
|
174
174
|
- webpage/rdoc/RubyBreaker.html
|
175
175
|
- webpage/rdoc/table_of_contents.html
|
176
176
|
- webpage/rubybreaker.css
|
@@ -180,6 +180,8 @@ licenses:
|
|
180
180
|
post_install_message:
|
181
181
|
rdoc_options:
|
182
182
|
- -x
|
183
|
+
- lib/rubybreaker/rubylib/core.rb
|
184
|
+
- -x
|
183
185
|
- lib/rubybreaker/type/type_grammar.rb
|
184
186
|
- lib
|
185
187
|
- LICENSE
|