Ignore:
Timestamp:
Dec 10, 2005, 6:06:17 PM (19 years ago)
Author:
darin
Message:

JavaScriptCore:

Rubber stamped by Maciej.

  • did long-promised KJS renaming:

ValueImp -> JSValue
ObjectImp -> JSObject
AllocatedValueImp -> JSCell

A renaming to get a class out of the way

KJS::Bindings::JSObject -> JavaJSObject

and some other "imp-reduction" renaming

*InstanceImp -> *Instance
*ProtoFuncImp -> *ProtoFunc
*PrototypeImp -> *Prototype
ArgumentsImp -> Arguments
RuntimeArrayImp -> RuntimeArray
RuntimeMethodImp -> RuntimeMethod

  • most files and functions

WebCore:

Rubber stamped by Maciej.

  • updated for KJS class renaming
  • many files and functions
File:
1 edited

Legend:

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

    r10084 r11527  
    3535   * with the Function constructor)
    3636   */
    37   class FunctionPrototypeImp : public InternalFunctionImp {
     37  class FunctionPrototype : public InternalFunctionImp {
    3838  public:
    39     FunctionPrototypeImp(ExecState *exec);
    40     virtual ~FunctionPrototypeImp();
     39    FunctionPrototype(ExecState *exec);
     40    virtual ~FunctionPrototype();
    4141
    4242    virtual bool implementsCall() const;
    43     virtual ValueImp *callAsFunction(ExecState *exec, ObjectImp *thisObj, const List &args);
     43    virtual JSValue *callAsFunction(ExecState *exec, JSObject *thisObj, const List &args);
    4444  };
    4545
     
    5050   * Function.prototype object
    5151   */
    52   class FunctionProtoFuncImp : public InternalFunctionImp {
     52  class FunctionProtoFunc : public InternalFunctionImp {
    5353  public:
    54     FunctionProtoFuncImp(ExecState *exec,
    55                         FunctionPrototypeImp *funcProto, int i, int len);
     54    FunctionProtoFunc(ExecState *exec,
     55                        FunctionPrototype *funcProto, int i, int len);
    5656
    5757    virtual bool implementsCall() const;
    58     virtual ValueImp *callAsFunction(ExecState *exec, ObjectImp *thisObj, const List &args);
     58    virtual JSValue *callAsFunction(ExecState *exec, JSObject *thisObj, const List &args);
    5959
    6060    enum { ToString, Apply, Call };
     
    7070  class FunctionObjectImp : public InternalFunctionImp {
    7171  public:
    72     FunctionObjectImp(ExecState *exec, FunctionPrototypeImp *funcProto);
     72    FunctionObjectImp(ExecState *exec, FunctionPrototype *funcProto);
    7373    virtual ~FunctionObjectImp();
    7474
    7575    virtual bool implementsConstruct() const;
    76     virtual ObjectImp *construct(ExecState *exec, const List &args, const UString &sourceURL, int lineNumber);
    77     virtual ObjectImp *construct(ExecState *exec, const List &args);
     76    virtual JSObject *construct(ExecState *exec, const List &args, const UString &sourceURL, int lineNumber);
     77    virtual JSObject *construct(ExecState *exec, const List &args);
    7878    virtual bool implementsCall() const;
    79     virtual ValueImp *callAsFunction(ExecState *exec, ObjectImp *thisObj, const List &args);
     79    virtual JSValue *callAsFunction(ExecState *exec, JSObject *thisObj, const List &args);
    8080  };
    8181
Note: See TracChangeset for help on using the changeset viewer.