2005-11-22 12:26:26 +00:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* Copyright (c) 2000-2001, Darren Hiebert
|
|
|
|
*
|
|
|
|
* This source code is released for free distribution under the terms of the
|
|
|
|
* GNU General Public License.
|
|
|
|
*
|
|
|
|
* External interface to all language parsing modules.
|
|
|
|
*
|
|
|
|
* To add a new language parser, you need only modify this single source
|
|
|
|
* file to add the name of the parser definition function.
|
|
|
|
*/
|
|
|
|
#ifndef _PARSERS_H
|
|
|
|
#define _PARSERS_H
|
|
|
|
|
|
|
|
/* Add the name of any new parser definition function here */
|
|
|
|
#define PARSER_LIST \
|
|
|
|
CParser, \
|
|
|
|
CppParser, \
|
|
|
|
JavaParser, \
|
|
|
|
MakefileParser, \
|
|
|
|
PascalParser, \
|
|
|
|
PerlParser, \
|
|
|
|
PhpParser, \
|
|
|
|
PythonParser, \
|
2006-05-16 19:04:04 +00:00
|
|
|
LaTeXParser, \
|
2006-02-22 13:49:08 +00:00
|
|
|
AsmParser, \
|
2005-11-27 20:39:57 +00:00
|
|
|
ConfParser, \
|
2006-02-22 13:49:08 +00:00
|
|
|
SqlParser, \
|
2006-01-11 18:50:44 +00:00
|
|
|
DocBookParser, \
|
2006-05-09 16:04:10 +00:00
|
|
|
CssParser, \
|
|
|
|
RubyParser, \
|
2006-05-16 19:04:04 +00:00
|
|
|
TclParser, \
|
2006-07-09 14:41:53 +00:00
|
|
|
ShParser, \
|
2006-08-15 17:57:41 +00:00
|
|
|
DParser, \
|
2006-08-27 17:39:34 +00:00
|
|
|
FortranParser, \
|
2006-10-11 19:45:40 +00:00
|
|
|
FeriteParser, \
|
2006-11-13 22:11:19 +00:00
|
|
|
DiffParser, \
|
2007-01-13 20:16:09 +00:00
|
|
|
VhdlParser, \
|
|
|
|
LuaParser, \
|
2007-05-23 12:32:06 +00:00
|
|
|
JavaScriptParser, \
|
2007-06-22 17:34:31 +00:00
|
|
|
HaskellParser, \
|
|
|
|
CsharpParser, \
|
2007-07-26 09:50:12 +00:00
|
|
|
FreeBasicParser,\
|
2007-08-14 11:50:03 +00:00
|
|
|
HaxeParser,\
|
|
|
|
RestParser
|
2005-11-22 12:26:26 +00:00
|
|
|
|
2006-06-24 14:42:56 +00:00
|
|
|
/*
|
|
|
|
langType of each parser
|
|
|
|
0 CParser
|
|
|
|
1 CppParser
|
|
|
|
2 JavaParser
|
|
|
|
3 MakefileParser
|
|
|
|
4 PascalParser
|
|
|
|
5 PerlParser
|
|
|
|
6 PhpParser
|
|
|
|
7 PythonParser
|
|
|
|
8 LaTeXParser
|
|
|
|
9 AsmParser
|
|
|
|
10 ConfParser
|
|
|
|
11 SqlParser
|
|
|
|
12 DocBookParser
|
|
|
|
13 CssParser
|
|
|
|
14 RubyParser
|
|
|
|
15 TclParser
|
|
|
|
16 ShParser
|
2006-07-09 14:41:53 +00:00
|
|
|
17 DParser
|
2006-08-15 17:57:41 +00:00
|
|
|
18 FortranParser
|
2006-08-27 17:39:34 +00:00
|
|
|
19 FeriteParser
|
2006-10-11 19:45:40 +00:00
|
|
|
20 DiffParser
|
2006-11-13 22:11:19 +00:00
|
|
|
21 VhdlParser
|
2007-01-13 20:16:09 +00:00
|
|
|
22 LuaParser
|
|
|
|
23 JavaScriptParser
|
2007-05-23 12:32:06 +00:00
|
|
|
24 HaskellParser
|
2007-06-22 17:34:31 +00:00
|
|
|
25 CsharpParser
|
|
|
|
26 FreeBasicParser
|
2007-08-14 11:50:03 +00:00
|
|
|
27 HaxeParser
|
|
|
|
28 RestParser
|
2006-06-24 14:42:56 +00:00
|
|
|
*/
|
2005-11-22 12:26:26 +00:00
|
|
|
#endif /* _PARSERS_H */
|
|
|
|
|
|
|
|
/* vi:set tabstop=8 shiftwidth=4: */
|