kjs Library API Documentation

KJS::ObjectObjectImp Class Reference

Inheritance diagram for KJS::ObjectObjectImp:

KJS::InternalFunctionImp KJS::ObjectImp KJS::ValueImp List of all members.

Public Member Functions

 ObjectObjectImp (ExecState *exec, ObjectPrototypeImp *objProto, FunctionPrototypeImp *funcProto)
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)

Detailed Description

Definition at line 69 of file object_object.h.


Member Function Documentation

Object ObjectObjectImp::construct ExecState exec,
const List args
[virtual]
 

Implementation of the [[Construct]] internal property.

See also:
Object::construct()

Reimplemented from KJS::ObjectImp.

Definition at line 153 of file object_object.cpp.

References KJS::List::begin(), KJS::Interpreter::builtinObjectPrototype(), KJS::Object::dynamicCast(), KJS::ExecState::interpreter(), KJS::List::isEmpty(), KJS::Value::isValid(), KJS::ObjectImp::ObjectImp(), KJS::Value::toObject(), and KJS::Value::type().

Referenced by call().

Value ObjectObjectImp::call ExecState exec,
Object thisObj,
const List args
[virtual]
 

Implementation of the [[Call]] internal property.

See also:
Object::call()

Reimplemented from KJS::ObjectImp.

Definition at line 186 of file object_object.cpp.

References KJS::List::append(), construct(), KJS::List::isEmpty(), KJS::Value::toObject(), and KJS::Value::type().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kjs Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Feb 8 06:23:05 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003