Kea 2.7.4
|
A complete symbol. More...
#include <agent_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 761 of file agent_parser.h.
typedef Base isc::agent::AgentParser::basic_symbol< Base >::super_type |
Alias to Base.
Definition at line 764 of file agent_parser.h.
|
inline |
Default constructor.
Definition at line 767 of file agent_parser.h.
isc::agent::AgentParser::basic_symbol< Base >::basic_symbol | ( | const basic_symbol< Base > & | that | ) |
Copy constructor.
Definition at line 2378 of file agent_parser.h.
References isc::agent::AgentParser::value_type::copy(), isc::agent::AgentParser::symbol_kind::S_auth_type_value, isc::agent::AgentParser::symbol_kind::S_BOOLEAN, isc::agent::AgentParser::symbol_kind::S_FLOAT, isc::agent::AgentParser::symbol_kind::S_INTEGER, isc::agent::AgentParser::symbol_kind::S_map_value, isc::agent::AgentParser::symbol_kind::S_socket_type_value, isc::agent::AgentParser::symbol_kind::S_STRING, isc::agent::AgentParser::symbol_kind::S_value, isc::agent::AgentParser::basic_symbol< Base >::value, and YY_MOVE.
|
inline |
Constructors for typed symbols.
Definition at line 821 of file agent_parser.h.
|
inline |
Definition at line 834 of file agent_parser.h.
|
inline |
Definition at line 848 of file agent_parser.h.
|
inline |
Definition at line 862 of file agent_parser.h.
|
inline |
Definition at line 876 of file agent_parser.h.
|
inline |
Definition at line 890 of file agent_parser.h.
|
inline |
Destroy the symbol.
Definition at line 898 of file agent_parser.h.
|
inline |
Destroy contents, and record that is empty.
Definition at line 906 of file agent_parser.h.
bool isc::agent::AgentParser::basic_symbol< Base >::empty | ( | ) | const |
Whether empty.
Definition at line 2427 of file agent_parser.h.
References isc::agent::AgentParser::symbol_kind::S_YYEMPTY.
void isc::agent::AgentParser::basic_symbol< Base >::move | ( | basic_symbol< Base > & | s | ) |
Destructive move, s is emptied into this.
Definition at line 2434 of file agent_parser.h.
References isc::agent::AgentParser::basic_symbol< Base >::location, isc::agent::AgentParser::symbol_kind::S_auth_type_value, isc::agent::AgentParser::symbol_kind::S_BOOLEAN, isc::agent::AgentParser::symbol_kind::S_FLOAT, isc::agent::AgentParser::symbol_kind::S_INTEGER, isc::agent::AgentParser::symbol_kind::S_map_value, isc::agent::AgentParser::symbol_kind::S_socket_type_value, isc::agent::AgentParser::symbol_kind::S_STRING, isc::agent::AgentParser::symbol_kind::S_value, isc::agent::AgentParser::basic_symbol< Base >::value, and YY_MOVE.
|
inline |
The user-facing name of this symbol.
Definition at line 952 of file agent_parser.h.
References isc::agent::AgentParser::symbol_name().
AgentParser::symbol_kind_type isc::agent::AgentParser::basic_symbol< Base >::type_get | ( | ) | const |
Backward compatibility (Bison 3.6).
Definition at line 2419 of file agent_parser.h.
location_type isc::agent::AgentParser::basic_symbol< Base >::location |
The location.
Definition at line 970 of file agent_parser.h.
Referenced by isc::agent::AgentParser::basic_symbol< Base >::move().
value_type isc::agent::AgentParser::basic_symbol< Base >::value |
The semantic value.
Definition at line 967 of file agent_parser.h.
Referenced by isc::agent::AgentParser::basic_symbol< Base >::basic_symbol(), and isc::agent::AgentParser::basic_symbol< Base >::move().