|
g2o
|
Type access provider for token (enum) based symbols. More...
#include <bison_parser.h>

Public Types | |
| typedef token_kind_type | kind_type |
| The symbol kind as needed by the constructor. | |
Public Member Functions | |
| by_kind () YY_NOEXCEPT | |
| Default constructor. | |
| by_kind (const by_kind &that) YY_NOEXCEPT | |
| Copy constructor. | |
| by_kind (kind_type t) YY_NOEXCEPT | |
| Constructor from (external) token numbers. | |
| void | clear () YY_NOEXCEPT |
| Record that this symbol is empty. | |
| void | move (by_kind &that) |
| Steal the symbol kind from that. | |
| symbol_kind_type | kind () const YY_NOEXCEPT |
| symbol_kind_type | type_get () const YY_NOEXCEPT |
| Backward compatibility (Bison 3.6). | |
Public Attributes | |
| symbol_kind_type | kind_ |
Type access provider for token (enum) based symbols.
Definition at line 363 of file bison_parser.h.
The symbol kind as needed by the constructor.
Definition at line 365 of file bison_parser.h.
| SlamParser::Parser::by_kind::by_kind | ( | ) |
| SlamParser::Parser::by_kind::by_kind | ( | const by_kind & | that | ) |
| SlamParser::Parser::by_kind::by_kind | ( | kind_type | t | ) |
Constructor from (external) token numbers.
Definition at line 220 of file bison_parser.cpp.
| void SlamParser::Parser::by_kind::clear | ( | ) |
Record that this symbol is empty.
Definition at line 223 of file bison_parser.cpp.
References SlamParser::Parser::symbol_kind::S_YYEMPTY.
Referenced by move().
| Parser::symbol_kind_type SlamParser::Parser::by_kind::kind | ( | ) | const |
The (internal) type number (corresponding to type). empty when empty.
Definition at line 230 of file bison_parser.cpp.
Referenced by SlamParser::Parser::parse().
| void SlamParser::Parser::by_kind::move | ( | by_kind & | that | ) |
Steal the symbol kind from that.
Definition at line 225 of file bison_parser.cpp.
| Parser::symbol_kind_type SlamParser::Parser::by_kind::type_get | ( | ) | const |
Backward compatibility (Bison 3.6).
Definition at line 234 of file bison_parser.cpp.
| symbol_kind_type SlamParser::Parser::by_kind::kind_ |
The symbol kind. S_YYEMPTY when empty.
Definition at line 396 of file bison_parser.h.
Referenced by move(), SlamParser::Parser::parse(), and SlamParser::Parser::stack_symbol_type::stack_symbol_type().