Changeset 1850 in webkit for trunk/JavaScriptCore/kjs/internal.h
- Timestamp:
- Aug 16, 2002, 12:07:48 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/internal.h
r1824 r1850 143 143 // --------------------------------------------------------------------------- 144 144 145 class ReferenceImp : public ValueImp {146 public:147 ReferenceImp(const Value& v, const UString& p);148 ReferenceImp(const Value& v, unsigned p);149 virtual void mark();150 151 Value toPrimitive(ExecState *exec, Type preferred = UnspecifiedType) const;152 bool toBoolean(ExecState *exec) const;153 double toNumber(ExecState *exec) const;154 UString toString(ExecState *exec) const;155 Object toObject(ExecState *exec) const;156 157 Value getBase(ExecState *) const { return Value(base); }158 UString getPropertyName(ExecState *) const;159 Value getValue(ExecState *exec) const;160 void putValue(ExecState *exec, const Value& w);161 bool deleteValue(ExecState *exec);162 163 Type type() const { return ReferenceType; }164 165 private:166 ValueImp *base;167 bool propertyNameIsNumber;168 unsigned propertyNameAsNumber;169 mutable UString prop;170 };171 172 inline Reference::Reference(ReferenceImp *imp) : Value(imp) { }173 174 145 class CompletionImp : public ValueImp { 175 146 public:
Note:
See TracChangeset
for help on using the changeset viewer.