CPIdentifierToken Class Reference
| Inherits from | CPToken : NSObject |
| Declared in | CPIdentifierToken.h CPIdentifierToken.m |
Overview
The CPIdentifierToken class reperesents an identifier appearing in the input.
These tokens return @"Identifier" as their name.
Tasks
Creating and Initialising an Identifier Token
-
+ tokenWithIdentifier:Creates an identifier token with the identifier found in the input.
-
– initWithIdentifier:Initialises an identifier token with the identifier found in the input.
Configuring an Identifier Token
-
identifierThe identifier found in the input stream
property
Other Methods
-
– nameThe token name.
Class Methods
tokenWithIdentifier:
Creates an identifier token with the identifier found in the input.
+ (id)tokenWithIdentifier:(NSString *)identifierParameters
- identifier
The identifier found in the input stream.
Return Value
Returns a CPIdentifierToken representing the specified identifier.
Discussion
Creates an identifier token with the identifier found in the input.
See Also
Declared In
CPIdentifierToken.hInstance Methods
initWithIdentifier:
Initialises an identifier token with the identifier found in the input.
- (id)initWithIdentifier:(NSString *)identifierParameters
- identifier
The identifier found in the input stream.
Return Value
Returns a CPIdentifierToken representing the specified identifier.
Discussion
Initialises an identifier token with the identifier found in the input.
See Also
Declared In
CPIdentifierToken.h