g2o
Loading...
Searching...
No Matches
SlamParser::Parser::syntax_error Struct Reference

Syntax errors thrown from user actions. More...

#include <bison_parser.h>

Inheritance diagram for SlamParser::Parser::syntax_error:
Collaboration diagram for SlamParser::Parser::syntax_error:

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) {}

References location.

Referenced by syntax_error().

◆ 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) {}

References location, and syntax_error().

◆ ~syntax_error()

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

Definition at line 168 of file bison_parser.cpp.

168{}

References YY_NOEXCEPT, and YY_NOTHROW.

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(), syntax_error(), and syntax_error().


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