Re: @-directives
Re: @-directives
- Subject: Re: @-directives
- From: Roland King <email@hidden>
- Date: Fri, 09 Mar 2012 10:55:45 +0800
Good thinking ..
OBJC1_AT_KEYWORD(not_keyword)
OBJC1_AT_KEYWORD(class)
OBJC1_AT_KEYWORD(compatibility_alias)
OBJC1_AT_KEYWORD(defs)
OBJC1_AT_KEYWORD(encode)
OBJC1_AT_KEYWORD(end)
OBJC1_AT_KEYWORD(implementation)
OBJC1_AT_KEYWORD(interface)
OBJC1_AT_KEYWORD(private)
OBJC1_AT_KEYWORD(protected)
OBJC1_AT_KEYWORD(protocol)
OBJC1_AT_KEYWORD(public)
OBJC1_AT_KEYWORD(selector)
OBJC1_AT_KEYWORD(throw)
OBJC1_AT_KEYWORD(try)
OBJC1_AT_KEYWORD(catch)
OBJC1_AT_KEYWORD(finally)
OBJC1_AT_KEYWORD(synchronized)
OBJC1_AT_KEYWORD(autoreleasepool)
OBJC2_AT_KEYWORD(property)
OBJC2_AT_KEYWORD(package)
OBJC2_AT_KEYWORD(required)
OBJC2_AT_KEYWORD(optional)
OBJC2_AT_KEYWORD(synthesize)
OBJC2_AT_KEYWORD(dynamic)
OBJC2_AT_KEYWORD(__experimental_modules_import)
So I missed compatibilty_alias, defs, encode, selector (!), try, finally and dynamic. Plus possibly not_keyword and __experimental_modules_import, whatever the heck they are.
On Mar 9, 2012, at 10:18 AM, Greg Parker wrote:
> On Mar 8, 2012, at 3:04 PM, Roland King <email@hidden> wrote:
>> Can't find one (why is there not a formal language document in the documentation somewhere, perhaps because features are added every release) - maybe we can build one here
>>
>> @property
>> @synthesize
>> @class
>> @interface
>> @implementation
>> @protocol
>> @end
>> @autoreleasepool
>> @throw
>> @catch
>> @private
>> @public
>> @protected
>> @package
>> @optional
>> @required
>>
>> that's all the ones I can think of, probably missed 1/2 of them.
>
> @compatibility_alias. Don't ask.
>
> Your best bet is to dig through the compiler's code. They're probably all in one place somewhere.
>
>
> --
> Greg Parker email@hidden Runtime Wrangler
>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden