ANTLR Support Libraries 2.7.1+
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
Public Member Functions | Public Attributes
NoViableAltException Class Reference

#include <NoViableAltException.hpp>

Inheritance diagram for NoViableAltException:
Inheritance graph
[legend]
Collaboration diagram for NoViableAltException:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NoViableAltException (RefAST t)
 NoViableAltException (RefToken t, const std::string &fileName_)
 ~NoViableAltException () throw ()
std::string getMessage () const
- 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.

Public Attributes

const RefToken token
const RefAST node

Additional Inherited Members

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

Constructor & Destructor Documentation

NoViableAltException::NoViableAltException ( RefAST  t)
NoViableAltException::NoViableAltException ( RefToken  t,
const std::string &  fileName_ 
)
NoViableAltException::~NoViableAltException ( ) throw ()
inline

Member Function Documentation

std::string NoViableAltException::getMessage ( ) const

Returns a clean error message (no line number/column information)


Member Data Documentation

const RefAST NoViableAltException::node
const RefToken NoViableAltException::token

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