KJS::FunctionPrototypeImp Class Reference
#include <function_object.h>
Inheritance diagram for KJS::FunctionPrototypeImp:

Public Member Functions | |
FunctionPrototypeImp (ExecState *exec) | |
virtual bool | implementsCall () const |
virtual Value | call (ExecState *exec, Object &thisObj, const List &args) |
![]() | |
InternalFunctionImp (FunctionPrototypeImp *funcProto) | |
InternalFunctionImp (ExecState *exec) | |
bool | implementsHasInstance () const |
Boolean | hasInstance (ExecState *exec, const Value &value) |
virtual const ClassInfo * | classInfo () const |
Identifier | name () const |
void | setName (Identifier _ident) |
![]() | |
ObjectImp (const Object &proto) | |
ObjectImp (ObjectImp *proto) | |
ObjectImp () | |
virtual void | mark () |
Type | type () const |
virtual const ClassInfo * | classInfo () const |
bool | inherits (const ClassInfo *cinfo) const |
Value | prototype () const |
void | setPrototype (const Value &proto) |
virtual UString | className () const |
virtual Value | get (ExecState *exec, const Identifier &propertyName) const |
virtual Value | getPropertyByIndex (ExecState *exec, unsigned propertyName) const |
virtual void | put (ExecState *exec, const Identifier &propertyName, const Value &value, int attr=None) |
virtual void | putPropertyByIndex (ExecState *exec, unsigned propertyName, const Value &value, int attr=None) |
virtual bool | canPut (ExecState *exec, const Identifier &propertyName) const |
virtual bool | hasProperty (ExecState *exec, const Identifier &propertyName) const |
virtual bool | hasPropertyByIndex (ExecState *exec, unsigned propertyName) const |
virtual bool | deleteProperty (ExecState *exec, const Identifier &propertyName) |
virtual bool | deletePropertyByIndex (ExecState *exec, unsigned propertyName) |
void | deleteAllProperties (ExecState *) |
virtual Value | defaultValue (ExecState *exec, Type hint) const |
virtual bool | implementsConstruct () const |
virtual Object | construct (ExecState *exec, const List &args) |
virtual bool | implementsCall () const |
virtual Value | call (ExecState *exec, Object &thisObj, const List &args) |
virtual bool | implementsHasInstance () const |
virtual Boolean | hasInstance (ExecState *exec, const Value &value) |
const ScopeChain & | scope () const |
void | setScope (const ScopeChain &s) |
virtual ReferenceList | propList (ExecState *exec, bool recursive=true) |
Value | internalValue () const |
void | setInternalValue (const Value &v) |
void | setInternalValue (ValueImp *v) |
Value | toPrimitive (ExecState *exec, Type preferredType=UnspecifiedType) const |
bool | toBoolean (ExecState *exec) const |
double | toNumber (ExecState *exec) const |
UString | toString (ExecState *exec) const |
Object | toObject (ExecState *exec) const |
ValueImp * | getDirect (const Identifier &propertyName) const |
void | putDirect (const Identifier &propertyName, ValueImp *value, int attr=0) |
void | putDirect (const Identifier &propertyName, int value, int attr=0) |
void | setFunctionName (const Identifier &propertyName) |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
unsigned short int | refcount |
![]() | |
static const ClassInfo | info = {"Function", 0, 0, 0} |
![]() | |
Identifier | ident |
Detailed Description
The initial value of Function.prototype (and thus all objects created with the Function constructor)
Definition at line 34 of file function_object.h.
The documentation for this class was generated from the following files: