aboutsummaryrefslogtreecommitdiff
path: root/files/ja/mozilla/projects/spidermonkey/jsapi_reference/js_compilefile/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/mozilla/projects/spidermonkey/jsapi_reference/js_compilefile/index.html')
-rw-r--r--files/ja/mozilla/projects/spidermonkey/jsapi_reference/js_compilefile/index.html66
1 files changed, 0 insertions, 66 deletions
diff --git a/files/ja/mozilla/projects/spidermonkey/jsapi_reference/js_compilefile/index.html b/files/ja/mozilla/projects/spidermonkey/jsapi_reference/js_compilefile/index.html
deleted file mode 100644
index a6d409dc85..0000000000
--- a/files/ja/mozilla/projects/spidermonkey/jsapi_reference/js_compilefile/index.html
+++ /dev/null
@@ -1,66 +0,0 @@
----
-title: JS CompileFile
-slug: Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_CompileFile
-tags:
- - JSAPI Reference
- - SpiderMonkey
-translation_of: Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_CompileUTF8File
----
-<p>
-
-</p><div class="breadcrumbs"><a href="/ja" title="ja">メインページ</a> » <a href="/ja/docs/SpiderMonkey" title="SpiderMonkey">SpiderMonkey</a> »
- <a href="/ja/docs/SpiderMonkey/JSAPI_Reference" title="JSAPI_Reference">JSAPI リファレンス</a> »
- <code>JS_CompileFile</code></div>
-
-<p></p>
-
-<p>外部ファイルに含まれるスクリプトをコンパイルします。 <span class="comment">Compile a script stored in an external file.</span></p>
-
-<h2 id=".E6.A7.8B.E6.96.87" name=".E6.A7.8B.E6.96.87">構文</h2>
-
-<pre class="eval"><a href="/ja/JSScript" title="ja/JSScript">JSScript</a> * <strong>JS_CompileFile</strong>(<a href="/ja/JSRuntime" title="ja/JSRuntime">JSContext</a> *cx, <a href="/ja/JSObject" title="ja/JSObject">JSObject</a> *obj,
- const char *filename);
-</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="/ja/JSRuntime" title="ja/JSRuntime">JSContext</a> *</code></td>
- <td>スクリプトをコンパイルするときのコンテキスト {{ Jsapi-requires-request() }}</td>
- </tr>
- <tr>
- <td><code>obj</code></td>
- <td><code>JSObject *</code></td>
- <td>スクリプトと関連付けるオブジェクト<span class="comment">Object with which the script is associated.</span></td>
- </tr>
- <tr>
- <td><code>filename</code></td>
- <td><code>const char *</code></td>
- <td>スクリプトを含むファイルの名前<span class="comment">Name of file containing the script to compile.</span></td>
- </tr>
- </tbody>
-</table>
-
-<h2 id=".E8.A7.A3.E8.AA.AC" name=".E8.A7.A3.E8.AA.AC">解説</h2>
-
-<p><code>JS_CompileFile</code>は、JavaScriptエンジンで実行するために外部ファイルのスクリプトをコンパイルする関数です。 <span class="comment">&lt;code&gt;JS_CompileFile&lt;/code&gt; compiles the text of script in an external file location for execution by the JS engine.</span></p>
-
-<p><code>filename</code>は、コンパイル対象のスクリプトを含んでいるファイルの名前を引数に取ります。 <span class="comment">&lt;code&gt;filename&lt;/code&gt; is the name of the file containing the script to compile.</span></p>
-
-<p>コンパイルが成功したとき、<code>JS_CompileFile</code>はコンパイル済みのスクリプトへのポインタを返値とします。失敗時には<code>NULL</code>を返します。 <span class="comment">On success, &lt;code&gt;JS_CompileFile&lt;/code&gt; returns a pointer to the compiled script. Otherwise it returns &lt;code&gt;NULL&lt;/code&gt;.</span></p>
-
-<p>ファイル名でスクリプトを指定するのではなく、文字列の引数として関数に渡す場合には、<code><a href="/ja/JS_CompileScript" title="ja/JS_CompileScript">JS_CompileScript</a></code>を使ってください。 <span class="comment">To pass a script as an argument to a function rather than having to specify a file location, use &lt;code&gt;<a href="/ja/JS_CompileScript">JS_CompileScript</a>&lt;/code&gt; instead.</span></p>
-
-<h2 id=".E9.96.A2.E9.80.A3.E9.A0.85.E7.9B.AE" name=".E9.96.A2.E9.80.A3.E9.A0.85.E7.9B.AE">関連項目</h2>
-
-<p>{{ LXRSearch("ident", "i", "JS_CompileFile") }}</p>
-
-<p><a href="/ja/JS_CompileScript" title="ja/JS_CompileScript">JS_CompileScript</a>, <a href="/ja/JS_DecompileScript" title="ja/JS_DecompileScript">JS_DecompileScript</a>, <a href="/ja/JS_DestroyScript" title="ja/JS_DestroyScript">JS_DestroyScript</a>, <a href="/ja/JS_EvaluateScript" title="ja/JS_EvaluateScript">JS_EvaluateScript</a>, <a href="/ja/JS_ExecuteScript" title="ja/JS_ExecuteScript">JS_ExecuteScript</a></p>
-
-<p>{{ languages( { "en": "en/JS_CompileFile" } ) }}</p>