|
g2o
|
Type access provider for state based symbols. More...

Public Types | |
| enum | { empty_state = 0 } |
| typedef state_type | kind_type |
| The symbol kind as needed by the constructor. | |
Public Member Functions | |
| 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 |
Public Attributes | |
| state_type | state |
Type access provider for state based symbols.
Definition at line 575 of file bison_parser.h.
The symbol kind as needed by the constructor.
Definition at line 580 of file bison_parser.h.
| anonymous enum |
The state number used to denote an empty symbol. We use the initial state, as it does not have a value.
| Enumerator | |
|---|---|
| empty_state | |
Definition at line 600 of file bison_parser.h.
| SlamParser::Parser::by_state::by_state | ( | ) |
| SlamParser::Parser::by_state::by_state | ( | kind_type | s | ) |
| SlamParser::Parser::by_state::by_state | ( | const by_state & | that | ) |
| void SlamParser::Parser::by_state::clear | ( | ) |
Record that this symbol is empty.
Definition at line 244 of file bison_parser.cpp.
Referenced by move().
| Parser::symbol_kind_type SlamParser::Parser::by_state::kind | ( | ) | const |
The symbol kind (corresponding to state). symbol_kind::S_YYEMPTY when empty.
Definition at line 253 of file bison_parser.cpp.
References SlamParser::Parser::symbol_kind::S_YYEMPTY, YY_CAST, and SlamParser::Parser::yystos_.
| void SlamParser::Parser::by_state::move | ( | by_state & | that | ) |
Steal the symbol kind from that.
Definition at line 246 of file bison_parser.cpp.
| state_type SlamParser::Parser::by_state::state |
The state. empty when empty.
Definition at line 604 of file bison_parser.h.
Referenced by move(), SlamParser::Parser::stack_symbol_type::operator=(), SlamParser::Parser::stack_symbol_type::operator=(), SlamParser::Parser::parse(), and SlamParser::Parser::stack_symbol_type::stack_symbol_type().