|
Aprepro
5.0x
|
#include <aprepro_parser.h>
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) | |
| Constructor for valueless symbols. More... | |
| basic_symbol (typename Base::kind_type t, const semantic_type &v) | |
| 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... | |
Private Member Functions | |
| basic_symbol & | operator= (const basic_symbol &other) |
| Assignment operator. More... | |
A complete symbol.
Expects its Base type to provide access to the symbol type via type_get().
Provide access to semantic value.
| typedef Base SEAMS::Parser::basic_symbol< Base >::super_type |
Alias to Base.
|
inline |
Default constructor.
|
inline |
Copy constructor.
|
inline |
Constructor for valueless symbols.
|
inline |
Constructor for symbols with semantic value.
|
inline |
Destroy the symbol.
|
inline |
Destroy contents, and record that is empty.
|
inline |
Whether empty.
|
inline |
Destructive move, s is emptied into this.
|
private |
Assignment operator.
| semantic_type SEAMS::Parser::basic_symbol< Base >::value |
The semantic value.