00001 /* 00002 * File: dfa_generator.hh 00003 * $Id: dfa_generator.hh,v 1.3 2002/05/27 02:59:16 alec Exp $ 00004 * 00005 * Author: Alec Panovici (alecu@email.com) 00006 * 00007 * Comments: 00008 * 00009 * Revision history: 00010 * 00011 * $Log: dfa_generator.hh,v $ 00012 * Revision 1.3 2002/05/27 02:59:16 alec 00013 * doc update 00014 * 00015 * Revision 1.2 2002/05/04 17:39:22 alec 00016 * the scanner works (slightly tested) 00017 * 00018 * Revision 1.1 2002/04/30 16:26:38 alec 00019 * my big endian will eat your little endian 00020 * 00021 */ 00022 00023 00024 /* 00025 Copyright (C) 2002 Alexandru Panoviciu (alecu@email.com) 00026 00027 This program is free software; you can redistribute it and/or modify 00028 it under the terms of the GNU General Public License as published by 00029 the Free Software Foundation; either version 2 of the License, or 00030 (at your option) any later version. 00031 00032 This program is distributed in the hope that it will be useful, 00033 but WITHOUT ANY WARRANTY; without even the implied warranty of 00034 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00035 GNU General Public License for more details. 00036 00037 You should have received a copy of the GNU General Public License 00038 along with this program; if not, write to the Free Software 00039 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00040 00041 */ 00042 00043 #ifndef __DFA_GENERATOR_HH__ 00044 #define __DFA_GENERATOR_HH__ 00045 00046 #include "debug.h" 00047 #include "parse_util.hh" 00048 00049 class ScannerDfaSpec; 00050 class PropRegistry; 00051 class ScannerSpec; 00052 class ITokenSpec; 00053 00060 class DfaGenerator 00061 { 00062 public: 00063 00071 ScannerDfaSpec& createScannerDfa (PropRegistry ®istry, 00072 ScannerSpec &scanner, 00073 ITokenSpec &tokens); 00074 }; 00075 00076 #endif /* #ifndef __DFA_GENERATOR_HH__ */