PKToken(GBToken) Category Reference
| Declared in | PKToken+GBToken.h PKToken+GBToken.m  | 
Tasks
Other Methods
- 
	
		
– matches:Determines if this token's string value is equal to the given string. - 
	
		
– contains:Determines if this token's string value contains the given string. - 
	
		
– isAppledocCommentDetermines whether this token is an appledoc comment. 
Other Methods
- 
	
		
– matches:Determines if this token's string value is equal to the given string. - 
	
		
– contains:Determines if this token's string value contains the given string. - 
	
		
– isAppledocCommentDetermines whether this token is an appledoc comment. 
Instance Methods
contains:
Determines if this token's string value contains the given string.
- (BOOL)contains:(NSString *)stringParameters
- string
 - The string to compare with.
 
Return Value
Returns YES if the string value contains string, NO otherwise.
Declared In
PKToken+GBToken.hisAppledocComment
Determines whether this token is an appledoc comment.
- (BOOL)isAppledocCommentReturn Value
Returns YES if the token represents appledoc comment, NO otherwise.
Discussion
The method returns YES if the token is a comment and it has special appledoc comment prefix which for single line comments is composed of three slashes and for multiple line comments from a single slash and two stars.
Declared In
PKToken+GBToken.h