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

kjs

  • KJS
  • FunctionImp
Public Member Functions | Static Public Attributes | Protected Attributes | Friends | List of all members
KJS::FunctionImp Class Referenceabstract

#include <internal.h>

Inheritance diagram for KJS::FunctionImp:
KJS::InternalFunctionImp

Public Member Functions

 FunctionImp (ExecState *exec, const Identifier &n=Identifier::null())
virtual Value get (ExecState *exec, const Identifier &propertyName) const
virtual void put (ExecState *exec, const Identifier &propertyName, const Value &value, int attr=None)
virtual bool hasProperty (ExecState *exec, const Identifier &propertyName) const
virtual bool deleteProperty (ExecState *exec, const Identifier &propertyName)
virtual bool implementsCall () const
virtual Value call (ExecState *exec, Object &thisObj, const List &args)
void addParameter (const Identifier &n)
Identifier parameterProperty (int index) const
UString parameterString () const
virtual CodeType codeType () const =0
virtual Completion execute (ExecState *exec)=0
int firstLine () const
int lastLine () const
int sourceId () const
virtual const ClassInfo * classInfo () const
Public Member Functions inherited from KJS::InternalFunctionImp
 InternalFunctionImp (FunctionPrototypeImp *funcProto)
 InternalFunctionImp (ExecState *exec)
bool implementsHasInstance () const
Boolean hasInstance (ExecState *exec, const Value &value)
Identifier name () const
void setName (Identifier _ident)

Static Public Attributes

static const ClassInfo info = {"Function", &InternalFunctionImp::info, 0, 0}
Static Public Attributes inherited from KJS::InternalFunctionImp
static const ClassInfo info = {"Function", 0, 0, 0}

Protected Attributes

Parameter * param
int line0
int line1
int sid
Protected Attributes inherited from KJS::InternalFunctionImp
Identifier ident

Friends

class ActivationImp

Detailed Description

Implementation class for functions implemented in JS.

Definition at line 389 of file internal.h.

Constructor & Destructor Documentation

◆ FunctionImp()

FunctionImp::FunctionImp ( ExecState * exec,
const Identifier & n = Identifier::null() )

Definition at line 328 of file function.cpp.

◆ ~FunctionImp()

FunctionImp::~FunctionImp ( )
virtual

Definition at line 337 of file function.cpp.

Member Function Documentation

◆ addParameter()

void FunctionImp::addParameter ( const Identifier & n)

Definition at line 412 of file function.cpp.

◆ call()

Value FunctionImp::call ( ExecState * exec,
Object & thisObj,
const List & args )
virtual

Definition at line 347 of file function.cpp.

◆ classInfo()

virtual const ClassInfo * KJS::FunctionImp::classInfo ( ) const
inlinevirtual

Reimplemented from KJS::InternalFunctionImp.

Definition at line 414 of file internal.h.

◆ deleteProperty()

bool FunctionImp::deleteProperty ( ExecState * exec,
const Identifier & propertyName )
virtual

Definition at line 555 of file function.cpp.

◆ firstLine()

int KJS::FunctionImp::firstLine ( ) const
inline

Definition at line 410 of file internal.h.

◆ get()

Value FunctionImp::get ( ExecState * exec,
const Identifier & propertyName ) const
virtual

Definition at line 495 of file function.cpp.

◆ hasProperty()

bool FunctionImp::hasProperty ( ExecState * exec,
const Identifier & propertyName ) const
virtual

Definition at line 548 of file function.cpp.

◆ implementsCall()

bool FunctionImp::implementsCall ( ) const
virtual

Definition at line 342 of file function.cpp.

◆ lastLine()

int KJS::FunctionImp::lastLine ( ) const
inline

Definition at line 411 of file internal.h.

◆ parameterProperty()

Identifier FunctionImp::parameterProperty ( int index) const

Definition at line 421 of file function.cpp.

◆ parameterString()

UString FunctionImp::parameterString ( ) const

Definition at line 441 of file function.cpp.

◆ put()

void FunctionImp::put ( ExecState * exec,
const Identifier & propertyName,
const Value & value,
int attr = None )
virtual

Definition at line 541 of file function.cpp.

◆ sourceId()

int KJS::FunctionImp::sourceId ( ) const
inline

Definition at line 412 of file internal.h.

Friends And Related Symbol Documentation

◆ ActivationImp

friend class ActivationImp
friend

Definition at line 390 of file internal.h.

Member Data Documentation

◆ info

const ClassInfo FunctionImp::info = {"Function", &InternalFunctionImp::info, 0, 0}
static

Definition at line 415 of file internal.h.

◆ line0

int KJS::FunctionImp::line0
protected

Definition at line 418 of file internal.h.

◆ line1

int KJS::FunctionImp::line1
protected

Definition at line 419 of file internal.h.

◆ param

Parameter* KJS::FunctionImp::param
protected

Definition at line 417 of file internal.h.

◆ sid

int KJS::FunctionImp::sid
protected

Definition at line 420 of file internal.h.


The documentation for this class was generated from the following files:
  • internal.h
  • function.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
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for kjs by doxygen 1.15.0
This website is maintained by Timothy Pearson.