JS_DecompileScriptObject

  • Revision slug: SpiderMonkey/JSAPI_Reference/JS_DecompileScriptObject
  • Revision title: JS_DecompileScriptObject
  • Revision id: 324565
  • Created:
  • Creator: trevorh
  • Is current revision? No
  • Comment

Revision Content

{{ jsapi_minversion_header("1.8.5") }}

Please provide a description for this function.

Syntax

JSString * JS_DecompileScriptObject(JSContext *cx,
    JSObject *scriptObj, const char *name, uintN indent);
Name Type Description
cx JSContext * The context. {{ Jsapi-requires-request() }}
scriptObj JSObject *
name const char *  
indent uintN  

Description

Please provide a description. 

See Also

Please provide a description. 

Revision Source

<p>{{ jsapi_minversion_header("1.8.5") }}</p>
<p>Please provide a description for this function.</p>
<h2 id="Syntax" name="Syntax">Syntax</h2>
<pre class="eval">
JSString * <strong>JS_DecompileScriptObject</strong>(JSContext *cx,
    JSObject *scriptObj, const char *name, uintN indent);
</pre>
<table class="fullwidth-table">
  <tbody>
    <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Description</th>
    </tr>
    <tr>
      <td><code>cx</code></td>
      <td><code><a href="/en/SpiderMonkey/JSAPI_Reference/JSRuntime" title="en/JSRuntime">JSContext</a>&nbsp;*</code></td>
      <td>The context. {{ Jsapi-requires-request() }}</td>
    </tr>
    <tr>
      <td><code>scriptObj</code></td>
      <td><code>JSObject *</code></td>
    </tr>
    <tr>
      <td><code>name</code></td>
      <td><code>const char *</code></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td><code>indent</code></td>
      <td><code>uintN</code></td>
      <td>&nbsp;</td>
    </tr>
  </tbody>
</table>
<h2 id="Description" name="Description">Description</h2>
<p>Please provide a description.&nbsp;</p>
<h2 id="See_Also" name="See_Also">See Also</h2>
<p>Please provide a description.&nbsp;</p>
Revert to this revision