24 #ifndef TORC_GENERIC_EDIF_DRIVER_HPP
25 #define TORC_GENERIC_EDIF_DRIVER_HPP
33 #include <boost/shared_ptr.hpp>
36 namespace torc {
namespace generic {
class EdifContext; } }
37 namespace torc {
namespace generic {
class Scanner; } }
142 #endif // TORC_GENERIC_EDIF_DRIVER_HPP
boost::shared_ptr< EdifContext > EdifContextSharedPtr
Driver(const EdifContextSharedPtr &inEdifCntx)
construct a new parser driver context
boost::shared_ptr< Error > ErrorSharedPtr
The Error object thrown by different methods of EdifOM.
Error getParserError() const
EdifContextSharedPtr mEdifCntx
bool parseStream(std::istream &inStream, const std::string &inStreamName="stream input")
bool parseFile(const std::string &inFileName)
EdifContextSharedPtr getContext() const
Scanner * getLexer() const
void error(const class location &inLocation, const std::string &inMessage)
void setParserError(const Error &inSource)
std::string & getStreamName()
bool parseString(const std::string &inString, const std::string &inStreamName="string stream")
bool getIsParserErrorSet() const