#import <token.h>
Public Member Functions | |
(void) | - str: |
sets token string. | |
(char *) | - str |
gets token string | |
(void) | - setStr: |
sets token string. | |
(char *) | - getStr |
gets token string | |
(int) | - line |
gets line number token appeared on | |
(Token *) | - init:line: |
initializes token | |
Protected Attributes | |
int | line |
line number this token appeared on | |
char * | str |
string value of this token |
- (void) str: | (char *) | s |
sets token string.
Makes copy of s in instance
- (void) setStr: | (char *) | s |
sets token string.
Makes copy of s in instance