Kea 2.7.6
|
A complete symbol. More...
#include <dhcp6_parser.h>
Public Types | |
typedef Base | super_type |
Alias to Base. | |
Public Member Functions | |
basic_symbol () YY_NOEXCEPT | |
Default constructor. | |
basic_symbol (const basic_symbol &that) | |
Copy constructor. | |
basic_symbol (typename Base::kind_type t, const bool &v, const location_type &l) | |
basic_symbol (typename Base::kind_type t, const double &v, const location_type &l) | |
basic_symbol (typename Base::kind_type t, const ElementPtr &v, const location_type &l) | |
basic_symbol (typename Base::kind_type t, const int64_t &v, const location_type &l) | |
basic_symbol (typename Base::kind_type t, const location_type &l) | |
Constructors for typed symbols. | |
basic_symbol (typename Base::kind_type t, const std::string &v, const location_type &l) | |
~basic_symbol () | |
Destroy the symbol. | |
void | clear () YY_NOEXCEPT |
Destroy contents, and record that is empty. | |
bool | empty () const YY_NOEXCEPT |
Whether empty. | |
void | move (basic_symbol &s) |
Destructive move, s is emptied into this. | |
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). | |
Public Attributes | |
location_type | location |
The location. | |
value_type | value |
The semantic value. | |
A complete symbol.
Expects its Base type to provide access to the symbol kind via kind ().
Provide access to semantic value and location.
Definition at line 1507 of file dhcp6_parser.h.
Base isc::dhcp::Dhcp6Parser::basic_symbol< Base >::super_type |
Alias to Base.
Definition at line 1510 of file dhcp6_parser.h.
|
inline |
Default constructor.
Definition at line 1513 of file dhcp6_parser.h.
isc::dhcp::Dhcp6Parser::basic_symbol< Base >::basic_symbol | ( | const basic_symbol< Base > & | that | ) |
Copy constructor.
Definition at line 5882 of file dhcp6_parser.h.
References isc::dhcp::Dhcp6Parser::value_type::copy(), isc::dhcp::Dhcp6Parser::symbol_kind::S_auth_type_value, isc::dhcp::Dhcp6Parser::symbol_kind::S_BOOLEAN, isc::dhcp::Dhcp6Parser::symbol_kind::S_control_socket_type_value, isc::dhcp::Dhcp6Parser::symbol_kind::S_ddns_conflict_resolution_mode_value, isc::dhcp::Dhcp6Parser::symbol_kind::S_ddns_replace_client_name_value, isc::dhcp::Dhcp6Parser::symbol_kind::S_duid_type, isc::dhcp::Dhcp6Parser::symbol_kind::S_FLOAT, isc::dhcp::Dhcp6Parser::symbol_kind::S_INTEGER, isc::dhcp::Dhcp6Parser::symbol_kind::S_map_value, isc::dhcp::Dhcp6Parser::symbol_kind::S_ncr_protocol_value, isc::dhcp::Dhcp6Parser::symbol_kind::S_on_fail_mode, isc::dhcp::Dhcp6Parser::symbol_kind::S_STRING, isc::dhcp::Dhcp6Parser::symbol_kind::S_value, isc::dhcp::Dhcp6Parser::basic_symbol< Base >::value, and YY_MOVE.
|
inline |
Constructors for typed symbols.
Definition at line 1572 of file dhcp6_parser.h.
|
inline |
Definition at line 1585 of file dhcp6_parser.h.
|
inline |
Definition at line 1599 of file dhcp6_parser.h.
|
inline |
Definition at line 1613 of file dhcp6_parser.h.
|
inline |
Definition at line 1627 of file dhcp6_parser.h.
|
inline |
Definition at line 1641 of file dhcp6_parser.h.
|
inline |
Destroy the symbol.
Definition at line 1649 of file dhcp6_parser.h.
|
inline |
Destroy contents, and record that is empty.
Definition at line 1657 of file dhcp6_parser.h.
Referenced by isc::dhcp::Dhcp6Parser::parse().
bool isc::dhcp::Dhcp6Parser::basic_symbol< Base >::empty | ( | ) | const |
Whether empty.
Definition at line 5936 of file dhcp6_parser.h.
References isc::dhcp::Dhcp6Parser::symbol_kind::S_YYEMPTY.
Referenced by isc::dhcp::Dhcp6Parser::parse().
void isc::dhcp::Dhcp6Parser::basic_symbol< Base >::move | ( | basic_symbol< Base > & | s | ) |
Destructive move, s is emptied into this.
Definition at line 5943 of file dhcp6_parser.h.
References isc::dhcp::Dhcp6Parser::basic_symbol< Base >::location, isc::dhcp::Dhcp6Parser::symbol_kind::S_auth_type_value, isc::dhcp::Dhcp6Parser::symbol_kind::S_BOOLEAN, isc::dhcp::Dhcp6Parser::symbol_kind::S_control_socket_type_value, isc::dhcp::Dhcp6Parser::symbol_kind::S_ddns_conflict_resolution_mode_value, isc::dhcp::Dhcp6Parser::symbol_kind::S_ddns_replace_client_name_value, isc::dhcp::Dhcp6Parser::symbol_kind::S_duid_type, isc::dhcp::Dhcp6Parser::symbol_kind::S_FLOAT, isc::dhcp::Dhcp6Parser::symbol_kind::S_INTEGER, isc::dhcp::Dhcp6Parser::symbol_kind::S_map_value, isc::dhcp::Dhcp6Parser::symbol_kind::S_ncr_protocol_value, isc::dhcp::Dhcp6Parser::symbol_kind::S_on_fail_mode, isc::dhcp::Dhcp6Parser::symbol_kind::S_STRING, isc::dhcp::Dhcp6Parser::symbol_kind::S_value, isc::dhcp::Dhcp6Parser::basic_symbol< Base >::value, and YY_MOVE.
Referenced by isc::dhcp::Dhcp6Parser::parse().
|
inline |
The user-facing name of this symbol.
Definition at line 1708 of file dhcp6_parser.h.
References isc::dhcp::Dhcp6Parser::symbol_name().
Dhcp6Parser::symbol_kind_type isc::dhcp::Dhcp6Parser::basic_symbol< Base >::type_get | ( | ) | const |
Backward compatibility (Bison 3.6).
Definition at line 5928 of file dhcp6_parser.h.
location_type isc::dhcp::Dhcp6Parser::basic_symbol< Base >::location |
The location.
Definition at line 1726 of file dhcp6_parser.h.
Referenced by isc::dhcp::Dhcp6Parser::basic_symbol< Base >::move(), and isc::dhcp::Dhcp6Parser::parse().
value_type isc::dhcp::Dhcp6Parser::basic_symbol< Base >::value |
The semantic value.
Definition at line 1723 of file dhcp6_parser.h.
Referenced by isc::dhcp::Dhcp6Parser::basic_symbol< Base >::basic_symbol(), isc::dhcp::Dhcp6Parser::basic_symbol< Base >::move(), and isc::dhcp::Dhcp6Parser::parse().