![]()  | 
  
    Kea
    1.9.9-git
    
   | 
 
A complete symbol. More...
#include <dhcp4_parser.h>
 Inheritance diagram for isc::dhcp::Dhcp4Parser::basic_symbol< Base >:Public Types | |
| typedef Base | super_type | 
| Alias to Base.  More... | |
Public Member Functions | |
| basic_symbol () | |
| Default constructor.  More... | |
| basic_symbol (const basic_symbol &that) | |
| Copy constructor.  More... | |
| basic_symbol (typename Base::kind_type t, const location_type &l) | |
| Constructors for typed symbols.  More... | |
| basic_symbol (typename Base::kind_type t, const ElementPtr &v, const location_type &l) | |
| 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 int64_t &v, const location_type &l) | |
| basic_symbol (typename Base::kind_type t, const std::string &v, const location_type &l) | |
| ~basic_symbol () | |
| Destroy the symbol.  More... | |
| void | clear () YY_NOEXCEPT | 
| Destroy contents, and record that is empty.  More... | |
| bool | empty () const YY_NOEXCEPT | 
| Whether empty.  More... | |
| void | move (basic_symbol &s) | 
| Destructive move, s is emptied into this.  More... | |
| std::string | name () const YY_NOEXCEPT | 
| The user-facing name of this symbol.  More... | |
| symbol_kind_type | type_get () const YY_NOEXCEPT | 
| Backward compatibility (Bison 3.6).  More... | |
Public Attributes | |
| location_type | location | 
| The location.  More... | |
| semantic_type | value | 
| The semantic value.  More... | |
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 1347 of file dhcp4_parser.h.
| typedef Base isc::dhcp::Dhcp4Parser::basic_symbol< Base >::super_type | 
Alias to Base.
Definition at line 1350 of file dhcp4_parser.h.
      
  | 
  inline | 
Default constructor.
Definition at line 1353 of file dhcp4_parser.h.
| isc::dhcp::Dhcp4Parser::basic_symbol< Base >::basic_symbol | ( | const basic_symbol< Base > & | that | ) | 
Copy constructor.
Definition at line 5194 of file dhcp4_parser.h.
References isc::dhcp::Dhcp4Parser::semantic_type::copy(), isc::dhcp::Dhcp4Parser::symbol_kind::S_BOOLEAN, isc::dhcp::Dhcp4Parser::symbol_kind::S_db_type, isc::dhcp::Dhcp4Parser::symbol_kind::S_ddns_replace_client_name_value, isc::dhcp::Dhcp4Parser::symbol_kind::S_FLOAT, isc::dhcp::Dhcp4Parser::symbol_kind::S_hr_mode, isc::dhcp::Dhcp4Parser::symbol_kind::S_INTEGER, isc::dhcp::Dhcp4Parser::symbol_kind::S_map_value, isc::dhcp::Dhcp4Parser::symbol_kind::S_ncr_protocol_value, isc::dhcp::Dhcp4Parser::symbol_kind::S_on_fail_mode, isc::dhcp::Dhcp4Parser::symbol_kind::S_outbound_interface_value, isc::dhcp::Dhcp4Parser::symbol_kind::S_socket_type, isc::dhcp::Dhcp4Parser::symbol_kind::S_STRING, isc::dhcp::Dhcp4Parser::symbol_kind::S_value, isc::dhcp::Dhcp4Parser::basic_symbol< Base >::value, and YY_MOVE.
 Here is the call graph for this function:
      
  | 
  inline | 
Constructors for typed symbols.
Definition at line 1412 of file dhcp4_parser.h.
      
  | 
  inline | 
Definition at line 1425 of file dhcp4_parser.h.
      
  | 
  inline | 
Definition at line 1439 of file dhcp4_parser.h.
      
  | 
  inline | 
Definition at line 1453 of file dhcp4_parser.h.
      
  | 
  inline | 
Definition at line 1467 of file dhcp4_parser.h.
      
  | 
  inline | 
Definition at line 1481 of file dhcp4_parser.h.
      
  | 
  inline | 
Destroy the symbol.
Definition at line 1489 of file dhcp4_parser.h.
      
  | 
  inline | 
Destroy contents, and record that is empty.
Definition at line 1495 of file dhcp4_parser.h.
Referenced by isc::dhcp::Dhcp4Parser::parse().
| bool isc::dhcp::Dhcp4Parser::basic_symbol< Base >::empty | ( | ) | const | 
Whether empty.
Definition at line 5246 of file dhcp4_parser.h.
References isc::dhcp::Dhcp4Parser::symbol_kind::S_YYEMPTY.
Referenced by isc::dhcp::Dhcp4Parser::parse().
| void isc::dhcp::Dhcp4Parser::basic_symbol< Base >::move | ( | basic_symbol< Base > & | s | ) | 
Destructive move, s is emptied into this.
Definition at line 5253 of file dhcp4_parser.h.
References isc::dhcp::Dhcp4Parser::basic_symbol< Base >::location, isc::dhcp::Dhcp4Parser::symbol_kind::S_BOOLEAN, isc::dhcp::Dhcp4Parser::symbol_kind::S_db_type, isc::dhcp::Dhcp4Parser::symbol_kind::S_ddns_replace_client_name_value, isc::dhcp::Dhcp4Parser::symbol_kind::S_FLOAT, isc::dhcp::Dhcp4Parser::symbol_kind::S_hr_mode, isc::dhcp::Dhcp4Parser::symbol_kind::S_INTEGER, isc::dhcp::Dhcp4Parser::symbol_kind::S_map_value, isc::dhcp::Dhcp4Parser::symbol_kind::S_ncr_protocol_value, isc::dhcp::Dhcp4Parser::symbol_kind::S_on_fail_mode, isc::dhcp::Dhcp4Parser::symbol_kind::S_outbound_interface_value, isc::dhcp::Dhcp4Parser::symbol_kind::S_socket_type, isc::dhcp::Dhcp4Parser::symbol_kind::S_STRING, isc::dhcp::Dhcp4Parser::symbol_kind::S_value, isc::dhcp::Dhcp4Parser::basic_symbol< Base >::value, and YY_MOVE.
Referenced by isc::dhcp::Dhcp4Parser::parse().
      
  | 
  inline | 
The user-facing name of this symbol.
Definition at line 1546 of file dhcp4_parser.h.
| Dhcp4Parser::symbol_kind_type isc::dhcp::Dhcp4Parser::basic_symbol< Base >::type_get | ( | ) | const | 
Backward compatibility (Bison 3.6).
Definition at line 5239 of file dhcp4_parser.h.
| location_type isc::dhcp::Dhcp4Parser::basic_symbol< Base >::location | 
The location.
Definition at line 1564 of file dhcp4_parser.h.
Referenced by isc::dhcp::Dhcp4Parser::basic_symbol< Base >::move(), and isc::dhcp::Dhcp4Parser::parse().
| semantic_type isc::dhcp::Dhcp4Parser::basic_symbol< Base >::value | 
The semantic value.
Definition at line 1561 of file dhcp4_parser.h.
Referenced by isc::dhcp::Dhcp4Parser::basic_symbol< Base >::basic_symbol(), and isc::dhcp::Dhcp4Parser::basic_symbol< Base >::move().