CPNumberToken Class Reference
| Inherits from | CPToken : NSObject |
| Declared in | CPNumberToken.h CPNumberToken.m |
Overview
The CPNumberToken class reperesents a number appearing in the input.
These tokens return @"Number" as their name.
Tasks
Creating and Initialising a Number Token
-
+ tokenWithNumber: -
– initWithNumber:Initialises a number token with the number found in the input.
Configuring a Number Token
-
numberThe number found in the input stream.
property
Other Methods
-
– nameThe token name.