2 This file is part of the WebKit open source project.
3 This file has been generated by generate-bindings.pl. DO NOT MODIFY!
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 Boston, MA 02110-1301, USA.
21 #ifndef JSHTMLModElement_h
22 #define JSHTMLModElement_h
24 #include "HTMLModElement.h"
25 #include "JSDOMBinding.h"
26 #include "JSHTMLElement.h"
27 #include <runtime/JSObject.h>
31 class JSHTMLModElement : public JSHTMLElement {
33 typedef JSHTMLElement Base;
34 static JSHTMLModElement* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<HTMLModElement> impl)
36 JSHTMLModElement* ptr = new (JSC::allocateCell<JSHTMLModElement>(globalObject->globalData().heap)) JSHTMLModElement(structure, globalObject, impl);
37 ptr->finishCreation(globalObject->globalData());
41 static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
42 static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&);
43 static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&);
44 static void put(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSValue, JSC::PutPropertySlot&);
45 static const JSC::ClassInfo s_info;
47 static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
49 return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
52 static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
54 JSHTMLModElement(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<HTMLModElement>);
55 void finishCreation(JSC::JSGlobalData&);
56 static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
60 class JSHTMLModElementPrototype : public JSC::JSNonFinalObject {
62 typedef JSC::JSNonFinalObject Base;
63 static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
64 static JSHTMLModElementPrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
66 JSHTMLModElementPrototype* ptr = new (JSC::allocateCell<JSHTMLModElementPrototype>(globalData.heap)) JSHTMLModElementPrototype(globalData, globalObject, structure);
67 ptr->finishCreation(globalData);
71 static const JSC::ClassInfo s_info;
72 static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
74 return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
78 JSHTMLModElementPrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
80 static const unsigned StructureFlags = Base::StructureFlags;
83 class JSHTMLModElementConstructor : public DOMConstructorObject {
85 JSHTMLModElementConstructor(JSC::Structure*, JSDOMGlobalObject*);
86 void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
89 typedef DOMConstructorObject Base;
90 static JSHTMLModElementConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
92 JSHTMLModElementConstructor* ptr = new (JSC::allocateCell<JSHTMLModElementConstructor>(*exec->heap())) JSHTMLModElementConstructor(structure, globalObject);
93 ptr->finishCreation(exec, globalObject);
97 static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier&, JSC::PropertySlot&);
98 static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, const JSC::Identifier&, JSC::PropertyDescriptor&);
99 static const JSC::ClassInfo s_info;
100 static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
102 return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
105 static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
110 JSC::JSValue jsHTMLModElementCite(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
111 void setJSHTMLModElementCite(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
112 JSC::JSValue jsHTMLModElementDateTime(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
113 void setJSHTMLModElementDateTime(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
114 JSC::JSValue jsHTMLModElementConstructor(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
116 } // namespace WebCore