PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1i;10;CPObject.ji;13;CPException.jc;1894;
 2var _1=objj_allocateClassPair(CPObject,"CPCoder"),_2=_1.isa;
 3objj_registerClassPair(_1);
 4objj_addClassForBundle(_1,objj_getBundleWithPath(OBJJ_CURRENT_BUNDLE.path));
 5class_addMethods(_1,[new objj_method(sel_getUid("allowsKeyedCoding"),function(_3,_4){
 6with(_3){
 7return NO;
 8}
 9}),new objj_method(sel_getUid("encodeValueOfObjCType:at:"),function(_5,_6,_7,_8){
10with(_5){
11CPInvalidAbstractInvocation();
12}
13}),new objj_method(sel_getUid("encodeDataObject:"),function(_9,_a,_b){
14with(_9){
15CPInvalidAbstractInvocation();
16}
17}),new objj_method(sel_getUid("encodeObject:"),function(_c,_d,_e){
18with(_c){
19}
20}),new objj_method(sel_getUid("encodePoint:"),function(_f,_10,_11){
21with(_f){
22objj_msgSend(_f,"encodeNumber:",_11.x);
23objj_msgSend(_f,"encodeNumber:",_11.y);
24}
25}),new objj_method(sel_getUid("encodeRect:"),function(_12,_13,_14){
26with(_12){
27objj_msgSend(_12,"encodePoint:",_14.origin);
28objj_msgSend(_12,"encodeSize:",_14.size);
29}
30}),new objj_method(sel_getUid("encodeSize:"),function(_15,_16,_17){
31with(_15){
32objj_msgSend(_15,"encodeNumber:",_17.width);
33objj_msgSend(_15,"encodeNumber:",_17.height);
34}
35}),new objj_method(sel_getUid("encodePropertyList:"),function(_18,_19,_1a){
36with(_18){
37}
38}),new objj_method(sel_getUid("encodeRootObject:"),function(_1b,_1c,_1d){
39with(_1b){
40objj_msgSend(_1b,"encodeObject:",_1d);
41}
42}),new objj_method(sel_getUid("encodeBycopyObject:"),function(_1e,_1f,_20){
43with(_1e){
44objj_msgSend(_1e,"encodeObject:",object);
45}
46}),new objj_method(sel_getUid("encodeConditionalObject:"),function(_21,_22,_23){
47with(_21){
48objj_msgSend(_21,"encodeObject:",object);
49}
50})]);
51var _1=objj_getClass("CPObject");
52if(!_1){
53objj_exception_throw(new objj_exception(OBJJClassNotFoundException,"*** Could not find definition for class \"CPObject\""));
54}
55var _2=_1.isa;
56class_addMethods(_1,[new objj_method(sel_getUid("awakeAfterUsingCoder:"),function(_24,_25,_26){
57with(_24){
58return _24;
59}
60})]);