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

Description

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
[legend]
Collaboration diagram for Rose::BinaryAnalysis::SymbolicExpressionParser::SyntaxError:
Collaboration graph
[legend]

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.
 
- Public Member Functions inherited from Rose::Exception
 Exception (const std::string &s)
 Construct an exception with an error message.
 

Public Attributes

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

Constructor & Destructor Documentation

◆ ~SyntaxError()

Rose::BinaryAnalysis::SymbolicExpressionParser::SyntaxError::~SyntaxError ( )
throw (
)
inline

Definition at line 41 of file SymbolicExpressionParser.h.

Member Data Documentation

◆ inputName

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

Name of input, usually a file name.

Definition at line 37 of file SymbolicExpressionParser.h.

◆ lineNumber

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.

◆ columnNumber

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: