Token Class Reference

Holds information about tokens produced by scanner. More...

#import <token.h>

List of all members.

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


Detailed Description

Holds information about tokens produced by scanner.

Bug:
We should include the filename in the token.


Member Function Documentation

- (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


The documentation for this class was generated from the following files:
Generated on Mon Dec 24 06:11:59 2007 for gfront by  doxygen 1.5.2