Public Member Functions | Public Attributes | List of all members
Rose::BinaryAnalysis::SymbolicExpressionParser::SyntaxError Class Reference


Syntax errors that are thrown.

Definition at line 35 of file SymbolicExpressionParser.h.

#include <Rose/BinaryAnalysis/SymbolicExpressionParser.h>

Inheritance diagram for Rose::BinaryAnalysis::SymbolicExpressionParser::SyntaxError:
Inheritance graph
Collaboration diagram for Rose::BinaryAnalysis::SymbolicExpressionParser::SyntaxError:
Collaboration graph

Public Member Functions

 SyntaxError (const std::string &mesg, const std::string &inputName, unsigned lineNumber, unsigned columnNumber)
void print (std::ostream &) const
 Print error message to stream. More...
- Public Member Functions inherited from Rose::Exception
 Exception (const std::string &s)
 Construct an exception with an error message. More...

Public Attributes

std::string inputName
 Name of input, usually a file name. More...
unsigned lineNumber
 Line number (1-origin). More...
unsigned columnNumber
 Column number (0-origin). More...

Member Function Documentation

void Rose::BinaryAnalysis::SymbolicExpressionParser::SyntaxError::print ( std::ostream &  ) const

Print error message to stream.

Member Data Documentation

std::string Rose::BinaryAnalysis::SymbolicExpressionParser::SyntaxError::inputName

Name of input, usually a file name.

Definition at line 37 of file SymbolicExpressionParser.h.

unsigned Rose::BinaryAnalysis::SymbolicExpressionParser::SyntaxError::lineNumber

Line number (1-origin).

Zero if position info is not available.

Definition at line 38 of file SymbolicExpressionParser.h.

unsigned Rose::BinaryAnalysis::SymbolicExpressionParser::SyntaxError::columnNumber

Column number (0-origin).

Unused when lineNumber is zero.

Definition at line 39 of file SymbolicExpressionParser.h.

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