JSValue jsBarInfoVisible(ExecState* exec, JSValue slotBase, const Identifier&) { JSBarInfo* castedThis = static_cast<JSBarInfo*>(asObject(slotBase)); UNUSED_PARAM(exec); BarInfo* imp = static_cast<BarInfo*>(castedThis->impl()); JSValue result = jsBoolean(imp->visible()); return result; }
JSValue* JSBarInfo::getValueProperty(ExecState* exec, int token) const { switch (token) { case VisibleAttrNum: { BarInfo* imp = static_cast<BarInfo*>(impl()); return jsBoolean(imp->visible()); } } return 0; }