LKMessageSend documentation

Authors

Generated by builder

Contents -

  1. Software documentation for the LKMessageCascade class
  2. Software documentation for the LKMessageSend class

Software documentation for the LKMessageCascade class

LKMessageCascade : LKAST

Declared in:
LKMessageSend.h

Send an array of messages to the same receiver. The receiver expression will be evaluated once and each message will be sent to this receiver.


Instance Variables

Method summary

messageCascadeWithTarget: messages: 

+ (LKMessageCascade*) messageCascadeWithTarget: (LKAST*)aTarget messages: (NSMutableArray*)messageArray;
Description forthcoming.

addMessage: 

- (void) addMessage: (LKMessageSend*)aMessage;
Description forthcoming.



Instance Variables for LKMessageCascade Class

messages

@protected NSMutableArray* messages;
Description forthcoming.

receiver

@protected LKAST* receiver;
Description forthcoming.




Software documentation for the LKMessageSend class

LKMessageSend : LKAST

Declared in:
LKMessageSend.h

AST node representing a message send operation.


Instance Variables

Method summary

message 

+ (id) message;

Return a new message send.


messageWithSelectorName: 

+ (id) messageWithSelectorName: (NSString*)aSelector;

Return a new message send with the specified selector.


messageWithSelectorName: arguments: 

+ (id) messageWithSelectorName: (NSString*)aSelector arguments: (NSArray*)args;

Return a new message send with the specified selector and arguments.


addArgument: 

- (void) addArgument: (id)anObject;

Add an argument.


addSelectorComponent: 

- (void) addSelectorComponent: (NSString*)aSelector;

Add a component of the selector.


arguments 

- (NSArray*) arguments;

Return all of the arguments of this message.


initWithSelectorName: 

- (id) initWithSelectorName: (NSString*)aSelector;

Initialize with the specified selector.


selector 

- (NSString*) selector;

Return the selector.


setTarget: 

- (void) setTarget: (id)anObject;

Set the receiver of the message.


target 

- (id) target;

Return the target




Instance Variables for LKMessageSend Class

arguments

@protected NSMutableArray* arguments;

Array of AST nodes which evaluate to the message arguments.


selector

@protected NSString* selector;

The message selector.


target

@protected id target;

Receiver of the message.


type

@protected NSArray* type;

Array of possible type encodings for the method