21 #ifndef _FUNCTION_OBJECT_H_
22 #define _FUNCTION_OBJECT_H_
25 #include "object_object.h"
39 virtual bool implementsCall()
const;
54 virtual bool implementsCall()
const;
57 enum { ToString, Apply, Call };
67 class FunctionObjectImp :
public InternalFunctionImp {
69 FunctionObjectImp(ExecState *exec, FunctionPrototypeImp *funcProto);
70 virtual ~FunctionObjectImp();
72 virtual bool implementsConstruct()
const;
73 virtual Object construct(ExecState *exec,
const List &args);
74 virtual bool implementsCall()
const;
75 virtual Value call(ExecState *exec, Object &thisObj,
const List &args);
80 #endif // _FUNCTION_OBJECT_H_
Value objects are act as wrappers ("smart pointers") around ValueImp objects and their descendents...
Base class for all function objects.
The initial value of Function.prototype (and thus all objects created with the Function constructor) ...
Represents the current state of script execution.
Represents an Identifier for a Javascript object.