Kea 2.5.8
isc::eval::EvalParser::symbol_type Struct Reference

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

#include <parser.h>

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

Public Types

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

Public Member Functions

 symbol_type () YY_NOEXCEPT
 Empty symbol.
 
 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::eval::EvalParser::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 int8_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 (typename Base::kind_type t, const TokenOption::RepresentationType &v, const location_type &l)
 
 basic_symbol (typename Base::kind_type t, const TokenPkt4::FieldType &v, const location_type &l)
 
 basic_symbol (typename Base::kind_type t, const TokenPkt6::FieldType &v, const location_type &l)
 
 basic_symbol (typename Base::kind_type t, const TokenPkt::MetadataType &v, const location_type &l)
 
 basic_symbol (typename Base::kind_type t, const TokenRelay6Field::FieldType &v, const location_type &l)
 
 basic_symbol (typename Base::kind_type t, const uint16_t &v, const location_type &l)
 
 basic_symbol (typename Base::kind_type t, const uint32_t &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::eval::EvalParser::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 1048 of file parser.h.

Member Typedef Documentation

◆ super_type

Superclass.

Definition at line 1051 of file parser.h.

Constructor & Destructor Documentation

◆ symbol_type() [1/3]

isc::eval::EvalParser::symbol_type::symbol_type ( )
inline

Empty symbol.

Definition at line 1054 of file parser.h.

◆ symbol_type() [2/3]

isc::eval::EvalParser::symbol_type::symbol_type ( int  tok,
const location_type l 
)
inline

Constructor for valueless symbols, and symbols from each type.

Definition at line 1061 of file parser.h.

References EVAL_ASSERT.

◆ symbol_type() [3/3]

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

Definition at line 1074 of file parser.h.

References EVAL_ASSERT.


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