|
g2o
|
#include <bison_parser.h>


Public Types | |
| typedef Base | super_type |
| Alias to Base. | |
Public Member Functions | |
| basic_symbol () YY_NOEXCEPT | |
| Default constructor. | |
| basic_symbol (const basic_symbol &that) | |
| Copy constructor. | |
| basic_symbol (typename Base::kind_type t, YY_MOVE_REF(location_type) l) | |
| Constructor for valueless symbols. | |
| basic_symbol (typename Base::kind_type t, YY_RVREF(value_type) v, YY_RVREF(location_type) l) | |
| Constructor for symbols with semantic value. | |
| ~basic_symbol () | |
| Destroy the symbol. | |
| void | clear () YY_NOEXCEPT |
| Destroy contents, and record that is empty. | |
| std::string | name () const YY_NOEXCEPT |
| The user-facing name of this symbol. | |
| symbol_kind_type | type_get () const YY_NOEXCEPT |
| Backward compatibility (Bison 3.6). | |
| bool | empty () const YY_NOEXCEPT |
| Whether empty. | |
| void | move (basic_symbol &s) |
| Destructive move, s is emptied into this. | |
Public Attributes | |
| value_type | value |
| The semantic value. | |
| location_type | location |
| The location. | |
Private Member Functions | |
| basic_symbol & | operator= (const basic_symbol &that) |
| Assignment operator. | |
A complete symbol.
Expects its Base type to provide access to the symbol kind via kind ().
Provide access to semantic value and location.
Definition at line 305 of file bison_parser.h.
| typedef Base SlamParser::Parser::basic_symbol< Base >::super_type |
Alias to Base.
Definition at line 307 of file bison_parser.h.
|
inline |
Default constructor.
Definition at line 310 of file bison_parser.h.
| SlamParser::Parser::basic_symbol< Base >::basic_symbol | ( | const basic_symbol< Base > & | that | ) |
Copy constructor.
Definition at line 176 of file bison_parser.cpp.
| SlamParser::Parser::basic_symbol< Base >::basic_symbol | ( | typename Base::kind_type | t, |
| YY_MOVE_REF(location_type) | l | ||
| ) |
Constructor for valueless symbols.
Definition at line 181 of file bison_parser.cpp.
| SlamParser::Parser::basic_symbol< Base >::basic_symbol | ( | typename Base::kind_type | t, |
| YY_RVREF(value_type) | v, | ||
| YY_RVREF(location_type) | l | ||
| ) |
Constructor for symbols with semantic value.
Definition at line 186 of file bison_parser.cpp.
|
inline |
Destroy the symbol.
Definition at line 330 of file bison_parser.h.
|
inline |
Destroy contents, and record that is empty.
Definition at line 333 of file bison_parser.h.
Referenced by SlamParser::Parser::parse().
| bool SlamParser::Parser::basic_symbol< Base >::empty | ( | ) | const |
Whether empty.
Definition at line 198 of file bison_parser.cpp.
References SlamParser::Parser::symbol_kind::S_YYEMPTY.
Referenced by SlamParser::Parser::parse(), and SlamParser::Parser::yy_syntax_error_arguments_().
| void SlamParser::Parser::basic_symbol< Base >::move | ( | basic_symbol< Base > & | s | ) |
Destructive move, s is emptied into this.
Definition at line 203 of file bison_parser.cpp.
References SlamParser::Parser::basic_symbol< Base >::location, SlamParser::Parser::basic_symbol< Base >::value, and YY_MOVE.
|
inline |
The user-facing name of this symbol.
Definition at line 336 of file bison_parser.h.
|
private |
Assignment operator.
| Parser::symbol_kind_type SlamParser::Parser::basic_symbol< Base >::type_get | ( | ) | const |
Backward compatibility (Bison 3.6).
Definition at line 192 of file bison_parser.cpp.
| location_type SlamParser::Parser::basic_symbol< Base >::location |
The location.
Definition at line 353 of file bison_parser.h.
Referenced by SlamParser::Parser::basic_symbol< Base >::move(), SlamParser::Parser::stack_symbol_type::operator=(), SlamParser::Parser::stack_symbol_type::operator=(), and SlamParser::Parser::parse().
| value_type SlamParser::Parser::basic_symbol< Base >::value |
The semantic value.
Definition at line 350 of file bison_parser.h.
Referenced by SlamParser::Parser::basic_symbol< by_state >::basic_symbol(), SlamParser::Parser::basic_symbol< Base >::move(), SlamParser::Parser::stack_symbol_type::operator=(), SlamParser::Parser::stack_symbol_type::operator=(), SlamParser::Parser::parse(), and SlamParser::Parser::yy_destroy_().