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/array_object.h

    r10084 r11527  
    2828namespace KJS {
    2929
    30  class ArrayPrototypeImp : public ArrayInstanceImp {
     30 class ArrayPrototype : public ArrayInstance {
    3131  public:
    32     ArrayPrototypeImp(ExecState *exec,
    33                       ObjectPrototypeImp *objProto);
     32    ArrayPrototype(ExecState *exec,
     33                      ObjectPrototype *objProto);
    3434    bool getOwnPropertySlot(ExecState *, const Identifier&, PropertySlot&);
    3535    virtual const ClassInfo *classInfo() const { return &info; }
     
    3737  };
    3838
    39   class ArrayProtoFuncImp : public InternalFunctionImp {
     39  class ArrayProtoFunc : public InternalFunctionImp {
    4040  public:
    41     ArrayProtoFuncImp(ExecState *exec, int i, int len);
     41    ArrayProtoFunc(ExecState *exec, int i, int len);
    4242
    4343    virtual bool implementsCall() const;
    44     virtual ValueImp *callAsFunction(ExecState *exec, ObjectImp *thisObj, const List &args);
     44    virtual JSValue *callAsFunction(ExecState *exec, JSObject *thisObj, const List &args);
    4545
    4646    enum { ToString, ToLocaleString, Concat, Join, Pop, Push,
     
    5454  public:
    5555    ArrayObjectImp(ExecState *exec,
    56                    FunctionPrototypeImp *funcProto,
    57                    ArrayPrototypeImp *arrayProto);
     56                   FunctionPrototype *funcProto,
     57                   ArrayPrototype *arrayProto);
    5858
    5959    virtual bool implementsConstruct() const;
    60     virtual ObjectImp *construct(ExecState *exec, const List &args);
     60    virtual JSObject *construct(ExecState *exec, const List &args);
    6161    virtual bool implementsCall() const;
    62     virtual ValueImp *callAsFunction(ExecState *exec, ObjectImp *thisObj, const List &args);
     62    virtual JSValue *callAsFunction(ExecState *exec, JSObject *thisObj, const List &args);
    6363
    6464  };
Note: See TracChangeset for help on using the changeset viewer.