Changeset 1859 in webkit for trunk/JavaScriptCore/kjs/internal.h
- Timestamp:
- Aug 18, 2002, 12:21:26 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/internal.h
r1850 r1859 143 143 // --------------------------------------------------------------------------- 144 144 145 class CompletionImp : public ValueImp {146 public:147 Type type() const { return CompletionType; }148 149 CompletionImp(ComplType c, const Value& v, const UString& t);150 virtual ~CompletionImp();151 virtual void mark();152 153 Value toPrimitive(ExecState *exec, Type preferred = UnspecifiedType) const;154 bool toBoolean(ExecState *exec) const;155 double toNumber(ExecState *exec) const;156 UString toString(ExecState *exec) const;157 Object toObject(ExecState *exec) const;158 159 ComplType complType() const { return comp; }160 Value value() const { return Value(val); }161 UString target() const { return tar; }162 163 private:164 ComplType comp;165 ValueImp * val;166 UString tar;167 };168 169 inline Completion::Completion(CompletionImp *imp) : Value(imp) { }170 171 145 /** 172 146 * @internal
Note:
See TracChangeset
for help on using the changeset viewer.