kjs Library API Documentation

KJS::NumberProtoFuncImp Class Reference

Inheritance diagram for KJS::NumberProtoFuncImp:

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

Public Types

enum  {
  ToString, ToLocaleString, ValueOf, ToFixed,
  ToExponential, ToPrecision
}

Public Member Functions

 NumberProtoFuncImp (ExecState *exec, FunctionPrototypeImp *funcProto, int i, int len, const Identifier &_ident)
virtual bool implementsCall () const
virtual Value call (ExecState *exec, Object &thisObj, const List &args)

Detailed Description

Definition at line 57 of file number_object.h.


Member Function Documentation

Value NumberProtoFuncImp::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 138 of file number_object.cpp.

References KJS::Error::create(), KJS::UString::from(), KJS::Object::internalValue(), KJS::Value::isA(), KJS::List::isEmpty(), KJS::isInf(), KJS::isNaN(), KJS::ExecState::setException(), KJS::UString::size(), KJS::UString::substr(), KJS::Value::toInteger(), KJS::Value::toNumber(), and KJS::Value::toString().


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:55 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003