ROSE  0.11.145.0
matcherparser_decls.h
1 #ifndef _parser_decls_h
2 #define _parser_decls_h
3 
4 #include <string>
5 
6 // These are global declarations needed for the lexer and parser files.
7 
8 // Match operations classes
9 #include "MatchOperation.h"
10 
11 // Front End specific classes
12 class CCompiler;
13 void InitializeParser(const std::string& inString);
14 void FinishParser();
15 
16 void InitializeLexer(const std::string& tokenizeString);
17 void FinishLexer();
18 
19 extern char* matcherparsertext;
20 extern int matcherparserlineno;
21 extern bool matcherparserdeprecated;
22 int matcherparserlex();
23 int matcherparserparse();
24 void matcherparsererror(const char*);
25 
26 #endif