LKBlockExpr class documentation

Authors

Generated by builder

Software documentation for the LKBlockExpr class

LKBlockExpr : LKAST

Declared in:
LKBlockExpr.h

AST node representing a block closure expression.


Instance Variables

Method summary

blockWithArguments: locals: statements: 

+ (id) blockWithArguments: (NSMutableArray*)arguments locals: (NSMutableArray*)locals statements: (NSMutableArray*)statementList;

Return a new Block with the specified arguments, locals and statements.


initWithArguments: locals: statements: 

- (id) initWithArguments: (NSMutableArray*)arguments locals: (NSMutableArray*)locals statements: (NSMutableArray*)statementList;

Initialise a new Block with the specified arguments, locals and statements.


setStatements: 

- (void) setStatements: (NSMutableArray*)anArray;

Set the statements in this node.


statements 

- (NSMutableArray*) statements;

Returns the list of statements in the block




Instance Variables for LKBlockExpr Class

statements

@protected NSMutableArray* statements;

List of statements in this node.