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

Type access provider for token (enum) based symbols. More...

#include <agent_parser.h>

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

Public Types

typedef token_kind_type kind_type
 The symbol kind as needed by the constructor. More...
 

Public Member Functions

 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...
 

Public Attributes

symbol_kind_type kind_
 The symbol kind. More...
 

Detailed Description

Type access provider for token (enum) based symbols.

Definition at line 980 of file agent_parser.h.

Member Typedef Documentation

◆ kind_type

The symbol kind as needed by the constructor.

Definition at line 983 of file agent_parser.h.

Constructor & Destructor Documentation

◆ by_kind() [1/3]

isc::agent::AgentParser::by_kind::by_kind ( )
inline

Default constructor.

Definition at line 2471 of file agent_parser.h.

References YY_NOEXCEPT.

◆ by_kind() [2/3]

isc::agent::AgentParser::by_kind::by_kind ( const by_kind that)
inline

Copy constructor.

Definition at line 2485 of file agent_parser.h.

◆ by_kind() [3/3]

isc::agent::AgentParser::by_kind::by_kind ( kind_type  t)
inline

Constructor from (external) token numbers.

Definition at line 2490 of file agent_parser.h.

Member Function Documentation

◆ clear()

void isc::agent::AgentParser::by_kind::clear ( )
inline

Record that this symbol is empty.

Definition at line 2498 of file agent_parser.h.

Referenced by move().

◆ kind()

AgentParser::symbol_kind_type isc::agent::AgentParser::by_kind::kind ( ) const
inline

The (internal) type number (corresponding to type).

empty when empty.

Definition at line 2513 of file agent_parser.h.

Referenced by isc::agent::AgentParser::parse(), isc::agent::AgentParser::context::token(), and isc::agent::AgentParser::syntax_error::~syntax_error().

◆ move()

void isc::agent::AgentParser::by_kind::move ( by_kind that)
inline

Steal the symbol kind from that.

Definition at line 2505 of file agent_parser.h.

References clear(), and kind_.

+ Here is the call graph for this function:

◆ type_get()

AgentParser::symbol_kind_type isc::agent::AgentParser::by_kind::type_get ( ) const
inline

Backward compatibility (Bison 3.6).

Definition at line 2521 of file agent_parser.h.

Member Data Documentation

◆ kind_

symbol_kind_type isc::agent::AgentParser::by_kind::kind_

The symbol kind.

S_YYEMPTY when empty.

Definition at line 1016 of file agent_parser.h.

Referenced by move(), isc::agent::AgentParser::parse(), and isc::agent::AgentParser::syntax_error::~syntax_error().


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