JSValue jsSVGPathSegLinetoVerticalRelY(ExecState* exec, JSValue slotBase, const Identifier&) { JSSVGPathSegLinetoVerticalRel* castedThis = static_cast<JSSVGPathSegLinetoVerticalRel*>(asObject(slotBase)); UNUSED_PARAM(exec); SVGPathSegLinetoVerticalRel* imp = static_cast<SVGPathSegLinetoVerticalRel*>(castedThis->impl()); JSValue result = jsNumber(imp->y()); return result; }
JSValue* JSSVGPathSegLinetoVerticalRel::getValueProperty(ExecState* exec, int token) const { switch (token) { case YAttrNum: { SVGPathSegLinetoVerticalRel* imp = static_cast<SVGPathSegLinetoVerticalRel*>(impl()); return jsNumber(exec, imp->y()); } } return 0; }
static v8::Handle<v8::Value> yAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) { SVGPathSegLinetoVerticalRel* imp = V8SVGPathSegLinetoVerticalRel::toNative(info.Holder()); return v8::Number::New(imp->y()); }