UNPKG

node-gdb

Version:
354 lines (353 loc) 7.19 kB
<!DOCTYPE html> <html> <head> <meta charset='UTF-8'> <title>CoffeeScript API Documentation</title> <script src='../javascript/application.js'></script> <script src='../javascript/search.js'></script> <link rel='stylesheet' href='../stylesheets/application.css' type='text/css'> </head> <body> <div id='base' data-path='../'></div> <div id='header'> <div id='menu'> <a href='../extra/README.md.html' title='Node-gdb'> Node-gdb </a> &raquo; <a href='../alphabetical_index.html' title='Index'> Index </a> &raquo; <span class='title'>Variable</span> </div> </div> <div id='content'> <h1> Class: Variable </h1> <table class='box'> <tr> <td>Defined in:</td> <td>src&#47;varobj.coffee</td> </tr> </table> <h2>Overview</h2> <div class='docstring'> <p>Class representing a target variable Should not be created directly, but by calling <a href='../class/VariableManager.html#add-dynamic'>VariableManager#add</a>.</p> </div> <div class='tags'> </div> <h2>Variables Summary</h2> <dl class='constants'> <dt id='watchpoint-variable'> watchpoint = </dt> <dd> <pre><code class='coffeescript'>null</code></pre> </dd> </dl> <h2>Instance Method Summary</h2> <ul class='summary'> <li> <span class='signature'> <a href='#onChanged-dynamic'> # (Disposable) <b>onChanged</b><span>(cb)</span> </a> </span> <span class='desc'> Invoke the given callback function when this variable is changed. </span> </li> <li> <span class='signature'> <a href='#onDeleted-dynamic'> # (Disposable) <b>onDeleted</b><span>(cb)</span> </a> </span> <span class='desc'> Invoke the given callback function when this variable is deleted. </span> </li> <li> <span class='signature'> <a href='#assign-dynamic'> # (Promise) <b>assign</b><span>(val)</span> </a> </span> <span class='desc'> Assign a new value to this variable </span> </li> <li> <span class='signature'> <a href='#setWatch-dynamic'> # (void) <b>setWatch</b><span>()</span> </a> </span> <span class='desc'> Set a watchpoint on this variable </span> </li> <li> <span class='signature'> <a href='#clearWatch-dynamic'> # (void) <b>clearWatch</b><span>()</span> </a> </span> <span class='desc'> Clear the watchpoint on this variable </span> </li> <li> <span class='signature'> <a href='#remove-dynamic'> # (void) <b>remove</b><span>()</span> </a> </span> <span class='desc'> Remove this variable </span> </li> <li> <span class='signature'> <a href='#addChildren-dynamic'> # (void) <b>addChildren</b><span>()</span> </a> </span> <span class='desc'> Add children </span> </li> </ul> <h2>Instance Method Details</h2> <div class='methods'> <div class='method_details'> <p class='signature' id='onChanged-dynamic'> # (Disposable) <b>onChanged</b><span>(cb)</span> <br> </p> <div class='docstring'> <p>Invoke the given callback function when this variable is changed.</p> </div> <div class='tags'> <h3>Returns:</h3> <ul class='return'> <li> <span class='type'></span> ( <tt>Disposable</tt> ) &mdash; <span class='desc'>to unsubscribe. </span> </li> </ul> </div> </div> <div class='method_details'> <p class='signature' id='onDeleted-dynamic'> # (Disposable) <b>onDeleted</b><span>(cb)</span> <br> </p> <div class='docstring'> <p>Invoke the given callback function when this variable is deleted.</p> </div> <div class='tags'> <h3>Returns:</h3> <ul class='return'> <li> <span class='type'></span> ( <tt>Disposable</tt> ) &mdash; <span class='desc'>to unsubscribe. </span> </li> </ul> </div> </div> <div class='method_details'> <p class='signature' id='assign-dynamic'> # (Promise) <b>assign</b><span>(val)</span> <br> </p> <div class='docstring'> <p>Assign a new value to this variable</p> </div> <div class='tags'> <h3>Parameters:</h3> <ul class='param'> <li> <span class='name'>val</span> <span class='type'> ( <tt>String</tt> ) </span> &mdash; <span class='desc'>new value </span> </li> </ul> <h3>Returns:</h3> <ul class='return'> <li> <span class='type'></span> ( <tt>Promise</tt> ) &mdash; <span class='desc'>resolves to new value if accepted </span> </li> </ul> </div> </div> <div class='method_details'> <p class='signature' id='setWatch-dynamic'> # (void) <b>setWatch</b><span>()</span> <br> </p> <div class='docstring'> <p>Set a watchpoint on this variable</p> </div> <div class='tags'> </div> </div> <div class='method_details'> <p class='signature' id='clearWatch-dynamic'> # (void) <b>clearWatch</b><span>()</span> <br> </p> <div class='docstring'> <p>Clear the watchpoint on this variable</p> </div> <div class='tags'> </div> </div> <div class='method_details'> <p class='signature' id='remove-dynamic'> # (void) <b>remove</b><span>()</span> <br> </p> <div class='docstring'> <p>Remove this variable</p> </div> <div class='tags'> </div> </div> <div class='method_details'> <p class='signature' id='addChildren-dynamic'> # (void) <b>addChildren</b><span>()</span> <br> </p> <div class='docstring'> <p>Add children</p> </div> <div class='tags'> </div> </div> </div> </div> <div id='footer'> By <a href='https://github.com/coffeedoc/codo' title='CoffeeScript API documentation generator'> Codo </a> 2.1.2 &#10034; Press H to see the keyboard shortcuts &#10034; <a href='http://twitter.com/netzpirat' target='_parent'>@netzpirat</a> &#10034; <a href='http://twitter.com/_inossidabile' target='_parent'>@_inossidabile</a> </div> <iframe id='search_frame'></iframe> <div id='fuzzySearch'> <input type='text'> <ol></ol> </div> <div id='help'> <p> Quickly fuzzy find classes, mixins, methods, file: </p> <ul> <li> <span>T</span> Open fuzzy finder dialog </li> </ul> <p> Control the navigation frame: </p> <ul> <li> <span>L</span> Toggle list view </li> <li> <span>C</span> Show class list </li> <li> <span>I</span> Show mixin list </li> <li> <span>F</span> Show file list </li> <li> <span>M</span> Show method list </li> <li> <span>E</span> Show extras list </li> </ul> <p> You can focus and blur the search input: </p> <ul> <li> <span>S</span> Focus search input </li> <li> <span>Esc</span> Blur search input </li> </ul> </div> </body> </html>