Changeset 15404 in webkit for trunk/JavaScriptCore/API/JSContextRef.h
- Timestamp:
- Jul 13, 2006, 1:56:52 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSContextRef.h
r15376 r15404 72 72 @param sourceURL A JSString containing a URL for the script's source file. This is only used when reporting exceptions. Pass NULL if you do not care to include source file information in exceptions. 73 73 @param startingLineNumber An integer value specifying the script's starting line number in the file located at sourceURL. This is only used when reporting exceptions. 74 @param exception A pointer to a JSValueRef in which to store an uncaught exception, if any. Pass NULL if you do not care to store an uncaughtexception.75 @result The JSValue that results from evaluating script, or NULL if an uncaughtexception is thrown.74 @param exception A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception. 75 @result The JSValue that results from evaluating script, or NULL if an exception is thrown. 76 76 */ 77 JSValueRef JSEvaluate (JSContextRef context, JSStringRef script, JSObjectRef thisObject, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception);77 JSValueRef JSEvaluateScript(JSContextRef context, JSStringRef script, JSObjectRef thisObject, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception); 78 78 79 79 /*! 80 @function JSCheckS yntax80 @function JSCheckScriptSyntax 81 81 @abstract Checks for syntax errors in a string of JavaScript. 82 82 @param context The execution context to use. … … 87 87 @result true if the script is syntactically correct, otherwise false. 88 88 */ 89 bool JSCheckS yntax(JSContextRef context, JSStringRef script, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception);89 bool JSCheckScriptSyntax(JSContextRef context, JSStringRef script, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception); 90 90 91 91 #ifdef __cplusplus
Note:
See TracChangeset
for help on using the changeset viewer.