g2o
Loading...
Searching...
No Matches
bison_parser.h File Reference
#include <cstdlib>
#include <iostream>
#include <stdexcept>
#include <string>
#include <vector>
#include "location.hh"
Include dependency graph for bison_parser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SlamParser::Parser
 A Bison parser. More...
union  SlamParser::Parser::value_type
 Symbol semantic values. More...
struct  SlamParser::Parser::syntax_error
 Syntax errors thrown from user actions. More...
struct  SlamParser::Parser::token
 Token kinds. More...
struct  SlamParser::Parser::symbol_kind
 Symbol kinds. More...
struct  SlamParser::Parser::basic_symbol< Base >
struct  SlamParser::Parser::by_kind
 Type access provider for token (enum) based symbols. More...
struct  SlamParser::Parser::symbol_type
 "External" symbols: returned by the scanner. More...
class  SlamParser::Parser::context
struct  SlamParser::Parser::by_state
 Type access provider for state based symbols. More...
struct  SlamParser::Parser::stack_symbol_type
 "Internal" symbol: element of the stack. More...
class  SlamParser::Parser::stack< T, S >
 A stack with random access from its top. More...
class  SlamParser::Parser::stack< T, S >::slice
 Present a slice of the top of a stack. More...

Namespaces

namespace  SlamParser

Macros

#define YY_CPLUSPLUS   199711L
#define YY_MOVE
#define YY_MOVE_OR_COPY   copy
#define YY_MOVE_REF(Type)
#define YY_RVREF(Type)
#define YY_COPY(Type)
#define YY_NOEXCEPT
#define YY_NOTHROW   throw()
#define YY_CONSTEXPR
#define YY_ATTRIBUTE_PURE
#define YY_ATTRIBUTE_UNUSED
#define YY_USE(E)
#define YY_INITIAL_VALUE(Value)
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
#define YY_IGNORE_USELESS_CAST_BEGIN
#define YY_IGNORE_USELESS_CAST_END
#define YY_CAST(Type, Val)
#define YY_REINTERPRET_CAST(Type, Val)
#define SLAMPARSERDEBUG   0

Detailed Description

Define the SlamParser::parser class.

Definition in file bison_parser.h.

Macro Definition Documentation

◆ SLAMPARSERDEBUG

#define SLAMPARSERDEBUG   0

Definition at line 179 of file bison_parser.h.

◆ YY_ATTRIBUTE_PURE

#define YY_ATTRIBUTE_PURE

Definition at line 95 of file bison_parser.h.

◆ YY_ATTRIBUTE_UNUSED

#define YY_ATTRIBUTE_UNUSED

Definition at line 103 of file bison_parser.h.

◆ YY_CAST

#define YY_CAST ( Type,
Val )
Value:
((Type)(Val))

Definition at line 154 of file bison_parser.h.

Referenced by SlamParser::Parser::context::expected_tokens(), and SlamParser::Parser::by_state::kind().

◆ YY_CONSTEXPR

#define YY_CONSTEXPR

Definition at line 87 of file bison_parser.h.

◆ YY_COPY

#define YY_COPY ( Type)
Value:
const Type&

Definition at line 71 of file bison_parser.h.

◆ YY_CPLUSPLUS

#define YY_CPLUSPLUS   199711L

Definition at line 56 of file bison_parser.h.

◆ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

Definition at line 131 of file bison_parser.h.

◆ YY_IGNORE_MAYBE_UNINITIALIZED_END

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

Definition at line 132 of file bison_parser.h.

◆ YY_IGNORE_USELESS_CAST_BEGIN

#define YY_IGNORE_USELESS_CAST_BEGIN

Definition at line 145 of file bison_parser.h.

◆ YY_IGNORE_USELESS_CAST_END

#define YY_IGNORE_USELESS_CAST_END

Definition at line 146 of file bison_parser.h.

◆ YY_INITIAL_VALUE

#define YY_INITIAL_VALUE ( Value)
Value:
Value

Definition at line 128 of file bison_parser.h.

◆ YY_MOVE

◆ YY_MOVE_OR_COPY

#define YY_MOVE_OR_COPY   copy

Definition at line 68 of file bison_parser.h.

◆ YY_MOVE_REF

#define YY_MOVE_REF ( Type)
Value:
Type&

Definition at line 69 of file bison_parser.h.

◆ YY_NOEXCEPT

#define YY_NOEXCEPT

Definition at line 79 of file bison_parser.h.

Referenced by SlamParser::Parser::basic_symbol< by_state >::basic_symbol(), SlamParser::Parser::stack< stack_symbol_type >::begin(), SlamParser::Parser::by_kind::by_kind(), SlamParser::Parser::by_kind::by_kind(), SlamParser::Parser::by_kind::by_kind(), SlamParser::Parser::by_state::by_state(), SlamParser::Parser::by_state::by_state(), SlamParser::Parser::by_state::by_state(), SlamParser::Parser::basic_symbol< by_state >::clear(), SlamParser::Parser::by_kind::clear(), SlamParser::Parser::by_state::clear(), SlamParser::Parser::stack< stack_symbol_type >::clear(), SlamParser::Parser::basic_symbol< Base >::empty(), SlamParser::Parser::basic_symbol< by_state >::empty(), SlamParser::Parser::stack< stack_symbol_type >::end(), SlamParser::Parser::by_kind::kind(), SlamParser::Parser::by_state::kind(), SlamParser::Parser::context::location(), SlamParser::Parser::context::lookahead(), SlamParser::Parser::basic_symbol< by_state >::name(), SlamParser::Parser::stack< stack_symbol_type >::pop(), SlamParser::Parser::stack< stack_symbol_type >::size(), SlamParser::Parser::stack< T, S >::slice::slice(), SlamParser::Parser::stack< stack_symbol_type >::stack(), SlamParser::Parser::context::token(), SlamParser::Parser::basic_symbol< Base >::type_get(), SlamParser::Parser::basic_symbol< by_state >::type_get(), SlamParser::Parser::by_kind::type_get(), SlamParser::Parser::yy_pact_value_is_default_(), SlamParser::Parser::yy_table_value_is_error_(), SlamParser::Parser::yypop_(), SlamParser::Parser::yytranslate_(), and SlamParser::Parser::syntax_error::~syntax_error().

◆ YY_NOTHROW

#define YY_NOTHROW   throw()

Definition at line 80 of file bison_parser.h.

Referenced by SlamParser::Parser::syntax_error::~syntax_error().

◆ YY_REINTERPRET_CAST

#define YY_REINTERPRET_CAST ( Type,
Val )
Value:
((Type)(Val))

Definition at line 155 of file bison_parser.h.

◆ YY_RVREF

#define YY_RVREF ( Type)
Value:
const Type&

Definition at line 70 of file bison_parser.h.

◆ YY_USE

#define YY_USE ( E)
Value:
((void)(E))

Definition at line 109 of file bison_parser.h.