GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
parse_exception Class Reference
Inheritance diagram for parse_exception:
Collaboration diagram for parse_exception:

Public Member Functions

 parse_exception (const parse_exception &)=default
 
 parse_exception (const std::string &message, const std::string &fcn_name="", const std::string &file_name="", int line=-1, int column=-1)
 
 ~parse_exception (void)=default
 
int column (void) const
 
std::string fcn_name (void) const
 
std::string file_name (void) const
 
int line (void) const
 
std::string message (void) const
 
parse_exceptionoperator= (const parse_exception &)=default
 
const char * what (void) const noexcept
 

Private Attributes

int m_column
 
std::string m_fcn_name
 
std::string m_file_name
 
int m_line
 
std::string m_message
 

Detailed Description

Definition at line 6496 of file oct-parse.cc.

Constructor & Destructor Documentation

◆ parse_exception() [1/2]

parse_exception::parse_exception ( const std::string &  message,
const std::string &  fcn_name = "",
const std::string &  file_name = "",
int  line = -1,
int  column = -1 
)
inline

Definition at line 6500 of file oct-parse.cc.

◆ parse_exception() [2/2]

parse_exception::parse_exception ( const parse_exception )
default

◆ ~parse_exception()

parse_exception::~parse_exception ( void  )
default

Member Function Documentation

◆ column()

int parse_exception::column ( void  ) const
inline

Definition at line 6524 of file oct-parse.cc.

Referenced by base_parser::bison_error().

◆ fcn_name()

std::string parse_exception::fcn_name ( void  ) const
inline

Definition at line 6520 of file oct-parse.cc.

◆ file_name()

std::string parse_exception::file_name ( void  ) const
inline

Definition at line 6521 of file oct-parse.cc.

◆ line()

int parse_exception::line ( void  ) const
inline

Definition at line 6523 of file oct-parse.cc.

Referenced by base_parser::bison_error().

◆ message()

std::string parse_exception::message ( void  ) const
inline

Definition at line 6515 of file oct-parse.cc.

Referenced by base_parser::bison_error().

◆ operator=()

parse_exception& parse_exception::operator= ( const parse_exception )
default

◆ what()

const char* parse_exception::what ( void  ) const
inlinenoexcept

Definition at line 6518 of file oct-parse.cc.

Member Data Documentation

◆ m_column

int parse_exception::m_column
private

Definition at line 6535 of file oct-parse.cc.

◆ m_fcn_name

std::string parse_exception::m_fcn_name
private

Definition at line 6532 of file oct-parse.cc.

◆ m_file_name

std::string parse_exception::m_file_name
private

Definition at line 6533 of file oct-parse.cc.

◆ m_line

int parse_exception::m_line
private

Definition at line 6534 of file oct-parse.cc.

◆ m_message

std::string parse_exception::m_message
private

Definition at line 6530 of file oct-parse.cc.


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