summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/WebCore/generated/JSHTMLScriptElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/webkit/WebCore/generated/JSHTMLScriptElement.cpp')
-rw-r--r--src/3rdparty/webkit/WebCore/generated/JSHTMLScriptElement.cpp92
1 files changed, 53 insertions, 39 deletions
diff --git a/src/3rdparty/webkit/WebCore/generated/JSHTMLScriptElement.cpp b/src/3rdparty/webkit/WebCore/generated/JSHTMLScriptElement.cpp
index 4e39698..429c340 100644
--- a/src/3rdparty/webkit/WebCore/generated/JSHTMLScriptElement.cpp
+++ b/src/3rdparty/webkit/WebCore/generated/JSHTMLScriptElement.cpp
@@ -36,14 +36,14 @@ ASSERT_CLASS_FITS_IN_CELL(JSHTMLScriptElement);
static const HashTableValue JSHTMLScriptElementTableValues[9] =
{
- { "text", DontDelete, (intptr_t)jsHTMLScriptElementText, (intptr_t)setJSHTMLScriptElementText },
- { "htmlFor", DontDelete, (intptr_t)jsHTMLScriptElementHtmlFor, (intptr_t)setJSHTMLScriptElementHtmlFor },
- { "event", DontDelete, (intptr_t)jsHTMLScriptElementEvent, (intptr_t)setJSHTMLScriptElementEvent },
- { "charset", DontDelete, (intptr_t)jsHTMLScriptElementCharset, (intptr_t)setJSHTMLScriptElementCharset },
- { "defer", DontDelete, (intptr_t)jsHTMLScriptElementDefer, (intptr_t)setJSHTMLScriptElementDefer },
- { "src", DontDelete, (intptr_t)jsHTMLScriptElementSrc, (intptr_t)setJSHTMLScriptElementSrc },
- { "type", DontDelete, (intptr_t)jsHTMLScriptElementType, (intptr_t)setJSHTMLScriptElementType },
- { "constructor", DontEnum|ReadOnly, (intptr_t)jsHTMLScriptElementConstructor, (intptr_t)0 },
+ { "text", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLScriptElementText), (intptr_t)setJSHTMLScriptElementText },
+ { "htmlFor", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLScriptElementHtmlFor), (intptr_t)setJSHTMLScriptElementHtmlFor },
+ { "event", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLScriptElementEvent), (intptr_t)setJSHTMLScriptElementEvent },
+ { "charset", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLScriptElementCharset), (intptr_t)setJSHTMLScriptElementCharset },
+ { "defer", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLScriptElementDefer), (intptr_t)setJSHTMLScriptElementDefer },
+ { "src", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLScriptElementSrc), (intptr_t)setJSHTMLScriptElementSrc },
+ { "type", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLScriptElementType), (intptr_t)setJSHTMLScriptElementType },
+ { "constructor", DontEnum|ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLScriptElementConstructor), (intptr_t)0 },
{ 0, 0, 0, 0 }
};
@@ -82,7 +82,7 @@ public:
static PassRefPtr<Structure> createStructure(JSValue proto)
{
- return Structure::create(proto, TypeInfo(ObjectType, StructureFlags));
+ return Structure::create(proto, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount);
}
protected:
@@ -144,65 +144,72 @@ bool JSHTMLScriptElement::getOwnPropertyDescriptor(ExecState* exec, const Identi
return getStaticValueDescriptor<JSHTMLScriptElement, Base>(exec, &JSHTMLScriptElementTable, this, propertyName, descriptor);
}
-JSValue jsHTMLScriptElementText(ExecState* exec, const Identifier&, const PropertySlot& slot)
+JSValue jsHTMLScriptElementText(ExecState* exec, JSValue slotBase, const Identifier&)
{
- JSHTMLScriptElement* castedThis = static_cast<JSHTMLScriptElement*>(asObject(slot.slotBase()));
+ JSHTMLScriptElement* castedThis = static_cast<JSHTMLScriptElement*>(asObject(slotBase));
UNUSED_PARAM(exec);
HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(castedThis->impl());
- return jsString(exec, imp->text());
+ JSValue result = jsString(exec, imp->text());
+ return result;
}
-JSValue jsHTMLScriptElementHtmlFor(ExecState* exec, const Identifier&, const PropertySlot& slot)
+JSValue jsHTMLScriptElementHtmlFor(ExecState* exec, JSValue slotBase, const Identifier&)
{
- JSHTMLScriptElement* castedThis = static_cast<JSHTMLScriptElement*>(asObject(slot.slotBase()));
+ JSHTMLScriptElement* castedThis = static_cast<JSHTMLScriptElement*>(asObject(slotBase));
UNUSED_PARAM(exec);
HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(castedThis->impl());
- return jsString(exec, imp->htmlFor());
+ JSValue result = jsString(exec, imp->htmlFor());
+ return result;
}
-JSValue jsHTMLScriptElementEvent(ExecState* exec, const Identifier&, const PropertySlot& slot)
+JSValue jsHTMLScriptElementEvent(ExecState* exec, JSValue slotBase, const Identifier&)
{
- JSHTMLScriptElement* castedThis = static_cast<JSHTMLScriptElement*>(asObject(slot.slotBase()));
+ JSHTMLScriptElement* castedThis = static_cast<JSHTMLScriptElement*>(asObject(slotBase));
UNUSED_PARAM(exec);
HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(castedThis->impl());
- return jsString(exec, imp->event());
+ JSValue result = jsString(exec, imp->event());
+ return result;
}
-JSValue jsHTMLScriptElementCharset(ExecState* exec, const Identifier&, const PropertySlot& slot)
+JSValue jsHTMLScriptElementCharset(ExecState* exec, JSValue slotBase, const Identifier&)
{
- JSHTMLScriptElement* castedThis = static_cast<JSHTMLScriptElement*>(asObject(slot.slotBase()));
+ JSHTMLScriptElement* castedThis = static_cast<JSHTMLScriptElement*>(asObject(slotBase));
UNUSED_PARAM(exec);
HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(castedThis->impl());
- return jsString(exec, imp->charset());
+ JSValue result = jsString(exec, imp->charset());
+ return result;
}
-JSValue jsHTMLScriptElementDefer(ExecState* exec, const Identifier&, const PropertySlot& slot)
+JSValue jsHTMLScriptElementDefer(ExecState* exec, JSValue slotBase, const Identifier&)
{
- JSHTMLScriptElement* castedThis = static_cast<JSHTMLScriptElement*>(asObject(slot.slotBase()));
+ JSHTMLScriptElement* castedThis = static_cast<JSHTMLScriptElement*>(asObject(slotBase));
UNUSED_PARAM(exec);
HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(castedThis->impl());
- return jsBoolean(imp->defer());
+ JSValue result = jsBoolean(imp->defer());
+ return result;
}
-JSValue jsHTMLScriptElementSrc(ExecState* exec, const Identifier&, const PropertySlot& slot)
+JSValue jsHTMLScriptElementSrc(ExecState* exec, JSValue slotBase, const Identifier&)
{
- JSHTMLScriptElement* castedThis = static_cast<JSHTMLScriptElement*>(asObject(slot.slotBase()));
+ JSHTMLScriptElement* castedThis = static_cast<JSHTMLScriptElement*>(asObject(slotBase));
UNUSED_PARAM(exec);
HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(castedThis->impl());
- return jsString(exec, imp->src());
+ JSValue result = jsString(exec, imp->src());
+ return result;
}
-JSValue jsHTMLScriptElementType(ExecState* exec, const Identifier&, const PropertySlot& slot)
+JSValue jsHTMLScriptElementType(ExecState* exec, JSValue slotBase, const Identifier&)
{
- JSHTMLScriptElement* castedThis = static_cast<JSHTMLScriptElement*>(asObject(slot.slotBase()));
+ JSHTMLScriptElement* castedThis = static_cast<JSHTMLScriptElement*>(asObject(slotBase));
UNUSED_PARAM(exec);
HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(castedThis->impl());
- return jsString(exec, imp->type());
+ JSValue result = jsString(exec, imp->type());
+ return result;
}
-JSValue jsHTMLScriptElementConstructor(ExecState* exec, const Identifier&, const PropertySlot& slot)
+JSValue jsHTMLScriptElementConstructor(ExecState* exec, JSValue slotBase, const Identifier&)
{
- JSHTMLScriptElement* domObject = static_cast<JSHTMLScriptElement*>(asObject(slot.slotBase()));
+ JSHTMLScriptElement* domObject = static_cast<JSHTMLScriptElement*>(asObject(slotBase));
return JSHTMLScriptElement::getConstructor(exec, domObject->globalObject());
}
void JSHTMLScriptElement::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot)
@@ -212,43 +219,50 @@ void JSHTMLScriptElement::put(ExecState* exec, const Identifier& propertyName, J
void setJSHTMLScriptElementText(ExecState* exec, JSObject* thisObject, JSValue value)
{
- HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(static_cast<JSHTMLScriptElement*>(thisObject)->impl());
+ JSHTMLScriptElement* castedThisObj = static_cast<JSHTMLScriptElement*>(thisObject);
+ HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(castedThisObj->impl());
imp->setText(valueToStringWithNullCheck(exec, value));
}
void setJSHTMLScriptElementHtmlFor(ExecState* exec, JSObject* thisObject, JSValue value)
{
- HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(static_cast<JSHTMLScriptElement*>(thisObject)->impl());
+ JSHTMLScriptElement* castedThisObj = static_cast<JSHTMLScriptElement*>(thisObject);
+ HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(castedThisObj->impl());
imp->setHtmlFor(valueToStringWithNullCheck(exec, value));
}
void setJSHTMLScriptElementEvent(ExecState* exec, JSObject* thisObject, JSValue value)
{
- HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(static_cast<JSHTMLScriptElement*>(thisObject)->impl());
+ JSHTMLScriptElement* castedThisObj = static_cast<JSHTMLScriptElement*>(thisObject);
+ HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(castedThisObj->impl());
imp->setEvent(valueToStringWithNullCheck(exec, value));
}
void setJSHTMLScriptElementCharset(ExecState* exec, JSObject* thisObject, JSValue value)
{
- HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(static_cast<JSHTMLScriptElement*>(thisObject)->impl());
+ JSHTMLScriptElement* castedThisObj = static_cast<JSHTMLScriptElement*>(thisObject);
+ HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(castedThisObj->impl());
imp->setCharset(valueToStringWithNullCheck(exec, value));
}
void setJSHTMLScriptElementDefer(ExecState* exec, JSObject* thisObject, JSValue value)
{
- HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(static_cast<JSHTMLScriptElement*>(thisObject)->impl());
+ JSHTMLScriptElement* castedThisObj = static_cast<JSHTMLScriptElement*>(thisObject);
+ HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(castedThisObj->impl());
imp->setDefer(value.toBoolean(exec));
}
void setJSHTMLScriptElementSrc(ExecState* exec, JSObject* thisObject, JSValue value)
{
- HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(static_cast<JSHTMLScriptElement*>(thisObject)->impl());
+ JSHTMLScriptElement* castedThisObj = static_cast<JSHTMLScriptElement*>(thisObject);
+ HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(castedThisObj->impl());
imp->setSrc(valueToStringWithNullCheck(exec, value));
}
void setJSHTMLScriptElementType(ExecState* exec, JSObject* thisObject, JSValue value)
{
- HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(static_cast<JSHTMLScriptElement*>(thisObject)->impl());
+ JSHTMLScriptElement* castedThisObj = static_cast<JSHTMLScriptElement*>(thisObject);
+ HTMLScriptElement* imp = static_cast<HTMLScriptElement*>(castedThisObj->impl());
imp->setType(valueToStringWithNullCheck(exec, value));
}