![]() |
Kea 3.0.0
|
Type access provider for token (enum) based symbols. More...
#include <d2_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. |
Type access provider for token (enum) based symbols.
Definition at line 1113 of file d2_parser.h.
The symbol kind as needed by the constructor.
Definition at line 1116 of file d2_parser.h.
|
inline |
Default constructor.
Definition at line 2998 of file d2_parser.h.
References kind_, and YY_NOEXCEPT.
|
inline |
Copy constructor.
Definition at line 3012 of file d2_parser.h.
References by_kind(), kind_, and YY_NOEXCEPT.
|
inline |
Constructor from (external) token numbers.
Definition at line 3017 of file d2_parser.h.
References kind_, and YY_NOEXCEPT.
|
inline |
Record that this symbol is empty.
Definition at line 3025 of file d2_parser.h.
References kind_, isc::d2::D2Parser::symbol_kind::S_YYEMPTY, and YY_NOEXCEPT.
Referenced by move().
|
inline |
The (internal) type number (corresponding to type).
empty when empty.
Definition at line 3040 of file d2_parser.h.
References kind_, and YY_NOEXCEPT.
Referenced by isc::d2::D2Parser::basic_symbol< by_kind >::clear(), isc::d2::D2Parser::basic_symbol< by_kind >::name(), isc::d2::D2Parser::parse(), and type_get().
|
inline |
Steal the symbol kind from that.
Definition at line 3032 of file d2_parser.h.
References by_kind(), clear(), and kind_.
|
inline |
Backward compatibility (Bison 3.6).
Definition at line 3048 of file d2_parser.h.
References kind(), and YY_NOEXCEPT.
symbol_kind_type isc::d2::D2Parser::by_kind::kind_ |
The symbol kind.
S_YYEMPTY when empty.
Definition at line 1149 of file d2_parser.h.
Referenced by by_kind(), by_kind(), by_kind(), clear(), kind(), move(), and isc::d2::D2Parser::parse().