jackyglony / objectiveclipse

Automatically exported from code.google.com/p/objectiveclipse
0 stars 0 forks source link

Support parsing block format #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Blocks are new (for 10.6) as a way of allowing functions to be passed in. We 
should parse the 
syntax for blocks in ObjectivEClipse, even if we can't do much with it at the 
moment. 

http://developer.apple.com/mac/library/documentation/General/Conceptual/DevPedia
-
CocoaCore/Block.html

Example from above:

int (^oneFrom)(int);

oneFrom = ^(int anInt) {
    return anInt - 1;
};

Original issue reported on code.google.com by alex.ble...@gmail.com on 3 Sep 2009 at 10:26

GoogleCodeExporter commented 9 years ago
Should be doable to at least parse them. I'll have a look when I get some free 
time.

Original comment by rrusaw@gmail.com on 9 Sep 2009 at 6:10

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Initial implementation in r142

Original comment by rrusaw@gmail.com on 18 Sep 2009 at 1:29