31 #ifndef LEFPARSER_DRIVER_H
32 #define LEFPARSER_DRIVER_H
86 const string& sname =
"stream input");
94 const string& sname =
"string stream");
121 #endif // EXAMPLE_DRIVER_H
bool parse_file(const string &filename)
bool parse_stream(std::istream &in, const string &sname="stream input")
string streamname
stream name (file or input stream) used for error messages.
bool read(LefDataBase &db, const string &lefFile)
API for LefParser. Read LEF file and initialize database by calling user-defined callback functions...
Custom class that inheritates LefParser::LefDataBase with all the required callbacks defined...
bool trace_scanning
enable debug output in the flex scanner
bool trace_parsing
enable debug output in the bison parser
Base class for lef database. Only pure virtual functions are defined. User needs to inheritate this c...
bool parse_string(const string &input, const string &sname="string stream")