|
spot
2.3.3.dev
|
#include <spot/parsetl/parsetl.hh>


Public Types | |
| typedef Base | super_type |
| Alias to Base. More... | |
Public Member Functions | |
| basic_symbol () | |
| Default constructor. More... | |
| basic_symbol (const basic_symbol &other) | |
| Copy constructor. More... | |
| basic_symbol (typename Base::kind_type t, const location_type &l) | |
| Constructor for valueless symbols. More... | |
| basic_symbol (typename Base::kind_type t, const semantic_type &v, const location_type &l) | |
| Constructor for symbols with semantic value. More... | |
| ~basic_symbol () | |
| Destroy the symbol. More... | |
| void | clear () |
| Destroy contents, and record that is empty. More... | |
| bool | empty () const |
| Whether empty. More... | |
| void | move (basic_symbol &s) |
| Destructive move, s is emptied into this. More... | |
Public Attributes | |
| semantic_type | value |
| The semantic value. More... | |
| location_type | location |
| The location. More... | |
A complete symbol.
Expects its Base type to provide access to the symbol type via type_get().
Provide access to semantic value and location.
| typedef Base tlyy::parser::basic_symbol< Base >::super_type |
Alias to Base.
| tlyy::parser::basic_symbol< Base >::basic_symbol | ( | ) |
Default constructor.
| tlyy::parser::basic_symbol< Base >::basic_symbol | ( | const basic_symbol< Base > & | other | ) |
Copy constructor.
| tlyy::parser::basic_symbol< Base >::basic_symbol | ( | typename Base::kind_type | t, |
| const location_type & | l | ||
| ) |
Constructor for valueless symbols.
| tlyy::parser::basic_symbol< Base >::basic_symbol | ( | typename Base::kind_type | t, |
| const semantic_type & | v, | ||
| const location_type & | l | ||
| ) |
Constructor for symbols with semantic value.
| tlyy::parser::basic_symbol< Base >::~basic_symbol | ( | ) |
Destroy the symbol.
| void tlyy::parser::basic_symbol< Base >::clear | ( | ) |
Destroy contents, and record that is empty.
| bool tlyy::parser::basic_symbol< Base >::empty | ( | ) | const |
Whether empty.
| void tlyy::parser::basic_symbol< Base >::move | ( | basic_symbol< Base > & | s | ) |
Destructive move, s is emptied into this.
| location_type tlyy::parser::basic_symbol< Base >::location |
The location.
| semantic_type tlyy::parser::basic_symbol< Base >::value |
The semantic value.
1.8.13