• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kjs
 

kjs

  • KJS
  • FunctionPrototypeImp
Public Member Functions | List of all members
KJS::FunctionPrototypeImp Class Reference

#include <function_object.h>

Inheritance diagram for KJS::FunctionPrototypeImp:
KJS::InternalFunctionImp

Public Member Functions

 FunctionPrototypeImp (ExecState *exec)
 
virtual bool implementsCall () const
 
virtual Value call (ExecState *exec, Object &thisObj, const List &args)
 
- Public Member Functions inherited from KJS::InternalFunctionImp
 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)
 
- Public Member Functions inherited from KJS::ObjectImp
 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)
 
- Public Member Functions inherited from KJS::ValueImp
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

- Public Attributes inherited from KJS::ValueImp
unsigned short int refcount
 
- Static Public Attributes inherited from KJS::InternalFunctionImp
static const ClassInfo info = {"Function", 0, 0, 0}
 
- Protected Attributes inherited from KJS::InternalFunctionImp
Identifier ident
 

Detailed Description

The initial value of Function.prototype (and thus all objects created with the Function constructor)

Definition at line 35 of file function_object.h.


The documentation for this class was generated from the following files:
  • function_object.h
  • function_object.cpp

kjs

Skip menu "kjs"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kjs

Skip menu "kjs"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kjs by doxygen 1.8.3.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |