1/*
2 This file is part of the WebKit open source project.
3 This file has been generated by generate-bindings.pl. DO NOT MODIFY!
4
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.
9
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.
14
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.
19*/
20
21#include "config.h"
22#include "JSSVGPathSegArcRel.h"
23
24#include "JSDOMAttribute.h"
25#include "JSDOMBinding.h"
26#include "JSDOMConstructorNotConstructable.h"
27#include "JSDOMConvertBoolean.h"
28#include "JSDOMConvertNumbers.h"
29#include "JSDOMExceptionHandling.h"
30#include "JSDOMWrapperCache.h"
31#include "ScriptExecutionContext.h"
32#include <JavaScriptCore/HeapSnapshotBuilder.h>
33#include <JavaScriptCore/JSCInlines.h>
34#include <wtf/GetPtr.h>
35#include <wtf/PointerPreparations.h>
36#include <wtf/URL.h>
37
38
39namespace WebCore {
40using namespace JSC;
41
42// Attributes
43
44JSC::EncodedJSValue jsSVGPathSegArcRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName);
45bool setJSSVGPathSegArcRelConstructor(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue);
46JSC::EncodedJSValue jsSVGPathSegArcRelX(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName);
47bool setJSSVGPathSegArcRelX(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue);
48JSC::EncodedJSValue jsSVGPathSegArcRelY(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName);
49bool setJSSVGPathSegArcRelY(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue);
50JSC::EncodedJSValue jsSVGPathSegArcRelR1(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName);
51bool setJSSVGPathSegArcRelR1(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue);
52JSC::EncodedJSValue jsSVGPathSegArcRelR2(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName);
53bool setJSSVGPathSegArcRelR2(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue);
54JSC::EncodedJSValue jsSVGPathSegArcRelAngle(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName);
55bool setJSSVGPathSegArcRelAngle(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue);
56JSC::EncodedJSValue jsSVGPathSegArcRelLargeArcFlag(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName);
57bool setJSSVGPathSegArcRelLargeArcFlag(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue);
58JSC::EncodedJSValue jsSVGPathSegArcRelSweepFlag(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName);
59bool setJSSVGPathSegArcRelSweepFlag(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue);
60
61class JSSVGPathSegArcRelPrototype : public JSC::JSNonFinalObject {
62public:
63 using Base = JSC::JSNonFinalObject;
64 static JSSVGPathSegArcRelPrototype* create(JSC::VM& vm, JSDOMGlobalObject* globalObject, JSC::Structure* structure)
65 {
66 JSSVGPathSegArcRelPrototype* ptr = new (NotNull, JSC::allocateCell<JSSVGPathSegArcRelPrototype>(vm.heap)) JSSVGPathSegArcRelPrototype(vm, globalObject, structure);
67 ptr->finishCreation(vm);
68 return ptr;
69 }
70
71 DECLARE_INFO;
72 static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
73 {
74 return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());
75 }
76
77private:
78 JSSVGPathSegArcRelPrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
79 : JSC::JSNonFinalObject(vm, structure)
80 {
81 }
82
83 void finishCreation(JSC::VM&);
84};
85
86using JSSVGPathSegArcRelConstructor = JSDOMConstructorNotConstructable<JSSVGPathSegArcRel>;
87
88template<> JSValue JSSVGPathSegArcRelConstructor::prototypeForStructure(JSC::VM& vm, const JSDOMGlobalObject& globalObject)
89{
90 return JSSVGPathSeg::getConstructor(vm, &globalObject);
91}
92
93template<> void JSSVGPathSegArcRelConstructor::initializeProperties(VM& vm, JSDOMGlobalObject& globalObject)
94{
95 putDirect(vm, vm.propertyNames->prototype, JSSVGPathSegArcRel::prototype(vm, globalObject), JSC::PropertyAttribute::DontDelete | JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::DontEnum);
96 putDirect(vm, vm.propertyNames->name, jsNontrivialString(&vm, String("SVGPathSegArcRel"_s)), JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::DontEnum);
97 putDirect(vm, vm.propertyNames->length, jsNumber(0), JSC::PropertyAttribute::ReadOnly | JSC::PropertyAttribute::DontEnum);
98}
99
100template<> const ClassInfo JSSVGPathSegArcRelConstructor::s_info = { "SVGPathSegArcRel", &Base::s_info, nullptr, nullptr, CREATE_METHOD_TABLE(JSSVGPathSegArcRelConstructor) };
101
102/* Hash table for prototype */
103
104static const HashTableValue JSSVGPathSegArcRelPrototypeTableValues[] =
105{
106 { "constructor", static_cast<unsigned>(JSC::PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPathSegArcRelConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSSVGPathSegArcRelConstructor) } },
107 { "x", static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor | JSC::PropertyAttribute::DOMAttribute), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPathSegArcRelX), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSSVGPathSegArcRelX) } },
108 { "y", static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor | JSC::PropertyAttribute::DOMAttribute), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPathSegArcRelY), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSSVGPathSegArcRelY) } },
109 { "r1", static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor | JSC::PropertyAttribute::DOMAttribute), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPathSegArcRelR1), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSSVGPathSegArcRelR1) } },
110 { "r2", static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor | JSC::PropertyAttribute::DOMAttribute), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPathSegArcRelR2), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSSVGPathSegArcRelR2) } },
111 { "angle", static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor | JSC::PropertyAttribute::DOMAttribute), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPathSegArcRelAngle), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSSVGPathSegArcRelAngle) } },
112 { "largeArcFlag", static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor | JSC::PropertyAttribute::DOMAttribute), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPathSegArcRelLargeArcFlag), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSSVGPathSegArcRelLargeArcFlag) } },
113 { "sweepFlag", static_cast<unsigned>(JSC::PropertyAttribute::CustomAccessor | JSC::PropertyAttribute::DOMAttribute), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsSVGPathSegArcRelSweepFlag), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSSVGPathSegArcRelSweepFlag) } },
114};
115
116const ClassInfo JSSVGPathSegArcRelPrototype::s_info = { "SVGPathSegArcRelPrototype", &Base::s_info, nullptr, nullptr, CREATE_METHOD_TABLE(JSSVGPathSegArcRelPrototype) };
117
118void JSSVGPathSegArcRelPrototype::finishCreation(VM& vm)
119{
120 Base::finishCreation(vm);
121 reifyStaticProperties(vm, JSSVGPathSegArcRel::info(), JSSVGPathSegArcRelPrototypeTableValues, *this);
122}
123
124const ClassInfo JSSVGPathSegArcRel::s_info = { "SVGPathSegArcRel", &Base::s_info, nullptr, nullptr, CREATE_METHOD_TABLE(JSSVGPathSegArcRel) };
125
126JSSVGPathSegArcRel::JSSVGPathSegArcRel(Structure* structure, JSDOMGlobalObject& globalObject, Ref<SVGPathSegArcRel>&& impl)
127 : JSSVGPathSeg(structure, globalObject, WTFMove(impl))
128{
129}
130
131void JSSVGPathSegArcRel::finishCreation(VM& vm)
132{
133 Base::finishCreation(vm);
134 ASSERT(inherits(vm, info()));
135
136}
137
138JSObject* JSSVGPathSegArcRel::createPrototype(VM& vm, JSDOMGlobalObject& globalObject)
139{
140 return JSSVGPathSegArcRelPrototype::create(vm, &globalObject, JSSVGPathSegArcRelPrototype::createStructure(vm, &globalObject, JSSVGPathSeg::prototype(vm, globalObject)));
141}
142
143JSObject* JSSVGPathSegArcRel::prototype(VM& vm, JSDOMGlobalObject& globalObject)
144{
145 return getDOMPrototype<JSSVGPathSegArcRel>(vm, globalObject);
146}
147
148JSValue JSSVGPathSegArcRel::getConstructor(VM& vm, const JSGlobalObject* globalObject)
149{
150 return getDOMConstructor<JSSVGPathSegArcRelConstructor>(vm, *jsCast<const JSDOMGlobalObject*>(globalObject));
151}
152
153template<> inline JSSVGPathSegArcRel* IDLAttribute<JSSVGPathSegArcRel>::cast(ExecState& state, EncodedJSValue thisValue)
154{
155 return jsDynamicCast<JSSVGPathSegArcRel*>(state.vm(), JSValue::decode(thisValue));
156}
157
158EncodedJSValue jsSVGPathSegArcRelConstructor(ExecState* state, EncodedJSValue thisValue, PropertyName)
159{
160 VM& vm = state->vm();
161 auto throwScope = DECLARE_THROW_SCOPE(vm);
162 auto* prototype = jsDynamicCast<JSSVGPathSegArcRelPrototype*>(vm, JSValue::decode(thisValue));
163 if (UNLIKELY(!prototype))
164 return throwVMTypeError(state, throwScope);
165 return JSValue::encode(JSSVGPathSegArcRel::getConstructor(state->vm(), prototype->globalObject()));
166}
167
168bool setJSSVGPathSegArcRelConstructor(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue)
169{
170 VM& vm = state->vm();
171 auto throwScope = DECLARE_THROW_SCOPE(vm);
172 auto* prototype = jsDynamicCast<JSSVGPathSegArcRelPrototype*>(vm, JSValue::decode(thisValue));
173 if (UNLIKELY(!prototype)) {
174 throwVMTypeError(state, throwScope);
175 return false;
176 }
177 // Shadowing a built-in constructor
178 return prototype->putDirect(vm, vm.propertyNames->constructor, JSValue::decode(encodedValue));
179}
180
181static inline JSValue jsSVGPathSegArcRelXGetter(ExecState& state, JSSVGPathSegArcRel& thisObject, ThrowScope& throwScope)
182{
183 UNUSED_PARAM(throwScope);
184 UNUSED_PARAM(state);
185 auto& impl = thisObject.wrapped();
186 JSValue result = toJS<IDLUnrestrictedFloat>(state, throwScope, impl.x());
187 return result;
188}
189
190EncodedJSValue jsSVGPathSegArcRelX(ExecState* state, EncodedJSValue thisValue, PropertyName)
191{
192 return IDLAttribute<JSSVGPathSegArcRel>::get<jsSVGPathSegArcRelXGetter, CastedThisErrorBehavior::Assert>(*state, thisValue, "x");
193}
194
195static inline bool setJSSVGPathSegArcRelXSetter(ExecState& state, JSSVGPathSegArcRel& thisObject, JSValue value, ThrowScope& throwScope)
196{
197 UNUSED_PARAM(throwScope);
198 auto& impl = thisObject.wrapped();
199 auto nativeValue = convert<IDLUnrestrictedFloat>(state, value);
200 RETURN_IF_EXCEPTION(throwScope, false);
201 AttributeSetter::call(state, throwScope, [&] {
202 return impl.setX(WTFMove(nativeValue));
203 });
204 return true;
205}
206
207bool setJSSVGPathSegArcRelX(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue)
208{
209 return IDLAttribute<JSSVGPathSegArcRel>::set<setJSSVGPathSegArcRelXSetter>(*state, thisValue, encodedValue, "x");
210}
211
212static inline JSValue jsSVGPathSegArcRelYGetter(ExecState& state, JSSVGPathSegArcRel& thisObject, ThrowScope& throwScope)
213{
214 UNUSED_PARAM(throwScope);
215 UNUSED_PARAM(state);
216 auto& impl = thisObject.wrapped();
217 JSValue result = toJS<IDLUnrestrictedFloat>(state, throwScope, impl.y());
218 return result;
219}
220
221EncodedJSValue jsSVGPathSegArcRelY(ExecState* state, EncodedJSValue thisValue, PropertyName)
222{
223 return IDLAttribute<JSSVGPathSegArcRel>::get<jsSVGPathSegArcRelYGetter, CastedThisErrorBehavior::Assert>(*state, thisValue, "y");
224}
225
226static inline bool setJSSVGPathSegArcRelYSetter(ExecState& state, JSSVGPathSegArcRel& thisObject, JSValue value, ThrowScope& throwScope)
227{
228 UNUSED_PARAM(throwScope);
229 auto& impl = thisObject.wrapped();
230 auto nativeValue = convert<IDLUnrestrictedFloat>(state, value);
231 RETURN_IF_EXCEPTION(throwScope, false);
232 AttributeSetter::call(state, throwScope, [&] {
233 return impl.setY(WTFMove(nativeValue));
234 });
235 return true;
236}
237
238bool setJSSVGPathSegArcRelY(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue)
239{
240 return IDLAttribute<JSSVGPathSegArcRel>::set<setJSSVGPathSegArcRelYSetter>(*state, thisValue, encodedValue, "y");
241}
242
243static inline JSValue jsSVGPathSegArcRelR1Getter(ExecState& state, JSSVGPathSegArcRel& thisObject, ThrowScope& throwScope)
244{
245 UNUSED_PARAM(throwScope);
246 UNUSED_PARAM(state);
247 auto& impl = thisObject.wrapped();
248 JSValue result = toJS<IDLUnrestrictedFloat>(state, throwScope, impl.r1());
249 return result;
250}
251
252EncodedJSValue jsSVGPathSegArcRelR1(ExecState* state, EncodedJSValue thisValue, PropertyName)
253{
254 return IDLAttribute<JSSVGPathSegArcRel>::get<jsSVGPathSegArcRelR1Getter, CastedThisErrorBehavior::Assert>(*state, thisValue, "r1");
255}
256
257static inline bool setJSSVGPathSegArcRelR1Setter(ExecState& state, JSSVGPathSegArcRel& thisObject, JSValue value, ThrowScope& throwScope)
258{
259 UNUSED_PARAM(throwScope);
260 auto& impl = thisObject.wrapped();
261 auto nativeValue = convert<IDLUnrestrictedFloat>(state, value);
262 RETURN_IF_EXCEPTION(throwScope, false);
263 AttributeSetter::call(state, throwScope, [&] {
264 return impl.setR1(WTFMove(nativeValue));
265 });
266 return true;
267}
268
269bool setJSSVGPathSegArcRelR1(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue)
270{
271 return IDLAttribute<JSSVGPathSegArcRel>::set<setJSSVGPathSegArcRelR1Setter>(*state, thisValue, encodedValue, "r1");
272}
273
274static inline JSValue jsSVGPathSegArcRelR2Getter(ExecState& state, JSSVGPathSegArcRel& thisObject, ThrowScope& throwScope)
275{
276 UNUSED_PARAM(throwScope);
277 UNUSED_PARAM(state);
278 auto& impl = thisObject.wrapped();
279 JSValue result = toJS<IDLUnrestrictedFloat>(state, throwScope, impl.r2());
280 return result;
281}
282
283EncodedJSValue jsSVGPathSegArcRelR2(ExecState* state, EncodedJSValue thisValue, PropertyName)
284{
285 return IDLAttribute<JSSVGPathSegArcRel>::get<jsSVGPathSegArcRelR2Getter, CastedThisErrorBehavior::Assert>(*state, thisValue, "r2");
286}
287
288static inline bool setJSSVGPathSegArcRelR2Setter(ExecState& state, JSSVGPathSegArcRel& thisObject, JSValue value, ThrowScope& throwScope)
289{
290 UNUSED_PARAM(throwScope);
291 auto& impl = thisObject.wrapped();
292 auto nativeValue = convert<IDLUnrestrictedFloat>(state, value);
293 RETURN_IF_EXCEPTION(throwScope, false);
294 AttributeSetter::call(state, throwScope, [&] {
295 return impl.setR2(WTFMove(nativeValue));
296 });
297 return true;
298}
299
300bool setJSSVGPathSegArcRelR2(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue)
301{
302 return IDLAttribute<JSSVGPathSegArcRel>::set<setJSSVGPathSegArcRelR2Setter>(*state, thisValue, encodedValue, "r2");
303}
304
305static inline JSValue jsSVGPathSegArcRelAngleGetter(ExecState& state, JSSVGPathSegArcRel& thisObject, ThrowScope& throwScope)
306{
307 UNUSED_PARAM(throwScope);
308 UNUSED_PARAM(state);
309 auto& impl = thisObject.wrapped();
310 JSValue result = toJS<IDLUnrestrictedFloat>(state, throwScope, impl.angle());
311 return result;
312}
313
314EncodedJSValue jsSVGPathSegArcRelAngle(ExecState* state, EncodedJSValue thisValue, PropertyName)
315{
316 return IDLAttribute<JSSVGPathSegArcRel>::get<jsSVGPathSegArcRelAngleGetter, CastedThisErrorBehavior::Assert>(*state, thisValue, "angle");
317}
318
319static inline bool setJSSVGPathSegArcRelAngleSetter(ExecState& state, JSSVGPathSegArcRel& thisObject, JSValue value, ThrowScope& throwScope)
320{
321 UNUSED_PARAM(throwScope);
322 auto& impl = thisObject.wrapped();
323 auto nativeValue = convert<IDLUnrestrictedFloat>(state, value);
324 RETURN_IF_EXCEPTION(throwScope, false);
325 AttributeSetter::call(state, throwScope, [&] {
326 return impl.setAngle(WTFMove(nativeValue));
327 });
328 return true;
329}
330
331bool setJSSVGPathSegArcRelAngle(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue)
332{
333 return IDLAttribute<JSSVGPathSegArcRel>::set<setJSSVGPathSegArcRelAngleSetter>(*state, thisValue, encodedValue, "angle");
334}
335
336static inline JSValue jsSVGPathSegArcRelLargeArcFlagGetter(ExecState& state, JSSVGPathSegArcRel& thisObject, ThrowScope& throwScope)
337{
338 UNUSED_PARAM(throwScope);
339 UNUSED_PARAM(state);
340 auto& impl = thisObject.wrapped();
341 JSValue result = toJS<IDLBoolean>(state, throwScope, impl.largeArcFlag());
342 return result;
343}
344
345EncodedJSValue jsSVGPathSegArcRelLargeArcFlag(ExecState* state, EncodedJSValue thisValue, PropertyName)
346{
347 return IDLAttribute<JSSVGPathSegArcRel>::get<jsSVGPathSegArcRelLargeArcFlagGetter, CastedThisErrorBehavior::Assert>(*state, thisValue, "largeArcFlag");
348}
349
350static inline bool setJSSVGPathSegArcRelLargeArcFlagSetter(ExecState& state, JSSVGPathSegArcRel& thisObject, JSValue value, ThrowScope& throwScope)
351{
352 UNUSED_PARAM(throwScope);
353 auto& impl = thisObject.wrapped();
354 auto nativeValue = convert<IDLBoolean>(state, value);
355 RETURN_IF_EXCEPTION(throwScope, false);
356 AttributeSetter::call(state, throwScope, [&] {
357 return impl.setLargeArcFlag(WTFMove(nativeValue));
358 });
359 return true;
360}
361
362bool setJSSVGPathSegArcRelLargeArcFlag(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue)
363{
364 return IDLAttribute<JSSVGPathSegArcRel>::set<setJSSVGPathSegArcRelLargeArcFlagSetter>(*state, thisValue, encodedValue, "largeArcFlag");
365}
366
367static inline JSValue jsSVGPathSegArcRelSweepFlagGetter(ExecState& state, JSSVGPathSegArcRel& thisObject, ThrowScope& throwScope)
368{
369 UNUSED_PARAM(throwScope);
370 UNUSED_PARAM(state);
371 auto& impl = thisObject.wrapped();
372 JSValue result = toJS<IDLBoolean>(state, throwScope, impl.sweepFlag());
373 return result;
374}
375
376EncodedJSValue jsSVGPathSegArcRelSweepFlag(ExecState* state, EncodedJSValue thisValue, PropertyName)
377{
378 return IDLAttribute<JSSVGPathSegArcRel>::get<jsSVGPathSegArcRelSweepFlagGetter, CastedThisErrorBehavior::Assert>(*state, thisValue, "sweepFlag");
379}
380
381static inline bool setJSSVGPathSegArcRelSweepFlagSetter(ExecState& state, JSSVGPathSegArcRel& thisObject, JSValue value, ThrowScope& throwScope)
382{
383 UNUSED_PARAM(throwScope);
384 auto& impl = thisObject.wrapped();
385 auto nativeValue = convert<IDLBoolean>(state, value);
386 RETURN_IF_EXCEPTION(throwScope, false);
387 AttributeSetter::call(state, throwScope, [&] {
388 return impl.setSweepFlag(WTFMove(nativeValue));
389 });
390 return true;
391}
392
393bool setJSSVGPathSegArcRelSweepFlag(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue)
394{
395 return IDLAttribute<JSSVGPathSegArcRel>::set<setJSSVGPathSegArcRelSweepFlagSetter>(*state, thisValue, encodedValue, "sweepFlag");
396}
397
398void JSSVGPathSegArcRel::heapSnapshot(JSCell* cell, HeapSnapshotBuilder& builder)
399{
400 auto* thisObject = jsCast<JSSVGPathSegArcRel*>(cell);
401 builder.setWrappedObjectForCell(cell, &thisObject->wrapped());
402 if (thisObject->scriptExecutionContext())
403 builder.setLabelForCell(cell, "url " + thisObject->scriptExecutionContext()->url().string());
404 Base::heapSnapshot(cell, builder);
405}
406
407
408}
409