CPKeywordToken Class Reference
| Inherits from | CPToken : NSObject |
| Declared in | CPKeywordToken.h CPKeywordToken.m |
Overview
The CPKeywordToken class reperesents a keyword appearing in the input.
These tokens can be used to return both language keywords and predetermined operators amongst other things.
Tasks
Creating and Initialising a Keyword Token
Configuring a Keyword Token
Other Methods
-
– nameThe token name.
Class Methods
tokenWithKeyword:
+ (id)tokenWithKeyword:(NSString *)keywordReturn Value
Returns a CPKeywordToken representing the specified keyword.
See Also
Declared In
CPKeywordToken.hInstance Methods
initWithKeyword:
- (id)initWithKeyword:(NSString *)keywordReturn Value
Returns a CPKeywordToken representing the specified keyword.
See Also
Declared In
CPKeywordToken.h