Skip to content

Commit

Permalink
Implement TAB completion
Browse files Browse the repository at this point in the history
* kernel.js: Implemented `complete_request` handler

* sm.js: Updated `task` definition to allow the inspection of objects

* sm_server.js: Implemented action to inspect object properties
  • Loading branch information
n-riesco committed Feb 17, 2015
1 parent c406690 commit 3f9d669
Show file tree
Hide file tree
Showing 14 changed files with 812 additions and 97 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ misc/
node_modules/
res/.ipynb_checkpoints/
res/test.ipynb
res/test-complete.ipynb
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ misc/
node_modules/
res/.ipynb_checkpoints/
res/test.ipynb
res/test-complete.ipynb
133 changes: 132 additions & 1 deletion doc/jsdoc/Kernel.html
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,137 @@ <h3 class="subsection-title">Methods</h3>




<h4 class="name" id="complete_request"><span class="type-signature"></span>complete_request<span class="signature">(request)</span><span class="type-signature"></span></h4>





<div class="description">
Complete request
</div>









<h5>Parameters:</h5>


<table class="params">
<thead>
<tr>

<th>Name</th>


<th>Type</th>





<th class="last">Description</th>
</tr>
</thead>

<tbody>


<tr>

<td class="name"><code>request</code></td>


<td class="type">


<span class="param-type"><a href="Message.html">Message</a></span>



</td>





<td class="description last">Request message</td>
</tr>


</tbody>
</table>






<dl class="details">


























<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="kernel.js.html">kernel.js</a>, <a href="kernel.js.html#line263">line 263</a>
</li></ul></dd>







</dl>





















<h4 class="name" id="execute_request"><span class="type-signature"></span>execute_request<span class="signature">(request)</span><span class="type-signature"></span></h4>

Expand Down Expand Up @@ -919,7 +1050,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-sm
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-beta1</a> on Wed Feb 11 2015 18:49:25 GMT+0000 (GMT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-beta1</a> on Tue Feb 17 2015 17:36:24 GMT+0000 (GMT)
</footer>

<script> prettyPrint(); </script>
Expand Down
22 changes: 5 additions & 17 deletions doc/jsdoc/Message.html
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="kernel.js.html">kernel.js</a>, <a href="kernel.js.html#line244">line 244</a>
<a href="kernel.js.html">kernel.js</a>, <a href="kernel.js.html#line471">line 471</a>
</li></ul></dd>


Expand Down Expand Up @@ -288,7 +288,7 @@ <h3 class="subsection-title">Methods</h3>



<h4 class="name" id="parse"><span class="type-signature"></span>parse<span class="signature">(requestArguments<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
<h4 class="name" id="parse"><span class="type-signature"></span>parse<span class="signature">(requestArguments)</span><span class="type-signature"></span></h4>



Expand Down Expand Up @@ -319,8 +319,6 @@ <h5>Parameters:</h5>
<th>Type</th>


<th>Attributes</th>




Expand All @@ -346,16 +344,6 @@ <h5>Parameters:</h5>
</td>


<td class="attributes">

&lt;optional><br>





</td>




Expand Down Expand Up @@ -401,7 +389,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="kernel.js.html">kernel.js</a>, <a href="kernel.js.html#line269">line 269</a>
<a href="kernel.js.html">kernel.js</a>, <a href="kernel.js.html#line496">line 496</a>
</li></ul></dd>


Expand Down Expand Up @@ -578,7 +566,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="kernel.js.html">kernel.js</a>, <a href="kernel.js.html#line313">line 313</a>
<a href="kernel.js.html">kernel.js</a>, <a href="kernel.js.html#line540">line 540</a>
</li></ul></dd>


Expand Down Expand Up @@ -626,7 +614,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-sm
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-beta1</a> on Wed Feb 11 2015 18:49:25 GMT+0000 (GMT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-beta1</a> on Tue Feb 17 2015 17:36:24 GMT+0000 (GMT)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion doc/jsdoc/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
The IJavascript kernel is implemented by class `Kernel` in
[`kernel.js`](../../lib/kernel.js). This kernel makes use of the Javascript
sessions provided by module `sm` in [`sm.js`](../../lib/sm.js). This module
provides Javascript sessions by means of the `node.js` server implemented in
provides Javascript sessions by means of a `node.js` server implemented in
[`sm_server.js`](../../lib/sm_server.js).
4 changes: 2 additions & 2 deletions doc/jsdoc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h3> </h3>
<article><p>The IJavascript kernel is implemented by class <code>Kernel</code> in
<a href="../../lib/kernel.js"><code>kernel.js</code></a>. This kernel makes use of the Javascript
sessions provided by module <code>sm</code> in <a href="../../lib/sm.js"><code>sm.js</code></a>. This module
provides Javascript sessions by means of the <code>node.js</code> server implemented in
provides Javascript sessions by means of a <code>node.js</code> server implemented in
<a href="../../lib/sm_server.js"><code>sm_server.js</code></a>.</p></article>
</section>

Expand All @@ -64,7 +64,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-sm
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-beta1</a> on Wed Feb 11 2015 18:49:25 GMT+0000 (GMT)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-beta1</a> on Tue Feb 17 2015 17:36:24 GMT+0000 (GMT)
</footer>

<script> prettyPrint(); </script>
Expand Down
Loading

0 comments on commit 3f9d669

Please sign in to comment.