#include <internal.h>

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 |
![]() | |
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) |
Static Public Attributes | |
static const ClassInfo | info = {"Function", &InternalFunctionImp::info, 0, 0} |
![]() | |
static const ClassInfo | info = {"Function", 0, 0, 0} |
Protected Attributes | |
Parameter * | param |
int | line0 |
int | line1 |
int | sid |
![]() | |
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()
|
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()
Definition at line 347 of file function.cpp.
◆ classInfo()
|
inlinevirtual |
Reimplemented from KJS::InternalFunctionImp.
Definition at line 414 of file internal.h.
◆ deleteProperty()
|
virtual |
Definition at line 555 of file function.cpp.
◆ firstLine()
|
inline |
Definition at line 410 of file internal.h.
◆ get()
|
virtual |
Definition at line 495 of file function.cpp.
◆ hasProperty()
|
virtual |
Definition at line 548 of file function.cpp.
◆ implementsCall()
|
virtual |
Definition at line 342 of file function.cpp.
◆ lastLine()
|
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()
|
virtual |
Definition at line 541 of file function.cpp.
◆ sourceId()
|
inline |
Definition at line 412 of file internal.h.
Friends And Related Function Documentation
◆ ActivationImp
|
friend |
Definition at line 390 of file internal.h.
Member Data Documentation
◆ info
|
static |
Definition at line 415 of file internal.h.
◆ line0
|
protected |
Definition at line 418 of file internal.h.
◆ line1
|
protected |
Definition at line 419 of file internal.h.
◆ param
|
protected |
Definition at line 417 of file internal.h.
◆ sid
|
protected |
Definition at line 420 of file internal.h.
The documentation for this class was generated from the following files: