/Frameworks/Foundation/objj.platform/CPCoder.j
http://github.com/jfahrenkrug/MapKit-HelloWorld · Unknown · 60 lines · 60 code · 0 blank · 0 comment · 0 complexity · d6c1f203c0f32ac1d0db67bebb5cbf9f MD5 · raw file
- i;10;CPObject.ji;13;CPException.jc;1894;
- var _1=objj_allocateClassPair(CPObject,"CPCoder"),_2=_1.isa;
- objj_registerClassPair(_1);
- objj_addClassForBundle(_1,objj_getBundleWithPath(OBJJ_CURRENT_BUNDLE.path));
- class_addMethods(_1,[new objj_method(sel_getUid("allowsKeyedCoding"),function(_3,_4){
- with(_3){
- return NO;
- }
- }),new objj_method(sel_getUid("encodeValueOfObjCType:at:"),function(_5,_6,_7,_8){
- with(_5){
- CPInvalidAbstractInvocation();
- }
- }),new objj_method(sel_getUid("encodeDataObject:"),function(_9,_a,_b){
- with(_9){
- CPInvalidAbstractInvocation();
- }
- }),new objj_method(sel_getUid("encodeObject:"),function(_c,_d,_e){
- with(_c){
- }
- }),new objj_method(sel_getUid("encodePoint:"),function(_f,_10,_11){
- with(_f){
- objj_msgSend(_f,"encodeNumber:",_11.x);
- objj_msgSend(_f,"encodeNumber:",_11.y);
- }
- }),new objj_method(sel_getUid("encodeRect:"),function(_12,_13,_14){
- with(_12){
- objj_msgSend(_12,"encodePoint:",_14.origin);
- objj_msgSend(_12,"encodeSize:",_14.size);
- }
- }),new objj_method(sel_getUid("encodeSize:"),function(_15,_16,_17){
- with(_15){
- objj_msgSend(_15,"encodeNumber:",_17.width);
- objj_msgSend(_15,"encodeNumber:",_17.height);
- }
- }),new objj_method(sel_getUid("encodePropertyList:"),function(_18,_19,_1a){
- with(_18){
- }
- }),new objj_method(sel_getUid("encodeRootObject:"),function(_1b,_1c,_1d){
- with(_1b){
- objj_msgSend(_1b,"encodeObject:",_1d);
- }
- }),new objj_method(sel_getUid("encodeBycopyObject:"),function(_1e,_1f,_20){
- with(_1e){
- objj_msgSend(_1e,"encodeObject:",object);
- }
- }),new objj_method(sel_getUid("encodeConditionalObject:"),function(_21,_22,_23){
- with(_21){
- objj_msgSend(_21,"encodeObject:",object);
- }
- })]);
- var _1=objj_getClass("CPObject");
- if(!_1){
- objj_exception_throw(new objj_exception(OBJJClassNotFoundException,"*** Could not find definition for class \"CPObject\""));
- }
- var _2=_1.isa;
- class_addMethods(_1,[new objj_method(sel_getUid("awakeAfterUsingCoder:"),function(_24,_25,_26){
- with(_24){
- return _24;
- }
- })]);