Kea 2.5.9
isc::netconf::NetconfParser::symbol_type Struct Reference

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

#include <netconf_parser.h>

+ Inheritance diagram for isc::netconf::NetconfParser::symbol_type:

Public Types

typedef basic_symbol< by_kindsuper_type
 Superclass.
 
- Public Types inherited from isc::netconf::NetconfParser::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 string &v, const location_type &l)
 
- Public Member Functions inherited from isc::netconf::NetconfParser::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 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::netconf::NetconfParser::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 987 of file netconf_parser.h.

Member Typedef Documentation

◆ super_type

Constructor & Destructor Documentation

◆ symbol_type() [1/6]

isc::netconf::NetconfParser::symbol_type::symbol_type ( )
inline

Empty symbol.

Definition at line 993 of file netconf_parser.h.

◆ symbol_type() [2/6]

isc::netconf::NetconfParser::symbol_type::symbol_type ( int  tok,
const location_type l 
)
inline

Constructor for valueless symbols, and symbols from each type.

Definition at line 1000 of file netconf_parser.h.

References NETCONF__ASSERT.

◆ symbol_type() [3/6]

isc::netconf::NetconfParser::symbol_type::symbol_type ( int  tok,
const bool &  v,
const location_type l 
)
inline

Definition at line 1013 of file netconf_parser.h.

References NETCONF__ASSERT.

◆ symbol_type() [4/6]

isc::netconf::NetconfParser::symbol_type::symbol_type ( int  tok,
const double &  v,
const location_type l 
)
inline

Definition at line 1025 of file netconf_parser.h.

References NETCONF__ASSERT.

◆ symbol_type() [5/6]

isc::netconf::NetconfParser::symbol_type::symbol_type ( int  tok,
const int64_t &  v,
const location_type l 
)
inline

Definition at line 1037 of file netconf_parser.h.

References NETCONF__ASSERT.

◆ symbol_type() [6/6]

isc::netconf::NetconfParser::symbol_type::symbol_type ( int  tok,
const string &  v,
const location_type l 
)
inline

Definition at line 1049 of file netconf_parser.h.

References NETCONF__ASSERT.


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