Changeset 33979 in webkit for trunk/JavaScriptCore/kjs/interpreter.h
- Timestamp:
- May 21, 2008, 6:20:45 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/interpreter.h
r30942 r33979 24 24 #define KJS_Interpreter_h 25 25 26 #include <wtf/PassRefPtr.h> 26 27 #include <wtf/unicode/Unicode.h> 27 28 … … 31 32 class ExecState; 32 33 class JSValue; 34 class ScopeChain; 35 class SourceProvider; 33 36 class UString; 34 37 … … 43 46 */ 44 47 static Completion checkSyntax(ExecState*, const UString& sourceURL, int startingLineNumber, const UString& code); 45 static Completion checkSyntax(ExecState*, const UString& sourceURL, int startingLineNumber, const UChar* code, int codeLength);48 static Completion checkSyntax(ExecState*, const UString& sourceURL, int startingLineNumber, PassRefPtr<SourceProvider> source); 46 49 47 50 /** … … 60 63 * @return A completion object representing the result of the execution. 61 64 */ 62 static Completion evaluate(ExecState*, const UString& sourceURL, int startingLineNumber, const UString& code, JSValue* thisV = 0);63 static Completion evaluate(ExecState*, const UString& sourceURL, int startingLineNumber, const UChar* code, int codeLength, JSValue* thisV = 0);65 static Completion evaluate(ExecState*, ScopeChain&, const UString& sourceURL, int startingLineNumber, const UString& code, JSValue* thisV = 0); 66 static Completion evaluate(ExecState*, ScopeChain&, const UString& sourceURL, int startingLineNumber, PassRefPtr<SourceProvider>, JSValue* thisV = 0); 64 67 65 68 static bool shouldPrintExceptions();
Note:
See TracChangeset
for help on using the changeset viewer.