-
Notifications
You must be signed in to change notification settings - Fork 1.2k
JsParseScriptWithAttributes
Doug Ilijev edited this page Nov 28, 2016
·
3 revisions
Parses a script and returns a function representing the script.
STDAPI_(JsErrorCode)
JsParseScriptWithAttributes(
_In_z_ const wchar_t *script,
_In_ JsSourceContext sourceContext,
_In_z_ const wchar_t *sourceUrl,
_In_ JsParseScriptAttributes parseAttributes,
_Out_ JsValueRef *result);
- 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.
- parseAttributes: Attribute mask for parsing the script
- result: A function representing the script code.
The code JsNoError if the operation succeeded, a failure code otherwise.
- Architecture Overview
- Building ChakraCore
- ChakraCore Code Structure
- Contributor Guidance
- Engineering Notes
- Embedding ChakraCore
- Testing ChakraCore
- Getting ChakraCore binaries
- Label Glossary
- Resources
- Roadmap / Release Notes
Want to contribute to this Wiki? Fork it and send a pull request!