JSValue* JSSVGAnimatedString::getValueProperty(ExecState* exec, int token) const { switch (token) { case BaseValAttrNum: { SVGAnimatedString* imp = static_cast<SVGAnimatedString*>(impl()); return jsString(exec, imp->baseVal()); } case AnimValAttrNum: { SVGAnimatedString* imp = static_cast<SVGAnimatedString*>(impl()); return jsString(exec, imp->animVal()); } } return 0; }
static v8::Handle<v8::Value> animValAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) { SVGAnimatedString* imp = V8SVGAnimatedString::toNative(info.Holder()); return v8String(imp->animVal(), info.GetIsolate()); }