Changeset 27209 in webkit for trunk/JavaScriptCore/kjs/internal.h
- Timestamp:
- Oct 28, 2007, 9:53:26 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/internal.h
r27107 r27209 52 52 UString value() const { return val; } 53 53 54 JSType type() const { return StringType; }54 virtual JSType type() const { return StringType; } 55 55 56 JSValue* toPrimitive(ExecState*, JSType preferred = UnspecifiedType) const;57 bool getPrimitiveNumber(ExecState*, double& number) const;58 bool toBoolean(ExecState *exec) const;59 double toNumber(ExecState *exec) const;60 UString toString(ExecState *exec) const;61 JSObject *toObject(ExecState *exec) const;56 virtual JSValue* toPrimitive(ExecState*, JSType preferred = UnspecifiedType) const; 57 virtual bool getPrimitiveNumber(ExecState*, double& number) const; 58 virtual bool toBoolean(ExecState *exec) const; 59 virtual double toNumber(ExecState *exec) const; 60 virtual UString toString(ExecState *exec) const; 61 virtual JSObject *toObject(ExecState *exec) const; 62 62 63 63 private: … … 71 71 double value() const { return val; } 72 72 73 JSType type() const { return NumberType; }73 virtual JSType type() const { return NumberType; } 74 74 75 JSValue* toPrimitive(ExecState*, JSType preferred = UnspecifiedType) const;76 bool getPrimitiveNumber(ExecState*, double& number) const;77 bool toBoolean(ExecState *exec) const;78 double toNumber(ExecState *exec) const;79 UString toString(ExecState *exec) const;80 JSObject *toObject(ExecState *exec) const;75 virtual JSValue* toPrimitive(ExecState*, JSType preferred = UnspecifiedType) const; 76 virtual bool getPrimitiveNumber(ExecState*, double& number) const; 77 virtual bool toBoolean(ExecState *exec) const; 78 virtual double toNumber(ExecState *exec) const; 79 virtual UString toString(ExecState *exec) const; 80 virtual JSObject *toObject(ExecState *exec) const; 81 81 82 82 void* operator new(size_t size)
Note:
See TracChangeset
for help on using the changeset viewer.