LKReturn documentation

Authors

Generated by builder

Contents -

  1. Software documentation for the LKBlockReturn class
  2. Software documentation for the LKReturn class

Software documentation for the LKBlockReturn class

LKBlockReturn : LKReturn

Declared in:
LKReturn.h

AST node representing a block return.

Software documentation for the LKReturn class

LKReturn : LKAST

Declared in:
LKReturn.h

AST node representing a method return.


Instance Variables

Method summary

returnWithExpr: 

+ (id) returnWithExpr: (LKAST*)anExpression;

Autoreleased instance with an expression containing the value to return.


expression 

- (LKAST*) expression;

Returns the return statement's expression AST node.


initWithExpr: 

- (id) initWithExpr: (LKAST*)anExpression;

Initialise with an expression containing the value to return.




Instance Variables for LKReturn Class

ret

@protected LKAST* ret;

Value to be returned.