src
parser.h
Go to the documentation of this file.
1 #ifndef _RE2C_PARSE_PARSER_
2 #define _RE2C_PARSE_PARSER_
3 
4 #include <list>
5 #include <string>
6 
7 #include "src/codegen/output.h"
8 #include "src/ir/regexp/regexp.h"
10 #include "src/parse/scanner.h"
11 #include "src/parse/spec.h"
12 
13 namespace re2c
14 {
15 
16 extern void parse(Scanner &, Output &);
17 extern void parse_cleanup();
18 
19 typedef std::set<std::string> CondList;
20 typedef std::list<RuleOp*> RuleOpList;
21 typedef std::map<std::string, Spec> SpecMap;
22 typedef std::map<std::string, std::pair<uint32_t, std::string> > SetupMap;
23 typedef std::map<std::string, const Code *> DefaultMap;
24 typedef std::map<std::string, RegExp *> symbol_table_t;
25 
26 } // namespace re2c
27 
28 #endif // _RE2C_PARSE_PARSER_
std::map< std::string, std::pair< uint32_t, std::string > > SetupMap
Definition: parser.h:22
void parse(Scanner &, Output &)
std::map< std::string, RegExp * > symbol_table_t
Definition: parser.h:24
std::set< std::string > CondList
Definition: parser.h:19
std::map< std::string, const Code * > DefaultMap
Definition: parser.h:23
std::map< std::string, Spec > SpecMap
Definition: parser.h:21
std::list< RuleOp * > RuleOpList
Definition: parser.h:20
void parse_cleanup()
Definition: bitmap.cc:10