Kea  2.3.4-git
isc::agent::AgentParser::symbol_type Struct Reference

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

#include <agent_parser.h>

+ Inheritance diagram for isc::agent::AgentParser::symbol_type:

Public Types

typedef basic_symbol< by_kindsuper_type
 Superclass. More...
 
- Public Types inherited from isc::agent::AgentParser::basic_symbol< by_kind >
typedef by_kind super_type
 Alias to Base. More...
 
- Public Types inherited from isc::agent::AgentParser::by_kind
typedef token_kind_type kind_type
 The symbol kind as needed by the constructor. More...
 

Public Member Functions

 symbol_type () YY_NOEXCEPT
 Empty symbol. More...
 
 symbol_type (int tok, const location_type &l)
 Constructor for valueless symbols, and symbols from each type. More...
 
 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 std::string &v, const location_type &l)
 
- Public Member Functions inherited from isc::agent::AgentParser::basic_symbol< by_kind >
 basic_symbol () YY_NOEXCEPT
 Default constructor. More...
 
 basic_symbol (const basic_symbol &that)
 Copy constructor. More...
 
 basic_symbol (typename by_kind ::kind_type t, const location_type &l)
 Constructors for typed symbols. More...
 
 basic_symbol (typename by_kind ::kind_type t, const ElementPtr &v, const location_type &l)
 
 basic_symbol (typename by_kind ::kind_type t, const bool &v, const location_type &l)
 
 basic_symbol (typename by_kind ::kind_type t, const double &v, const location_type &l)
 
 basic_symbol (typename by_kind ::kind_type t, const int64_t &v, const location_type &l)
 
 basic_symbol (typename by_kind ::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 Member Functions inherited from isc::agent::AgentParser::by_kind
 by_kind () YY_NOEXCEPT
 Default constructor. More...
 
 by_kind (const by_kind &that) YY_NOEXCEPT
 Copy constructor. More...
 
 by_kind (kind_type t) YY_NOEXCEPT
 Constructor from (external) token numbers. More...
 
void clear () YY_NOEXCEPT
 Record that this symbol is empty. More...
 
symbol_kind_type kind () const YY_NOEXCEPT
 The (internal) type number (corresponding to type). More...
 
void move (by_kind &that)
 Steal the symbol kind from that. More...
 
symbol_kind_type type_get () const YY_NOEXCEPT
 Backward compatibility (Bison 3.6). More...
 

Additional Inherited Members

- Public Attributes inherited from isc::agent::AgentParser::basic_symbol< by_kind >
location_type location
 The location. More...
 
value_type value
 The semantic value. More...
 
- Public Attributes inherited from isc::agent::AgentParser::by_kind
symbol_kind_type kind_
 The symbol kind. More...
 

Detailed Description

"External" symbols: returned by the scanner.

Definition at line 1023 of file agent_parser.h.

Member Typedef Documentation

◆ super_type

Constructor & Destructor Documentation

◆ symbol_type() [1/6]

isc::agent::AgentParser::symbol_type::symbol_type ( )
inline

Empty symbol.

Definition at line 1029 of file agent_parser.h.

◆ symbol_type() [2/6]

isc::agent::AgentParser::symbol_type::symbol_type ( int  tok,
const location_type l 
)
inline

Constructor for valueless symbols, and symbols from each type.

Definition at line 1036 of file agent_parser.h.

References AGENT__ASSERT.

◆ symbol_type() [3/6]

isc::agent::AgentParser::symbol_type::symbol_type ( int  tok,
const bool &  v,
const location_type l 
)
inline

Definition at line 1049 of file agent_parser.h.

References AGENT__ASSERT.

◆ symbol_type() [4/6]

isc::agent::AgentParser::symbol_type::symbol_type ( int  tok,
const double &  v,
const location_type l 
)
inline

Definition at line 1061 of file agent_parser.h.

References AGENT__ASSERT.

◆ symbol_type() [5/6]

isc::agent::AgentParser::symbol_type::symbol_type ( int  tok,
const int64_t &  v,
const location_type l 
)
inline

Definition at line 1073 of file agent_parser.h.

References AGENT__ASSERT.

◆ symbol_type() [6/6]

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

Definition at line 1085 of file agent_parser.h.

References AGENT__ASSERT, and YY_ATTRIBUTE_PURE.


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