LKModule class documentation

Authors

Generated by builder

Contents -

  1. Software documentation for the LKModule class
  2. LKModule variables

Software documentation for the LKModule class

LKModule : LKAST

Declared in:
LKModule.h

AST node representing a module - a set of classes and categories compiled together.


Instance Variables

Method summary

module 

+ (id) module;

Return a new autoreleased module.


addCategory: 

- (void) addCategory: (LKCategory*)aCategory;

Add a new category to this module.


addClass: 

- (void) addClass: (LKSubclass*)aClass;

Add a new class to this module.


addPragmas: 

- (void) addPragmas: (NSDictionary*)aDict;

Add compile-time pragmas.


allCategories 

- (NSArray*) allCategories;

Returns the categories in this module


allClasses 

- (NSArray*) allClasses;

Returns the classes in this module


pragmas 

- (NSDictionary*) pragmas;

Returns the pragmas in this module


typesForMethod: 

- (NSArray*) typesForMethod: (NSString*)methodName;

Returns an array of the types for a given selector name.




Instance Variables for LKModule Class

categories

@protected NSMutableArray* categories;

Categories defined in this module.


classes

@protected NSMutableArray* classes;

Classes defined in this module.


pragmas

@protected NSMutableDictionary* pragmas;

Current pragmas


typeOverrides

@protected NSMutableDictionary* typeOverrides;

Manually-specified method types.





LKModule variables

LKCompilerDidCompileNewClassesNotification

NSString* LKCompilerDidCompileNewClassesNotification;

Notification posted when new classes have been compiled.