OpenMD 3.0
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
antlr::NoViableAltException Class Reference
+ Inheritance diagram for antlr::NoViableAltException:

Public Member Functions

 NoViableAltException (RefAST t)
 
 NoViableAltException (RefToken t, const std ::string &fileName_)
 
std::string getMessage () const
 Returns a clean error message (no line number/column information)
 
- Public Member Functions inherited from antlr::RecognitionException
 RecognitionException (const std ::string &s)
 
 RecognitionException (const std ::string &s, const std ::string &fileName, int line, int column)
 
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 Member Functions inherited from antlr::ANTLRException
 ANTLRException ()
 Create ANTLR base exception without error message.
 
 ANTLRException (const std ::string &s)
 Create ANTLR base exception with error message.
 

Public Attributes

const RefToken token
 
const RefAST node
 

Additional Inherited Members

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

Detailed Description

Definition at line 20 of file NoViableAltException.hpp.

Constructor & Destructor Documentation

◆ NoViableAltException() [1/2]

antlr::NoViableAltException::NoViableAltException ( RefAST t)

Definition at line 17 of file NoViableAltException.cpp.

◆ NoViableAltException() [2/2]

antlr::NoViableAltException::NoViableAltException ( RefToken t,
const std ::string & fileName_ )

Definition at line 23 of file NoViableAltException.cpp.

◆ ~NoViableAltException()

antlr::NoViableAltException::~NoViableAltException ( )
throw ( )
inline

Definition at line 28 of file NoViableAltException.hpp.

Member Function Documentation

◆ getMessage()

std::string antlr::NoViableAltException::getMessage ( ) const
virtual

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

Reimplemented from antlr::ANTLRException.

Definition at line 31 of file NoViableAltException.cpp.

Member Data Documentation

◆ node

const RefAST antlr::NoViableAltException::node

Definition at line 23 of file NoViableAltException.hpp.

◆ token

const RefToken antlr::NoViableAltException::token

Definition at line 22 of file NoViableAltException.hpp.


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