CPWhiteSpaceToken Class Reference
| Inherits from | CPToken : NSObject |
| Declared in | CPWhiteSpaceToken.h CPWhiteSpaceToken.m |
Overview
The CPWhiteSpaceToken class reperesents some white space appearing in the input.
These tokens return @"Whitespace" as their name.
Tasks
Creating and Initialising a WhiteSpace Token
-
+ whiteSpace:Creates a white space token with the white space found in the input.
-
– initWithWhiteSpace:Initialises a white space token with the white space found in the input.
Configuring a WhiteSpace Token
-
whiteSpaceThe white space string found in the input stream.
property
Other Methods
-
– nameThe token name.
Class Methods
whiteSpace:
Creates a white space token with the white space found in the input.
+ (id)whiteSpace:(NSString *)whiteSpaceParameters
- whiteSpace
The white space found in the input stream.
Return Value
Returns a CPWhiteSpaceToken representing the specified white space.
Discussion
Creates a white space token with the white space found in the input.
See Also
Declared In
CPWhiteSpaceToken.hInstance Methods
initWithWhiteSpace:
Initialises a white space token with the white space found in the input.
- (id)initWithWhiteSpace:(NSString *)whiteSpaceParameters
- whiteSpace
The white space found in the input stream.
Return Value
Returns a CPWhiteSpaceToken representing the specified white space.
Discussion
Initialises a white space token with the white space found in the input.
See Also
Declared In
CPWhiteSpaceToken.h