kjs Library API Documentation

KJS::BooleanObjectImp Class Reference

Inheritance diagram for KJS::BooleanObjectImp:

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

Public Member Functions

 BooleanObjectImp (ExecState *exec, FunctionPrototypeImp *funcProto, BooleanPrototypeImp *booleanProto)
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)

Friends

class BooleanProtoFuncImp

Detailed Description

Definition at line 75 of file bool_object.h.


Member Function Documentation

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

Implementation of the [[Construct]] internal property.

See also:
Object::construct()

Reimplemented from KJS::ObjectImp.

Definition at line 121 of file bool_object.cpp.

References KJS::List::begin(), KJS::Interpreter::builtinBooleanPrototype(), KJS::Object::imp(), KJS::ExecState::interpreter(), KJS::Object::setInternalValue(), and KJS::List::size().

Value BooleanObjectImp::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 142 of file bool_object.cpp.

References KJS::List::isEmpty(), and KJS::ObjectImp::toBoolean().


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 Mon Jun 12 11:32:48 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003