CPErrorToken Class Reference
| Inherits from | CPToken : NSObject |
| Declared in | CPErrorToken.h CPErrorToken.m |
Overview
The CPErrorToken class reperesents an error during tokenisation.
These tokens return @"Error" as their name. They may carry an error message with them.
Tasks
Other Methods
-
errorMessageThe error message generated when the tokeniser failed.
property -
+ errorWithMessage:Creates and initializes a new CPErrorToken with a given message.
-
– initWithMesage:Returns a CPErrorToken initialized with a given message.
Other Methods
-
– nameThe token name.
Class Methods
errorWithMessage:
Creates and initializes a new CPErrorToken with a given message.
+ (id)errorWithMessage:(NSString *)errorMessageParameters
- errorMessage
The message for the error.
Return Value
A CPErrorToken with the message.
Discussion
Creates and initializes a new CPErrorToken with a given message.
Declared In
CPErrorToken.hInstance Methods
initWithMesage:
Returns a CPErrorToken initialized with a given message.
- (id)initWithMesage:(NSString *)errorMessageParameters
- errorMessage
The message for the error.
Return Value
A CPErrorToken with the message.
Discussion
Returns a CPErrorToken initialized with a given message.
Declared In
CPErrorToken.h