173
179
return getStaticValueSlot<JSSVGFECompositeElement, Base>(exec, &JSSVGFECompositeElementTable, this, propertyName, slot);
176
JSValuePtr jsSVGFECompositeElementIn1(ExecState* exec, const Identifier&, const PropertySlot& slot)
178
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()))->impl());
182
bool JSSVGFECompositeElement::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor)
184
return getStaticValueDescriptor<JSSVGFECompositeElement, Base>(exec, &JSSVGFECompositeElementTable, this, propertyName, descriptor);
187
JSValue jsSVGFECompositeElementIn1(ExecState* exec, const Identifier&, const PropertySlot& slot)
189
JSSVGFECompositeElement* castedThis = static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()));
191
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(castedThis->impl());
179
192
RefPtr<SVGAnimatedString> obj = imp->in1Animated();
180
return toJS(exec, obj.get(), imp);
193
return toJS(exec, castedThis->globalObject(), obj.get(), imp);
183
JSValuePtr jsSVGFECompositeElementIn2(ExecState* exec, const Identifier&, const PropertySlot& slot)
196
JSValue jsSVGFECompositeElementIn2(ExecState* exec, const Identifier&, const PropertySlot& slot)
185
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()))->impl());
198
JSSVGFECompositeElement* castedThis = static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()));
200
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(castedThis->impl());
186
201
RefPtr<SVGAnimatedString> obj = imp->in2Animated();
187
return toJS(exec, obj.get(), imp);
202
return toJS(exec, castedThis->globalObject(), obj.get(), imp);
190
JSValuePtr jsSVGFECompositeElement_operator(ExecState* exec, const Identifier&, const PropertySlot& slot)
205
JSValue jsSVGFECompositeElement_operator(ExecState* exec, const Identifier&, const PropertySlot& slot)
192
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()))->impl());
207
JSSVGFECompositeElement* castedThis = static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()));
209
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(castedThis->impl());
193
210
RefPtr<SVGAnimatedEnumeration> obj = imp->_operatorAnimated();
194
return toJS(exec, obj.get(), imp);
211
return toJS(exec, castedThis->globalObject(), obj.get(), imp);
197
JSValuePtr jsSVGFECompositeElementK1(ExecState* exec, const Identifier&, const PropertySlot& slot)
214
JSValue jsSVGFECompositeElementK1(ExecState* exec, const Identifier&, const PropertySlot& slot)
199
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()))->impl());
216
JSSVGFECompositeElement* castedThis = static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()));
218
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(castedThis->impl());
200
219
RefPtr<SVGAnimatedNumber> obj = imp->k1Animated();
201
return toJS(exec, obj.get(), imp);
220
return toJS(exec, castedThis->globalObject(), obj.get(), imp);
204
JSValuePtr jsSVGFECompositeElementK2(ExecState* exec, const Identifier&, const PropertySlot& slot)
223
JSValue jsSVGFECompositeElementK2(ExecState* exec, const Identifier&, const PropertySlot& slot)
206
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()))->impl());
225
JSSVGFECompositeElement* castedThis = static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()));
227
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(castedThis->impl());
207
228
RefPtr<SVGAnimatedNumber> obj = imp->k2Animated();
208
return toJS(exec, obj.get(), imp);
229
return toJS(exec, castedThis->globalObject(), obj.get(), imp);
211
JSValuePtr jsSVGFECompositeElementK3(ExecState* exec, const Identifier&, const PropertySlot& slot)
232
JSValue jsSVGFECompositeElementK3(ExecState* exec, const Identifier&, const PropertySlot& slot)
213
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()))->impl());
234
JSSVGFECompositeElement* castedThis = static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()));
236
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(castedThis->impl());
214
237
RefPtr<SVGAnimatedNumber> obj = imp->k3Animated();
215
return toJS(exec, obj.get(), imp);
238
return toJS(exec, castedThis->globalObject(), obj.get(), imp);
218
JSValuePtr jsSVGFECompositeElementK4(ExecState* exec, const Identifier&, const PropertySlot& slot)
241
JSValue jsSVGFECompositeElementK4(ExecState* exec, const Identifier&, const PropertySlot& slot)
220
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()))->impl());
243
JSSVGFECompositeElement* castedThis = static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()));
245
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(castedThis->impl());
221
246
RefPtr<SVGAnimatedNumber> obj = imp->k4Animated();
222
return toJS(exec, obj.get(), imp);
247
return toJS(exec, castedThis->globalObject(), obj.get(), imp);
225
JSValuePtr jsSVGFECompositeElementX(ExecState* exec, const Identifier&, const PropertySlot& slot)
250
JSValue jsSVGFECompositeElementX(ExecState* exec, const Identifier&, const PropertySlot& slot)
227
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()))->impl());
252
JSSVGFECompositeElement* castedThis = static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()));
254
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(castedThis->impl());
228
255
RefPtr<SVGAnimatedLength> obj = imp->xAnimated();
229
return toJS(exec, obj.get(), imp);
256
return toJS(exec, castedThis->globalObject(), obj.get(), imp);
232
JSValuePtr jsSVGFECompositeElementY(ExecState* exec, const Identifier&, const PropertySlot& slot)
259
JSValue jsSVGFECompositeElementY(ExecState* exec, const Identifier&, const PropertySlot& slot)
234
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()))->impl());
261
JSSVGFECompositeElement* castedThis = static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()));
263
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(castedThis->impl());
235
264
RefPtr<SVGAnimatedLength> obj = imp->yAnimated();
236
return toJS(exec, obj.get(), imp);
265
return toJS(exec, castedThis->globalObject(), obj.get(), imp);
239
JSValuePtr jsSVGFECompositeElementWidth(ExecState* exec, const Identifier&, const PropertySlot& slot)
268
JSValue jsSVGFECompositeElementWidth(ExecState* exec, const Identifier&, const PropertySlot& slot)
241
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()))->impl());
270
JSSVGFECompositeElement* castedThis = static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()));
272
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(castedThis->impl());
242
273
RefPtr<SVGAnimatedLength> obj = imp->widthAnimated();
243
return toJS(exec, obj.get(), imp);
274
return toJS(exec, castedThis->globalObject(), obj.get(), imp);
246
JSValuePtr jsSVGFECompositeElementHeight(ExecState* exec, const Identifier&, const PropertySlot& slot)
277
JSValue jsSVGFECompositeElementHeight(ExecState* exec, const Identifier&, const PropertySlot& slot)
248
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()))->impl());
279
JSSVGFECompositeElement* castedThis = static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()));
281
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(castedThis->impl());
249
282
RefPtr<SVGAnimatedLength> obj = imp->heightAnimated();
250
return toJS(exec, obj.get(), imp);
283
return toJS(exec, castedThis->globalObject(), obj.get(), imp);
253
JSValuePtr jsSVGFECompositeElementResult(ExecState* exec, const Identifier&, const PropertySlot& slot)
286
JSValue jsSVGFECompositeElementResult(ExecState* exec, const Identifier&, const PropertySlot& slot)
255
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()))->impl());
288
JSSVGFECompositeElement* castedThis = static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()));
290
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(castedThis->impl());
256
291
RefPtr<SVGAnimatedString> obj = imp->resultAnimated();
257
return toJS(exec, obj.get(), imp);
292
return toJS(exec, castedThis->globalObject(), obj.get(), imp);
260
JSValuePtr jsSVGFECompositeElementClassName(ExecState* exec, const Identifier&, const PropertySlot& slot)
295
JSValue jsSVGFECompositeElementClassName(ExecState* exec, const Identifier&, const PropertySlot& slot)
262
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()))->impl());
297
JSSVGFECompositeElement* castedThis = static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()));
299
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(castedThis->impl());
263
300
RefPtr<SVGAnimatedString> obj = imp->classNameAnimated();
264
return toJS(exec, obj.get(), imp);
267
JSValuePtr jsSVGFECompositeElementStyle(ExecState* exec, const Identifier&, const PropertySlot& slot)
269
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()))->impl());
270
return toJS(exec, WTF::getPtr(imp->style()));
273
JSValuePtr jsSVGFECompositeElementConstructor(ExecState* exec, const Identifier&, const PropertySlot& slot)
275
return static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()))->getConstructor(exec);
277
JSValuePtr JSSVGFECompositeElement::getConstructor(ExecState* exec)
279
return getDOMConstructor<JSSVGFECompositeElementConstructor>(exec);
282
JSValuePtr jsSVGFECompositeElementPrototypeFunctionGetPresentationAttribute(ExecState* exec, JSObject*, JSValuePtr thisValue, const ArgList& args)
284
if (!thisValue->isObject(&JSSVGFECompositeElement::s_info))
301
return toJS(exec, castedThis->globalObject(), obj.get(), imp);
304
JSValue jsSVGFECompositeElementStyle(ExecState* exec, const Identifier&, const PropertySlot& slot)
306
JSSVGFECompositeElement* castedThis = static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()));
308
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(castedThis->impl());
309
return toJS(exec, castedThis->globalObject(), WTF::getPtr(imp->style()));
312
JSValue jsSVGFECompositeElementConstructor(ExecState* exec, const Identifier&, const PropertySlot& slot)
314
JSSVGFECompositeElement* domObject = static_cast<JSSVGFECompositeElement*>(asObject(slot.slotBase()));
315
return JSSVGFECompositeElement::getConstructor(exec, domObject->globalObject());
317
JSValue JSSVGFECompositeElement::getConstructor(ExecState* exec, JSGlobalObject* globalObject)
319
return getDOMConstructor<JSSVGFECompositeElementConstructor>(exec, static_cast<JSDOMGlobalObject*>(globalObject));
322
JSValue JSC_HOST_CALL jsSVGFECompositeElementPrototypeFunctionGetPresentationAttribute(ExecState* exec, JSObject*, JSValue thisValue, const ArgList& args)
325
if (!thisValue.inherits(&JSSVGFECompositeElement::s_info))
285
326
return throwError(exec, TypeError);
286
327
JSSVGFECompositeElement* castedThisObj = static_cast<JSSVGFECompositeElement*>(asObject(thisValue));
287
328
SVGFECompositeElement* imp = static_cast<SVGFECompositeElement*>(castedThisObj->impl());
288
const UString& name = args.at(exec, 0)->toString(exec);
291
JSC::JSValuePtr result = toJS(exec, WTF::getPtr(imp->getPresentationAttribute(name)));
329
const UString& name = args.at(0).toString(exec);
332
JSC::JSValue result = toJS(exec, castedThisObj->globalObject(), WTF::getPtr(imp->getPresentationAttribute(name)));
295
336
// Constant getters
297
JSValuePtr jsSVGFECompositeElementSVG_FECOMPOSITE_OPERATOR_UNKNOWN(ExecState* exec, const Identifier&, const PropertySlot&)
338
JSValue jsSVGFECompositeElementSVG_FECOMPOSITE_OPERATOR_UNKNOWN(ExecState* exec, const Identifier&, const PropertySlot&)
299
340
return jsNumber(exec, static_cast<int>(0));
302
JSValuePtr jsSVGFECompositeElementSVG_FECOMPOSITE_OPERATOR_OVER(ExecState* exec, const Identifier&, const PropertySlot&)
343
JSValue jsSVGFECompositeElementSVG_FECOMPOSITE_OPERATOR_OVER(ExecState* exec, const Identifier&, const PropertySlot&)
304
345
return jsNumber(exec, static_cast<int>(1));
307
JSValuePtr jsSVGFECompositeElementSVG_FECOMPOSITE_OPERATOR_IN(ExecState* exec, const Identifier&, const PropertySlot&)
348
JSValue jsSVGFECompositeElementSVG_FECOMPOSITE_OPERATOR_IN(ExecState* exec, const Identifier&, const PropertySlot&)
309
350
return jsNumber(exec, static_cast<int>(2));
312
JSValuePtr jsSVGFECompositeElementSVG_FECOMPOSITE_OPERATOR_OUT(ExecState* exec, const Identifier&, const PropertySlot&)
353
JSValue jsSVGFECompositeElementSVG_FECOMPOSITE_OPERATOR_OUT(ExecState* exec, const Identifier&, const PropertySlot&)
314
355
return jsNumber(exec, static_cast<int>(3));
317
JSValuePtr jsSVGFECompositeElementSVG_FECOMPOSITE_OPERATOR_ATOP(ExecState* exec, const Identifier&, const PropertySlot&)
358
JSValue jsSVGFECompositeElementSVG_FECOMPOSITE_OPERATOR_ATOP(ExecState* exec, const Identifier&, const PropertySlot&)
319
360
return jsNumber(exec, static_cast<int>(4));
322
JSValuePtr jsSVGFECompositeElementSVG_FECOMPOSITE_OPERATOR_XOR(ExecState* exec, const Identifier&, const PropertySlot&)
363
JSValue jsSVGFECompositeElementSVG_FECOMPOSITE_OPERATOR_XOR(ExecState* exec, const Identifier&, const PropertySlot&)
324
365
return jsNumber(exec, static_cast<int>(5));
327
JSValuePtr jsSVGFECompositeElementSVG_FECOMPOSITE_OPERATOR_ARITHMETIC(ExecState* exec, const Identifier&, const PropertySlot&)
368
JSValue jsSVGFECompositeElementSVG_FECOMPOSITE_OPERATOR_ARITHMETIC(ExecState* exec, const Identifier&, const PropertySlot&)
329
370
return jsNumber(exec, static_cast<int>(6));