1#ifndef INC_TokenStreamRecognitionException_hpp__
2#define INC_TokenStreamRecognitionException_hpp__
11#include <antlr/config.hpp>
12#include <antlr/TokenStreamException.hpp>
14#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
32 virtual ANTLR_USE_NAMESPACE(std)
string toString()
const
37 virtual ANTLR_USE_NAMESPACE(std)
string getFilename()
const throw()
41 virtual int getLine()
const throw()
45 virtual int getColumn()
const throw()
50 RecognitionException recog;
53#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
virtual std::string getMessage() const
Return error message without additional info (if present)
virtual std::string getFileLineColumnString() const
See what file/line/column info is present and return it as a string.
virtual int getColumn() const
virtual std::string getFilename() const
Return file where mishap occurred.
virtual int getLine() const
Baseclass for exceptions thrown by classes implementing the TokenStream interface.
Exception thrown from generated lexers when there's no default error handler specified.
virtual std::string toString() const
Return complete error message with line/column number info (if present)