ANTLR Support Libraries 2.7.1+
Loading...
Searching...
No Matches
SemanticException Class Reference

#include <SemanticException.hpp>

Inheritance diagram for SemanticException:
Collaboration diagram for SemanticException:

Public Member Functions

 SemanticException (const std ::string &s)
 SemanticException (const std ::string &s, const std ::string &fileName_, int line_, int column_)
 ~SemanticException () throw ()
Public Member Functions inherited from RecognitionException
 RecognitionException ()
 RecognitionException (const std ::string &s)
 RecognitionException (const std ::string &s, const std ::string &fileName, int line, int column)
virtual ~RecognitionException () throw ()
virtual std::string getFilename () const throw ()
 Return file where mishap occurred.
virtual int getLine () const throw ()
virtual int getColumn () const throw ()
virtual std::string toString () const
 Return complete error message with line/column number info (if present)
virtual std::string getFileLineColumnString () const
 See what file/line/column info is present and return it as a string.

Additional Inherited Members

Protected Attributes inherited from RecognitionException
std::string fileName
int line
int column

Constructor & Destructor Documentation

◆ SemanticException() [1/2]

SemanticException::SemanticException ( const std ::string & s)
inline

◆ SemanticException() [2/2]

SemanticException::SemanticException ( const std ::string & s,
const std ::string & fileName_,
int line_,
int column_ )
inline

◆ ~SemanticException()

SemanticException::~SemanticException ( )
throw ( )
inline

The documentation for this class was generated from the following file: