LKCategoryDef class documentation

Authors

Generated by builder

Software documentation for the LKCategoryDef class

LKCategoryDef : LKAST

Declared in:
LKCategory.h

AST node representing a new category definition.


Instance Variables

Method summary

categoryOnClassNamed: methods: 

+ (id) categoryOnClassNamed: (NSString*)aName methods: (NSArray*)aMethodList;

Returns a new anonymous category.


categoryWithName: onClassNamed: methods: 

+ (id) categoryWithName: (NSString*)aName onClassNamed: (NSString*)aClass methods: (NSArray*)aMethodList;

Return a new Category with the specified name, class and list of methods. The third argument is an array of AST nodes representing methods.


methods 

- (NSMutableArray*) methods;

Returns the methods.




Instance Variables for LKCategoryDef Class

categoryName

@protected NSString* categoryName;

Name of the category.


classname

@protected NSString* classname;

Name of this class.


methods

@protected NSMutableArray* methods;

Array of methods defined in this category.