Documentation

LKMethod documentation

LKMethod : LKAST

AuthorsGenerated by builder
Declared inLKMethod.h

Overview

AST node representing a method.


Default

+ (id) methodWithSignature: (LKMessageSend *)aSignature locals: (NSMutableArray *)locals statements: (NSMutableArray *)statementList

Return a new Method with the specified signature, locals and statements.

    - (id) initWithSignature: (LKMessageSend *)aSignature locals: (NSMutableArray *)locals statements: (NSMutableArray *)statementList

    Initialise a new Method with the specified signature, locals and statements.

      - (void) setSignature: (LKMessageSend *)aSignature

      Set the method signature for this method.

        - (NSString *) methodBody

        Returns the method's body

          - (BOOL) isClassMethod

          Returns YES if this is a class method.