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

    r10084 r11527  
    2828namespace KJS {
    2929
    30   class BooleanInstanceImp : public ObjectImp {
     30  class BooleanInstance : public JSObject {
    3131  public:
    32     BooleanInstanceImp(ObjectImp *proto);
     32    BooleanInstance(JSObject *proto);
    3333
    3434    virtual const ClassInfo *classInfo() const { return &info; }
     
    4242   * with the Boolean constructor
    4343   */
    44   class BooleanPrototypeImp : public BooleanInstanceImp {
     44  class BooleanPrototype : public BooleanInstance {
    4545  public:
    46     BooleanPrototypeImp(ExecState *exec,
    47                         ObjectPrototypeImp *objectProto,
    48                         FunctionPrototypeImp *funcProto);
     46    BooleanPrototype(ExecState *exec,
     47                        ObjectPrototype *objectProto,
     48                        FunctionPrototype *funcProto);
    4949  };
    5050
     
    5555   * Boolean.prototype object
    5656   */
    57   class BooleanProtoFuncImp : public InternalFunctionImp {
     57  class BooleanProtoFunc : public InternalFunctionImp {
    5858  public:
    59     BooleanProtoFuncImp(ExecState *exec,
    60                         FunctionPrototypeImp *funcProto, int i, int len);
     59    BooleanProtoFunc(ExecState *exec,
     60                        FunctionPrototype *funcProto, int i, int len);
    6161
    6262    virtual bool implementsCall() const;
    63     virtual ValueImp *callAsFunction(ExecState *exec, ObjectImp *thisObj, const List &args);
     63    virtual JSValue *callAsFunction(ExecState *exec, JSObject *thisObj, const List &args);
    6464
    6565    enum { ToString, ValueOf };
     
    7474   */
    7575  class BooleanObjectImp : public InternalFunctionImp {
    76     friend class BooleanProtoFuncImp;
     76    friend class BooleanProtoFunc;
    7777  public:
    78     BooleanObjectImp(ExecState *exec, FunctionPrototypeImp *funcProto,
    79                      BooleanPrototypeImp *booleanProto);
     78    BooleanObjectImp(ExecState *exec, FunctionPrototype *funcProto,
     79                     BooleanPrototype *booleanProto);
    8080
    8181    virtual bool implementsConstruct() const;
    82     virtual ObjectImp *construct(ExecState *exec, const List &args);
     82    virtual JSObject *construct(ExecState *exec, const List &args);
    8383
    8484    virtual bool implementsCall() const;
    85     virtual ValueImp *callAsFunction(ExecState *exec, ObjectImp *thisObj, const List &args);
     85    virtual JSValue *callAsFunction(ExecState *exec, JSObject *thisObj, const List &args);
    8686  };
    8787
Note: See TracChangeset for help on using the changeset viewer.