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

Description

Syntax errors that are thrown.

Definition at line 35 of file SymbolicExprParser.h.

#include <Rose/BinaryAnalysis/SymbolicExprParser.h>

Inheritance diagram for Rose::BinaryAnalysis::SymbolicExprParser::SyntaxError:
Inheritance graph
[legend]
Collaboration diagram for Rose::BinaryAnalysis::SymbolicExprParser::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. 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::SymbolicExprParser::SyntaxError::print ( std::ostream &  ) const

Print error message to stream.

Member Data Documentation

std::string Rose::BinaryAnalysis::SymbolicExprParser::SyntaxError::inputName

Name of input, usually a file name.

Definition at line 37 of file SymbolicExprParser.h.

unsigned Rose::BinaryAnalysis::SymbolicExprParser::SyntaxError::lineNumber

Line number (1-origin).

Zero if position info is not available.

Definition at line 38 of file SymbolicExprParser.h.

unsigned Rose::BinaryAnalysis::SymbolicExprParser::SyntaxError::columnNumber

Column number (0-origin).

Unused when lineNumber is zero.

Definition at line 39 of file SymbolicExprParser.h.


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