forked from pmougin/F-Script
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathFSCNMessage.h
24 lines (20 loc) · 929 Bytes
/
FSCNMessage.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* FSCNMessage.h Copyright (c) 2008-2009 Philippe Mougin. */
/* This software is open source. See the license. */
#import "FSCNBase.h"
#import "FSMsgContext.h"
#import "FSPattern.h"
@interface FSCNMessage : FSCNBase
{
@public
FSCNBase *receiver;
SEL selector;
NSString *selectorString; // We need to keep the selector string because, in GC mode, SELs for retain, release, etc. are all represented by a special unusable SEL (i.e. "<ignored selector>")
FSPattern *pattern;
FSMsgContext *msgContext;
}
- (void)dealloc;
- (void)encodeWithCoder:(NSCoder *)coder;
- (id)initWithCoder:(NSCoder *)coder;
- (id)initWithReceiver:(FSCNBase *)theReceiver selectorString:(NSString *)theSelectorString pattern:(FSPattern *)thePattern; // theSelectorString is the representation of the real selector (e.g., "operator_plus" instead of "+")
- (void)translateCharRange:(int32_t)translation;
@end