spot 2.12.2
|
"External" symbols: returned by the scanner. More...
#include <spot/parsetl/parsetl.hh>
Public Types | |
typedef basic_symbol< by_kind > | super_type |
Superclass. More... | |
Public Member Functions | |
symbol_type () | |
Empty symbol. More... | |
symbol_type (int tok, const location_type &l) | |
Constructor for valueless symbols, and symbols from each type. More... | |
symbol_type (int tok, const std::string &v, const location_type &l) | |
symbol_type (int tok, const unsigned &v, const location_type &l) | |
void | clear () |
Destroy contents, and record that is empty. More... | |
std::string | name () const |
The user-facing name of this symbol. More... | |
symbol_kind_type | type_get () const |
Backward compatibility (Bison 3.6). More... | |
bool | empty () const |
Whether empty. More... | |
void | move (basic_symbol &s) |
Destructive move, s is emptied into this. More... | |
Public Attributes | |
value_type | value |
The semantic value. More... | |
location_type | location |
The location. More... | |
"External" symbols: returned by the scanner.
Superclass.
|
inline |
Empty symbol.
|
inline |
Constructor for valueless symbols, and symbols from each type.
|
inlineinherited |
Destroy contents, and record that is empty.
Referenced by tlyy::parser::basic_symbol< Base >::~basic_symbol().
|
inherited |
Whether empty.
|
inherited |
Destructive move, s is emptied into this.
|
inlineinherited |
The user-facing name of this symbol.
|
inherited |
Backward compatibility (Bison 3.6).
|
inherited |
The location.
|
inherited |
The semantic value.