Support multiple ranges for selectors


Selectors are like method names for other languages.

For example:

@interface Obj
-(void) foo:(int) data withTime:(Time *) t forDuration:(Duration *) d;
Obj *o = ...
[o foo:290 withTime: time forDuration: d];

foo:withTime:forDuration would be the selector. When we are linking to/from the method, the method identifier text would be the ranges for foo, withTime, and forDuration. These are three different ranges, a range from the start of foo to the end of forDuration would incorrectly include extra text like the parameters.

salguarnieri created this task.Via WebMar 6 2017, 8:56 AM
salguarnieri added a project: Objective-C.
salguarnieri added a subscriber: salguarnieri.
Herald added a subscriber: Core Team. · View Herald TranscriptVia HeraldMar 6 2017, 8:56 AM
fromberger added a project: Schema.Via WebMar 6 2017, 9:14 AM
fromberger added a subscriber: fromberger.

Add Comment