ztsdb
|
"External" symbols: returned by the scanner. More...
#include <parser.hpp>
Public Types | |
typedef basic_symbol< by_type > | super_type |
Superclass. | |
Public Types inherited from yy::parser::basic_symbol< by_type > | |
typedef by_type | super_type |
Alias to Base. | |
Public Types inherited from yy::parser::by_type | |
typedef token_type | kind_type |
The symbol type as needed by the constructor. | |
Public Member Functions | |
symbol_type () | |
Empty symbol. | |
symbol_type (int tok, const location_type &l) | |
Constructor for valueless symbols, and symbols from each type. | |
symbol_type (int tok, const Global::dtime &v, const location_type &l) | |
symbol_type (int tok, const double &v, const location_type &l) | |
symbol_type (int tok, const string &v, const location_type &l) | |
symbol_type (int tok, const tz::interval &v, const location_type &l) | |
symbol_type (int tok, const unsigned &v, const location_type &l) | |
Public Member Functions inherited from yy::parser::basic_symbol< by_type > | |
basic_symbol () | |
Default constructor. | |
basic_symbol (const basic_symbol &that) | |
Copy constructor. | |
basic_symbol (typename by_type ::kind_type t, const location_type &l) | |
Constructor for valueless symbols, and symbols from each type. | |
basic_symbol (typename by_type ::kind_type t, const E *&v, const location_type &l) | |
basic_symbol (typename by_type ::kind_type t, const El *&v, const location_type &l) | |
basic_symbol (typename by_type ::kind_type t, const Global::dtime &v, const location_type &l) | |
basic_symbol (typename by_type ::kind_type t, const double &v, const location_type &l) | |
basic_symbol (typename by_type ::kind_type t, const string &v, const location_type &l) | |
basic_symbol (typename by_type ::kind_type t, const tz::interval &v, const location_type &l) | |
basic_symbol (typename by_type ::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 Member Functions inherited from yy::parser::by_type | |
by_type () | |
Default constructor. | |
by_type (const by_type &that) | |
Copy constructor. | |
by_type (kind_type t) | |
Constructor from (external) token numbers. | |
void | clear () |
Record that this symbol is empty. | |
void | move (by_type &that) |
Steal the symbol type from that. | |
symbol_number_type | type_get () const YY_NOEXCEPT |
Additional Inherited Members | |
Public Attributes inherited from yy::parser::basic_symbol< by_type > | |
semantic_type | value |
The semantic value. | |
location_type | location |
The location. | |
Public Attributes inherited from yy::parser::by_type | |
int | type |
"External" symbols: returned by the scanner.