|
g2o
|
"Internal" symbol: element of the stack. More...


Public Types | |
| typedef basic_symbol< by_state > | super_type |
| Superclass. | |
Public Types inherited from SlamParser::Parser::basic_symbol< by_state > | |
| typedef by_state | super_type |
| Alias to Base. | |
Public Types inherited from SlamParser::Parser::by_state | |
| enum | { empty_state = 0 } |
| typedef state_type | kind_type |
| The symbol kind as needed by the constructor. | |
Public Member Functions | |
| stack_symbol_type () | |
| Construct an empty symbol. | |
| stack_symbol_type (YY_RVREF(stack_symbol_type) that) | |
| Move or copy construction. | |
| stack_symbol_type (state_type s, YY_MOVE_REF(symbol_type) sym) | |
| Steal the contents from sym to build this. | |
| stack_symbol_type & | operator= (stack_symbol_type &that) |
| stack_symbol_type & | operator= (const stack_symbol_type &that) |
Public Member Functions inherited from SlamParser::Parser::basic_symbol< by_state > | |
| 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 Member Functions inherited from SlamParser::Parser::by_state | |
| by_state () YY_NOEXCEPT | |
| Default constructor. | |
| by_state (kind_type s) YY_NOEXCEPT | |
| Constructor. | |
| by_state (const by_state &that) YY_NOEXCEPT | |
| Copy constructor. | |
| void | clear () YY_NOEXCEPT |
| Record that this symbol is empty. | |
| void | move (by_state &that) |
| Steal the symbol kind from that. | |
| symbol_kind_type | kind () const YY_NOEXCEPT |
Additional Inherited Members | |
Public Attributes inherited from SlamParser::Parser::basic_symbol< by_state > | |
| value_type | value |
| The semantic value. | |
| location_type | location |
| The location. | |
Public Attributes inherited from SlamParser::Parser::by_state | |
| state_type | state |
"Internal" symbol: element of the stack.
Definition at line 608 of file bison_parser.h.
Superclass.
Definition at line 610 of file bison_parser.h.
| SlamParser::Parser::stack_symbol_type::stack_symbol_type | ( | ) |
| SlamParser::Parser::stack_symbol_type::stack_symbol_type | ( | YY_RVREF(stack_symbol_type) | that | ) |
Move or copy construction.
Definition at line 262 of file bison_parser.cpp.
References SlamParser::Parser::by_state::empty_state, and SlamParser::Parser::by_state::state.
| SlamParser::Parser::stack_symbol_type::stack_symbol_type | ( | state_type | s, |
| YY_MOVE_REF(symbol_type) | sym | ||
| ) |
Steal the contents from sym to build this.
Definition at line 271 of file bison_parser.cpp.
References SlamParser::Parser::by_kind::kind_, and SlamParser::Parser::symbol_kind::S_YYEMPTY.
| Parser::stack_symbol_type & SlamParser::Parser::stack_symbol_type::operator= | ( | const stack_symbol_type & | that | ) |
Assignment, needed by push_back by other implementations. Needed by some other old implementations.
Definition at line 279 of file bison_parser.cpp.
References SlamParser::Parser::basic_symbol< Base >::location, SlamParser::Parser::by_state::state, and SlamParser::Parser::basic_symbol< Base >::value.
| Parser::stack_symbol_type & SlamParser::Parser::stack_symbol_type::operator= | ( | stack_symbol_type & | that | ) |
Assignment, needed by push_back by some old implementations. Moves the contents of that.
Definition at line 287 of file bison_parser.cpp.
References SlamParser::Parser::basic_symbol< Base >::location, SlamParser::Parser::by_state::state, and SlamParser::Parser::basic_symbol< Base >::value.