|
ztsdb
|
#include <cfgparser.hpp>
Public Types | |
| typedef Base | super_type |
| Alias to Base. | |
Public Member Functions | |
| basic_symbol () | |
| Default constructor. | |
| basic_symbol (const basic_symbol &that) | |
| Copy constructor. | |
| basic_symbol (typename Base::kind_type t, const location_type &l) | |
| Constructor for valueless symbols, and symbols from each type. | |
| basic_symbol (typename Base::kind_type t, const cfg::configmap_t &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 int64_t &v, const location_type &l) | |
| basic_symbol (typename Base::kind_type t, const std::pair< std::string, cfg::CfgVariant > &v, const location_type &l) | |
| basic_symbol (typename Base::kind_type t, const std::string &v, const location_type &l) | |
| ~basic_symbol () | |
| Destroy the symbol. | |
| void | clear () |
| 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. | |
Public Attributes | |
| semantic_type | value |
| The semantic value. | |
| location_type | location |
| The location. | |
A complete symbol.
Expects its Base type to provide access to the symbol type via type_get ().
Provide access to semantic value and location.
1.8.17