1 /* $Id: parser.h 854 2008-03-24 16:41:12Z helly $ */
18 static Symbol
*find(const SubStr
&);
19 static void ClearTable();
21 typedef std::map
<std::string
, Symbol
*> SymbolTable
;
23 const Str
& GetName() const
30 Symbol(const SubStr
& str
)
38 static SymbolTable symbol_table
;
43 Symbol(const Symbol
& oth
)
48 Symbol
& operator = (const Symbol
& oth
)
50 new(this) Symbol(oth
);
56 extern void parse(Scanner
&, std::ostream
&, std::ostream
*);
57 extern void parse_cleanup();
59 } // end namespace re2c