spot
2.1
|
#include <spot/parseaut/parseaut.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... | |
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 hoayy::parser::basic_symbol< Base >::super_type |
Alias to Base.
hoayy::parser::basic_symbol< Base >::basic_symbol | ( | ) |
Default constructor.
hoayy::parser::basic_symbol< Base >::basic_symbol | ( | const basic_symbol< Base > & | other | ) |
Copy constructor.
hoayy::parser::basic_symbol< Base >::basic_symbol | ( | typename Base::kind_type | t, |
const location_type & | l | ||
) |
Constructor for valueless symbols.
hoayy::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.
void hoayy::parser::basic_symbol< Base >::move | ( | basic_symbol< Base > & | s | ) |
Destructive move, s is emptied into this.
location_type hoayy::parser::basic_symbol< Base >::location |
The location.
semantic_type hoayy::parser::basic_symbol< Base >::value |
The semantic value.