void JSHTMLModElement::putValueProperty(ExecState* exec, int token, JSValue* value) { switch (token) { case CiteAttrNum: { HTMLModElement* imp = static_cast<HTMLModElement*>(impl()); imp->setCite(valueToStringWithNullCheck(exec, value)); break; } case DateTimeAttrNum: { HTMLModElement* imp = static_cast<HTMLModElement*>(impl()); imp->setDateTime(valueToStringWithNullCheck(exec, value)); break; } } }
void setJSHTMLModElementDateTime(ExecState* exec, JSObject* thisObject, JSValue value) { HTMLModElement* imp = static_cast<HTMLModElement*>(static_cast<JSHTMLModElement*>(thisObject)->impl()); imp->setDateTime(valueToStringWithNullCheck(exec, value)); }