00001 /* 00002 * File: lex_yacc_parser.hh 00003 * $Id: lex_yacc_parser.hh,v 1.3 2002/05/04 17:39:22 alec Exp $ 00004 * 00005 * Author: Alec Panoviciu (alecu@email.com) 00006 * 00007 * Comments: 00008 * 00009 * Revision history: 00010 * 00011 * $Log: lex_yacc_parser.hh,v $ 00012 * Revision 1.3 2002/05/04 17:39:22 alec 00013 * the scanner works (slightly tested) 00014 * 00015 * Revision 1.2 2002/04/29 09:34:10 alec 00016 * scanner ptree building compiles 00017 * 00018 */ 00019 00020 00021 /* 00022 Copyright (C) 2002 Alexandru Panoviciu (alecu@email.com) 00023 00024 This program is free software; you can redistribute it and/or modify 00025 it under the terms of the GNU General Public License as published by 00026 the Free Software Foundation; either version 2 of the License, or 00027 (at your option) any later version. 00028 00029 This program is distributed in the hope that it will be useful, 00030 but WITHOUT ANY WARRANTY; without even the implied warranty of 00031 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00032 GNU General Public License for more details. 00033 00034 You should have received a copy of the GNU General Public License 00035 along with this program; if not, write to the Free Software 00036 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00037 00038 */ 00039 00040 #ifndef __LEX_YACC_PARSER_HH__ 00041 #define __LEX_YACC_PARSER_HH__ 00042 00043 00044 #include "iparser.hh" 00045 00050 class LexYaccParser : public IParser 00051 { 00052 public: 00053 00054 virtual bool parse (PropRegistry ®istry, 00055 ITokenSpec &tSpec, 00056 IScannerSpec &sSpec, 00057 IParserSpec &pSpec); 00058 }; 00059 00060 #endif /* #ifndef __LEX_YACC_PARSER_HH__ */