Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

JsParseScript

Limin Zhu edited this pageMar 14, 2017 ·4 revisions

Parses a script and returns a function representing the script.

Syntax

STDAPI_(JsErrorCode)    JsParseScript(    _In_z_ const wchar_t *script,    _In_ JsSourceContext sourceContext,    _In_z_ const wchar_t *sourceUrl,    _Out_ JsValueRef *result);

Parameters

  • script: The script to parse.
  • sourceContext: A cookie identifying the script that can be used by debuggable script contexts.
  • sourceUrl: The location the script came from.
  • result: A function representing the script code.

Return Value

The codeJsNoError if the operation succeeded, a failure code otherwise.

Remarks

This API is Windows-only (seeJsParse for cross-platform equivalent).Requires an active script context.

Want to contribute to this Wiki?

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp