Kea  1.9.9-git
isc::eval::EvalParser::by_kind Struct Reference

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

#include <parser.h>

+ Inheritance diagram for isc::eval::EvalParser::by_kind:

Public Types

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

Public Member Functions

 by_kind ()
 Default constructor. More...
 
 by_kind (const by_kind &that)
 Copy constructor. More...
 
 by_kind (kind_type t)
 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 984 of file parser.h.

Member Typedef Documentation

The symbol kind as needed by the constructor.

Definition at line 998 of file parser.h.

Constructor & Destructor Documentation

isc::eval::EvalParser::by_kind::by_kind ( )
inline

Default constructor.

Definition at line 2574 of file parser.h.

isc::eval::EvalParser::by_kind::by_kind ( const by_kind that)
inline

Copy constructor.

Definition at line 2588 of file parser.h.

isc::eval::EvalParser::by_kind::by_kind ( kind_type  t)
inline

Constructor from (external) token numbers.

Definition at line 2593 of file parser.h.

Member Function Documentation

void isc::eval::EvalParser::by_kind::clear ( )
inline

Record that this symbol is empty.

Definition at line 2599 of file parser.h.

References isc::eval::EvalParser::symbol_kind::S_YYEMPTY.

Referenced by move().

EvalParser::symbol_kind_type isc::eval::EvalParser::by_kind::kind ( ) const
inline

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

empty when empty.

Definition at line 2614 of file parser.h.

Referenced by isc::eval::EvalParser::parse().

void isc::eval::EvalParser::by_kind::move ( by_kind that)
inline

Steal the symbol kind from that.

Definition at line 2606 of file parser.h.

References clear(), and kind_.

+ Here is the call graph for this function:

EvalParser::symbol_kind_type isc::eval::EvalParser::by_kind::type_get ( ) const
inline

Backward compatibility (Bison 3.6).

Definition at line 2621 of file parser.h.

Member Data Documentation

symbol_kind_type isc::eval::EvalParser::by_kind::kind_

The symbol kind.

S_YYEMPTY when empty.

Definition at line 1018 of file parser.h.

Referenced by move(), and isc::eval::EvalParser::parse().


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