| Declared in | PKToken+GBToken.h<br />PKToken+GBToken.m |
Defines extensions to PKToken which simplify parsing code.
- 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.
- isAppledocComment
Determines whether this token is an appledoc comment.
- 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.
- isAppledocComment
Determines whether this token is an appledoc comment.
Determines if this token's string value contains the given string.
- (BOOL)contains:(NSString *)string Returns YES if the string value contains string, NO otherwise.
Determines if this token's string value contains the given string.
PKToken+GBToken.hPKToken+GBToken.mDetermines whether this token is an appledoc comment.
- (BOOL)isAppledocComment Returns YES if the token represents appledoc comment, NO otherwise.
Determines whether this token is an appledoc comment.
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.
PKToken+GBToken.hPKToken+GBToken.mDetermines if this token's string value is equal to the given string.
- (BOOL)matches:(NSString *)string Returns YES if the string value is equal, NO otherwise.
Determines if this token's string value is equal to the given string.
PKToken+GBToken.hPKToken+GBToken.m