Kea 2.7.0
isc::dhcp::Dhcp6Parser::symbol_type Struct Reference

"External" symbols: returned by the scanner. More...

#include <dhcp6_parser.h>

+ Inheritance diagram for isc::dhcp::Dhcp6Parser::symbol_type:

Public Types

typedef basic_symbol< by_kindsuper_type
 Superclass.
 
- Public Types inherited from isc::dhcp::Dhcp6Parser::basic_symbol< Base >
typedef Base super_type
 Alias to Base.
 

Public Member Functions

 symbol_type () YY_NOEXCEPT
 Empty symbol.
 
 symbol_type (int tok, const bool &v, const location_type &l)
 
 symbol_type (int tok, const double &v, const location_type &l)
 
 symbol_type (int tok, const int64_t &v, const location_type &l)
 
 symbol_type (int tok, const location_type &l)
 Constructor for valueless symbols, and symbols from each type.
 
 symbol_type (int tok, const std::string &v, const location_type &l)
 
- Public Member Functions inherited from isc::dhcp::Dhcp6Parser::basic_symbol< Base >
 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).
 

Additional Inherited Members

- Public Attributes inherited from isc::dhcp::Dhcp6Parser::basic_symbol< Base >
location_type location
 The location.
 
value_type value
 The semantic value.
 

Detailed Description

"External" symbols: returned by the scanner.

Definition at line 1683 of file dhcp6_parser.h.

Member Typedef Documentation

◆ super_type

Constructor & Destructor Documentation

◆ symbol_type() [1/6]

isc::dhcp::Dhcp6Parser::symbol_type::symbol_type ( )
inline

Empty symbol.

Definition at line 1689 of file dhcp6_parser.h.

◆ symbol_type() [2/6]

isc::dhcp::Dhcp6Parser::symbol_type::symbol_type ( int tok,
const location_type & l )
inline

Constructor for valueless symbols, and symbols from each type.

Definition at line 1696 of file dhcp6_parser.h.

References PARSER6__ASSERT.

◆ symbol_type() [3/6]

isc::dhcp::Dhcp6Parser::symbol_type::symbol_type ( int tok,
const bool & v,
const location_type & l )
inline

Definition at line 1709 of file dhcp6_parser.h.

References PARSER6__ASSERT.

◆ symbol_type() [4/6]

isc::dhcp::Dhcp6Parser::symbol_type::symbol_type ( int tok,
const double & v,
const location_type & l )
inline

Definition at line 1721 of file dhcp6_parser.h.

References PARSER6__ASSERT.

◆ symbol_type() [5/6]

isc::dhcp::Dhcp6Parser::symbol_type::symbol_type ( int tok,
const int64_t & v,
const location_type & l )
inline

Definition at line 1733 of file dhcp6_parser.h.

References PARSER6__ASSERT.

◆ symbol_type() [6/6]

isc::dhcp::Dhcp6Parser::symbol_type::symbol_type ( int tok,
const std::string & v,
const location_type & l )
inline

Definition at line 1745 of file dhcp6_parser.h.

References PARSER6__ASSERT.


The documentation for this struct was generated from the following file: