g2o
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SlamParser::Parser::syntax_error Struct Reference

Syntax errors thrown from user actions. More...

#include <bison_parser.h>

Inheritance diagram for SlamParser::Parser::syntax_error:
Inheritance graph
[legend]
Collaboration diagram for SlamParser::Parser::syntax_error:
Collaboration graph
[legend]

Public Member Functions

 syntax_error (const location_type &l, const std::string &m)
 
 syntax_error (const syntax_error &s)
 
 ~syntax_error () YY_NOEXCEPT YY_NOTHROW
 

Public Attributes

location_type location
 

Detailed Description

Syntax errors thrown from user actions.

Definition at line 216 of file bison_parser.h.

Constructor & Destructor Documentation

◆ syntax_error() [1/2]

SlamParser::Parser::syntax_error::syntax_error ( const location_type l,
const std::string &  m 
)
inline

Definition at line 217 of file bison_parser.h.

218 : std::runtime_error(m), location(l) {}

◆ syntax_error() [2/2]

SlamParser::Parser::syntax_error::syntax_error ( const syntax_error s)
inline

Definition at line 220 of file bison_parser.h.

221 : std::runtime_error(s.what()), location(s.location) {}

◆ ~syntax_error()

SlamParser::Parser::syntax_error::~syntax_error ( )

Definition at line 168 of file bison_parser.cpp.

168{}

Member Data Documentation

◆ location

location_type SlamParser::Parser::syntax_error::location

Definition at line 225 of file bison_parser.h.

Referenced by SlamParser::Parser::error().


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