|
Aprepro 5.0x
|
#include <aprepro_parser.h>


Public Types | |
| typedef Base | super_type |
| Alias to Base. | |
Public Member Functions | |
| basic_symbol () YY_NOEXCEPT | |
| Default constructor. | |
| basic_symbol (const basic_symbol &that) | |
| Copy constructor. | |
| basic_symbol (typename Base::kind_type t) | |
| Constructor for valueless symbols. | |
| basic_symbol (typename Base::kind_type t, YY_RVREF(value_type) v) | |
| Constructor for symbols with semantic value. | |
| ~basic_symbol () | |
| Destroy the symbol. | |
| void | clear () YY_NOEXCEPT |
| Destroy contents, and record that is empty. | |
| std::string | name () const YY_NOEXCEPT |
| The user-facing name of this symbol. | |
| symbol_kind_type | type_get () const YY_NOEXCEPT |
| Backward compatibility (Bison 3.6). | |
| bool | empty () const YY_NOEXCEPT |
| Whether empty. | |
| void | move (basic_symbol &s) |
| Destructive move, s is emptied into this. | |
Public Attributes | |
| value_type | value |
| The semantic value. | |
Private Member Functions | |
| basic_symbol & | operator= (const basic_symbol &that) |
| Assignment operator. | |
A complete symbol.
Expects its Base type to provide access to the symbol kind via kind ().
Provide access to semantic value.
| typedef Base SEAMS::Parser::basic_symbol< Base >::super_type |
Alias to Base.
|
inline |
Default constructor.
| SEAMS::Parser::basic_symbol< Base >::basic_symbol | ( | const basic_symbol< Base > & | that | ) |
Copy constructor.
| SEAMS::Parser::basic_symbol< Base >::basic_symbol | ( | typename Base::kind_type | t | ) |
Constructor for valueless symbols.
| SEAMS::Parser::basic_symbol< Base >::basic_symbol | ( | typename Base::kind_type | t, |
| YY_RVREF(value_type) | v ) |
Constructor for symbols with semantic value.
|
inline |
Destroy the symbol.
|
inline |
Destroy contents, and record that is empty.
| bool SEAMS::Parser::basic_symbol< Base >::empty | ( | ) | const |
Whether empty.
| void SEAMS::Parser::basic_symbol< Base >::move | ( | basic_symbol< Base > & | s | ) |
Destructive move, s is emptied into this.
|
inline |
The user-facing name of this symbol.
|
private |
Assignment operator.
| Parser::symbol_kind_type SEAMS::Parser::basic_symbol< Base >::type_get | ( | ) | const |
Backward compatibility (Bison 3.6).
| value_type SEAMS::Parser::basic_symbol< Base >::value |
The semantic value.