• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

kjs

KJS::Reference

KJS::Reference Class Reference

#include <reference.h>

Inheritance diagram for KJS::Reference:

KJS::Value

List of all members.


Detailed Description

Defines a Javascript reference.

Definition at line 35 of file reference.h.


Public Member Functions

 Reference (const Object &b, const Identifier &p)
 Reference (const Object &b, unsigned p)
 Reference (ObjectImp *b, const Identifier &p)
 Reference (ObjectImp *b, unsigned p)
 Reference (const Null &b, const Identifier &p)
 Reference (const Null &b, unsigned p)
Value getBase (ExecState *exec) const
Identifier getPropertyName (ExecState *exec) const
Value getValue (ExecState *exec) const
void putValue (ExecState *exec, const Value &w)
bool deleteValue (ExecState *exec)
bool isMutable ()

Static Public Member Functions

static Reference makeValueReference (const Value &v)

Friends

class ReferenceList
class ReferenceListIterator

Member Function Documentation

Value Reference::getBase ( ExecState *  exec  )  const

Performs the GetBase type conversion operation on this value (ECMA 8.7).

Since references are supposed to have an Object or null as their base, this method is guaranteed to return either Null() or an Object value.

Definition at line 93 of file reference.cpp.

Identifier Reference::getPropertyName ( ExecState *  exec  )  const

Performs the GetPropertyName type conversion operation on this value (ECMA 8.7).

Definition at line 104 of file reference.cpp.

Value Reference::getValue ( ExecState *  exec  )  const

Performs the GetValue type conversion operation on this value (ECMA 8.7.1).

Definition at line 118 of file reference.cpp.

void Reference::putValue ( ExecState *  exec,
const Value &  w 
)

Performs the PutValue type conversion operation on this value (ECMA 8.7.1).

Definition at line 146 of file reference.cpp.


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

kjs

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

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • 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
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal