Kea 2.7.6
|
Type access provider for token (enum) based symbols. More...
#include <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. | |
symbol_kind_type | kind () const YY_NOEXCEPT |
The (internal) type number (corresponding to type). | |
void | move (by_kind &that) |
Steal the symbol kind from that. | |
symbol_kind_type | type_get () const YY_NOEXCEPT |
Backward compatibility (Bison 3.6). | |
Public Attributes | |
symbol_kind_type | kind_ |
The symbol kind. | |
|
inline |
|
inline |
|
inline |
|
inline |
Record that this symbol is empty.
Definition at line 2748 of file parser.h.
References isc::eval::EvalParser::symbol_kind::S_YYEMPTY.
Referenced by move().
|
inline |
The (internal) type number (corresponding to type).
empty when empty.
Definition at line 2763 of file parser.h.
Referenced by isc::eval::EvalParser::parse().
|
inline |
|
inline |
symbol_kind_type isc::eval::EvalParser::by_kind::kind_ |
The symbol kind.
S_YYEMPTY when empty.
Definition at line 1053 of file parser.h.
Referenced by move(), and isc::eval::EvalParser::parse().