30
30
class JSCDATASection : public JSText {
31
31
typedef JSText Base;
33
JSCDATASection(PassRefPtr<JSC::Structure>, PassRefPtr<CDATASection>);
33
JSCDATASection(NonNullPassRefPtr<JSC::Structure>, JSDOMGlobalObject*, PassRefPtr<CDATASection>);
34
34
static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
35
35
virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&);
36
virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&);
36
37
virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
37
38
static const JSC::ClassInfo s_info;
39
static PassRefPtr<JSC::Structure> createStructure(JSC::JSValuePtr prototype)
40
static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
41
42
return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType));
44
static JSC::JSValuePtr getConstructor(JSC::ExecState*);
45
static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
48
JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, CDATASection*);
48
50
class JSCDATASectionPrototype : public JSC::JSObject {
51
typedef JSC::JSObject Base;
50
53
static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
51
54
virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
52
55
static const JSC::ClassInfo s_info;
53
JSCDATASectionPrototype(PassRefPtr<JSC::Structure> structure) : JSC::JSObject(structure) { }
56
JSCDATASectionPrototype(NonNullPassRefPtr<JSC::Structure> structure) : JSC::JSObject(structure) { }
58
JSC::JSValuePtr jsCDATASectionConstructor(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
61
JSC::JSValue jsCDATASectionConstructor(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);
60
63
} // namespace WebCore