kjs Library API Documentation

KJS::FunctionObjectImp Class Reference

Inheritance diagram for KJS::FunctionObjectImp:

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

Public Member Functions

 FunctionObjectImp (ExecState *exec, FunctionPrototypeImp *funcProto)
virtual ~FunctionObjectImp ()
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 68 of file function_object.h.


Member Function Documentation

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

Implementation of the [[Construct]] internal property.

See also:
Object::construct()

Reimplemented from KJS::ObjectImp.

Definition at line 204 of file function_object.cpp.

References KJS::DebuggerImp::abort(), KJS::FunctionImp::addParameter(), KJS::InterpreterImp::addSourceCode(), KJS::UString::ascii(), KJS::Interpreter::builtinObject(), KJS::Object::construct(), KJS::constructorPropertyName, KJS::Error::create(), KJS::UString::data(), KJS::InterpreterImp::debugger(), KJS::SourceCode::deref(), KJS::List::empty(), KJS::Interpreter::globalObject(), KJS::Object::imp(), KJS::Debugger::imp(), KJS::Interpreter::imp(), KJS::ExecState::interpreter(), KJS::Lexer::isDecimalDigit(), KJS::Lexer::isIdentLetter(), KJS::Identifier::null(), KJS::ObjectImp::ObjectImp(), KJS::Parser::parse(), KJS::ObjectImp::prototype(), KJS::prototypePropertyName, KJS::ScopeChain::push(), KJS::FunctionImp::put(), KJS::Object::put(), KJS::ExecState::setException(), KJS::SourceCode::sid, KJS::UString::size(), KJS::List::size(), KJS::Debugger::sourceParsed(), KJS::UChar::uc, and KJS::ValueImp::Value.

Referenced by call().

Value FunctionObjectImp::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 311 of file function_object.cpp.

References construct().


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.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Nov 1 10:32:48 2005 by doxygen 1.4.3 written by Dimitri van Heesch, © 1997-2003