KJS::ValueImp Class Referenceabstract
#include <value.h>
Public Member Functions | |
| ValueImp * | ref () |
| bool | deref () |
| virtual void | mark () |
| bool | marked () const |
| void * | operator new (size_t) |
| void | operator delete (void *) |
| void | setGcAllowed () |
| void | setGcAllowedFast () |
| int | toInteger (ExecState *exec) const |
| int | toInt32 (ExecState *exec) const |
| unsigned int | toUInt32 (ExecState *exec) const |
| unsigned short | toUInt16 (ExecState *exec) const |
| Type | dispatchType () const |
| Value | dispatchToPrimitive (ExecState *exec, Type preferredType=UnspecifiedType) const |
| bool | dispatchToBoolean (ExecState *exec) const |
| double | dispatchToNumber (ExecState *exec) const |
| UString | dispatchToString (ExecState *exec) const |
| bool | dispatchToUInt32 (unsigned &) const |
| Object | dispatchToObject (ExecState *exec) const |
| bool | isDestroyed () const |
Public Attributes | |
| unsigned short int | refcount |
Friends | |
| class | Collector |
| class | Value |
| class | ContextImp |
Detailed Description
ValueImp is the base type for all primitives (Undefined, Null, Boolean, String, Number) and objects in ECMAScript.
Note: you should never inherit from ValueImp as it is for primitive types only (all of which are provided internally by KJS). Instead, inherit from ObjectImp.
Constructor & Destructor Documentation
◆ ValueImp()
◆ ~ValueImp()
Member Function Documentation
◆ deref()
◆ dispatchToBoolean()
| bool ValueImp::dispatchToBoolean | ( | ExecState * | exec | ) | const |
◆ dispatchToNumber()
| double ValueImp::dispatchToNumber | ( | ExecState * | exec | ) | const |
◆ dispatchToObject()
◆ dispatchToPrimitive()
| Value ValueImp::dispatchToPrimitive | ( | ExecState * | exec, |
| Type | preferredType = UnspecifiedType ) const |
◆ dispatchToString()
◆ dispatchToUInt32()
| bool ValueImp::dispatchToUInt32 | ( | unsigned & | result | ) | const |
◆ dispatchType()
◆ isDestroyed()
◆ mark()
◆ marked()
◆ operator delete()
◆ operator new()
◆ ref()
◆ setGcAllowed()
◆ setGcAllowedFast()
◆ toInt32()
◆ toInteger()
◆ toUInt16()
| unsigned short ValueImp::toUInt16 | ( | ExecState * | exec | ) | const |
◆ toUInt32()
Friends And Related Symbol Documentation
◆ Collector
◆ ContextImp
◆ Value
Member Data Documentation
◆ refcount
The documentation for this class was generated from the following files:
Trinity API Reference