| 
    ztsdb
    
   | 
 
#include <parser.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 E *&v, const location_type &l) | |
| basic_symbol (typename Base::kind_type t, const El *&v, const location_type &l) | |
| basic_symbol (typename Base::kind_type t, const Global::dtime &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 string &v, const location_type &l) | |
| basic_symbol (typename Base::kind_type t, const tz::interval &v, const location_type &l) | |
| basic_symbol (typename Base::kind_type t, const unsigned &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