00001 /* 00002 * File: token_writer.hh 00003 * $Id: token_writer.hh,v 1.2 2002/07/09 03:04:58 alec Exp $ 00004 * 00005 * Author: Alec Panoviciu (alecu@email.com) 00006 * 00007 * Comments: 00008 * 00009 * Revision history: 00010 * 00011 * $Log: token_writer.hh,v $ 00012 * Revision 1.2 2002/07/09 03:04:58 alec 00013 * OWN_STRINGS bu*beep*it finally vanished 00014 * gcc 3.1&mingw - related cleanups 00015 * 00016 * Revision 1.1 2002/05/04 17:46:53 alec 00017 * *** empty log message *** 00018 * 00019 */ 00020 00021 00022 /* 00023 Copyright (C) 2002 Alexandru Panoviciu (alecu@email.com) 00024 00025 This program is free software; you can redistribute it and/or modify 00026 it under the terms of the GNU General Public License as published by 00027 the Free Software Foundation; either version 2 of the License, or 00028 (at your option) any later version. 00029 00030 This program is distributed in the hope that it will be useful, 00031 but WITHOUT ANY WARRANTY; without even the implied warranty of 00032 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00033 GNU General Public License for more details. 00034 00035 You should have received a copy of the GNU General Public License 00036 along with this program; if not, write to the Free Software 00037 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00038 00039 */ 00040 00041 #ifndef __TOKEN_WRITER_HH__ 00042 #define __TOKEN_WRITER_HH__ 00043 00044 #include "debug.h" 00045 #include "writer.hh" 00046 00047 00048 class TokenSpec; 00049 class PropRegistry; 00050 00054 class TokenWriter : public Writer 00055 { 00056 public: 00057 00058 TokenWriter (PropRegistry ®istry_) : Writer (registry_) 00059 {} 00060 00061 void writeTokenClass (TokenSpec &tSpec, const string &scannerClassName); 00062 }; 00063 00064 #endif /* #ifndef __TOKEN_WRITER_HH__ */