src/token.h

Go to the documentation of this file.
00001 /* -*- Mode: objc; c-basic-offset: 2; tab-width: 2 indent-tabs-mode: nil -*- */
00002 /* vim: set filetype=objc ts=2 sw=2 expandtab: */
00003 
00004 
00005 /*
00006  * Copyright (C) 2007 Neil Dantam
00007  *               2007 Jeff Seibert
00008  *
00009  * This program is free software: you can redistribute it and/or modify it
00010  * under the terms of the GNU General Public License, verson 3 ONLY, as
00011  * published by the Free Software Foundation.
00012  * 
00013  * This program is distributed in the hope that it will be useful, but WITHOUT
00014  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00015  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
00016  * more details.
00017  * 
00018  * You should have received a copy of the GNU General Public License along with
00019  * this program.  If not, see <http://www.gnu.org/licenses/>.
00020  */
00021 
00022 
00027 #ifndef _TOKEN_H_
00028 #define _TOKEN_H_
00029 
00030  
00031 #include <objc/Object.h>
00032 
00037 @interface Token: Object {
00038   int line;   
00039   char *str;  
00040 }
00041 
00044 -(void) str: (char*) s;
00045 
00047 -(char*) str;
00048 
00051 -(void) setStr: (char*) s;
00052 
00054 -(char*) getStr;
00055 
00057 -(int) line;
00058 
00060 -(Token *) init: (char*) s line: (int) l ;
00061 
00062 @end
00063 #endif

Generated on Mon Dec 24 06:11:58 2007 for gfront by  doxygen 1.5.2