BooleanPrototype.h [plain text]
#ifndef BooleanPrototype_h
#define BooleanPrototype_h
#include "BooleanObject.h"
namespace JSC {
class BooleanPrototype : public BooleanObject {
public:
BooleanPrototype(ExecState*, JSGlobalObject*, Structure*);
static const ClassInfo s_info;
static Structure* createStructure(JSGlobalData& globalData, JSValue prototype)
{
return Structure::create(globalData, prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info);
}
protected:
static const unsigned StructureFlags = OverridesGetOwnPropertySlot | BooleanObject::StructureFlags;
static const unsigned AnonymousSlotCount = BooleanObject::AnonymousSlotCount + 1;
private:
virtual bool getOwnPropertySlot(ExecState*, const Identifier&, PropertySlot&);
virtual bool getOwnPropertyDescriptor(ExecState*, const Identifier&, PropertyDescriptor&);
};
}
#endif // BooleanPrototype_h