Ignore:
Timestamp:
May 21, 2008, 6:20:45 PM (17 years ago)
Author:
[email protected]
Message:

Merge squirrelfish branch into trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/interpreter.h

    r30942 r33979  
    2424#define KJS_Interpreter_h
    2525
     26#include <wtf/PassRefPtr.h>
    2627#include <wtf/unicode/Unicode.h>
    2728
     
    3132  class ExecState;
    3233  class JSValue;
     34  class ScopeChain;
     35  class SourceProvider;
    3336  class UString;
    3437 
     
    4346     */
    4447    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);
    4649
    4750    /**
     
    6063     * @return A completion object representing the result of the execution.
    6164     */
    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);
    6467   
    6568    static bool shouldPrintExceptions();
Note: See TracChangeset for help on using the changeset viewer.