Changeset 1859 in webkit for trunk/JavaScriptCore/kjs/internal.cpp
- Timestamp:
- Aug 18, 2002, 12:21:26 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/internal.cpp
r1850 r1859 330 330 tos = prev; 331 331 } 332 }333 334 // ------------------------------ CompletionImp --------------------------------335 336 CompletionImp::CompletionImp(ComplType c, const Value& v, const UString& t)337 : comp(c), val(v.imp()), tar(t)338 {339 }340 341 CompletionImp::~CompletionImp()342 {343 }344 345 void CompletionImp::mark()346 {347 ValueImp::mark();348 349 if (val && !val->marked())350 val->mark();351 }352 353 Value CompletionImp::toPrimitive(ExecState */*exec*/, Type /*preferredType*/) const354 {355 // invalid for Completion356 assert(false);357 return Value();358 }359 360 bool CompletionImp::toBoolean(ExecState */*exec*/) const361 {362 // invalid for Completion363 assert(false);364 return false;365 }366 367 double CompletionImp::toNumber(ExecState */*exec*/) const368 {369 // invalid for Completion370 assert(false);371 return 0;372 }373 374 UString CompletionImp::toString(ExecState */*exec*/) const375 {376 // invalid for Completion377 assert(false);378 return UString::null;379 }380 381 Object CompletionImp::toObject(ExecState */*exec*/) const382 {383 // invalid for Completion384 assert(false);385 return Object();386 332 } 387 333
Note:
See TracChangeset
for help on using the changeset viewer.