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
-
– name
The token name.
Class Methods
tokenWithKeyword:
+ (id)tokenWithKeyword:(NSString *)keyword
Return Value
Returns a CPKeywordToken representing the specified keyword.
See Also
Declared In
CPKeywordToken.h
Instance Methods
initWithKeyword:
- (id)initWithKeyword:(NSString *)keyword
Return Value
Returns a CPKeywordToken representing the specified keyword.
See Also
Declared In
CPKeywordToken.h