TokenStreamIOException.hpp
上传用户:afrynkmhm
上传日期:2007-01-06
资源大小:1262k
文件大小:1k
源码类别:
编译器/解释器
开发平台:
Others
- #ifndef INC_TokenStreamIOException_hpp__
- #define INC_TokenStreamIOException_hpp__
- #include "antlr/config.hpp"
- #include "antlr/TokenStreamException.hpp"
- #include <exception>
- ANTLR_BEGIN_NAMESPACE(antlr)
- class TokenStreamIOException : public TokenStreamException {
- public:
- ANTLR_USE_NAMESPACE(std)exception io;
- TokenStreamIOException() {}
- TokenStreamIOException(const ANTLR_USE_NAMESPACE(std)exception& e)
- : TokenStreamException(e.what()), io(e) {}
- };
- ANTLR_END_NAMESPACE
- #endif //INC_TokenStreamIOException_hpp__