|
Aprepro
5.0x
|
"Internal" symbol: element of the stack. More...
Public Types | |
| typedef basic_symbol< by_state > | super_type |
| Superclass. More... | |
Public Types inherited from SEAMS::Parser::basic_symbol< by_state > | |
| typedef by_state | super_type |
| Alias to Base. More... | |
Public Types inherited from SEAMS::Parser::by_state | |
| enum | { empty_state = -1 } |
| The state number used to denote an empty symbol. More... | |
| typedef state_type | kind_type |
| The symbol type as needed by the constructor. More... | |
Public Member Functions | |
| stack_symbol_type () | |
| Construct an empty symbol. More... | |
| stack_symbol_type (state_type s, symbol_type &sym) | |
| Steal the contents from sym to build this. More... | |
| stack_symbol_type & | operator= (const stack_symbol_type &that) |
| Assignment, needed by push_back. More... | |
Public Member Functions inherited from SEAMS::Parser::basic_symbol< by_state > | |
| basic_symbol () | |
| Default constructor. More... | |
| basic_symbol (const basic_symbol &other) | |
| Copy constructor. More... | |
| basic_symbol (typename by_state ::kind_type t) | |
| Constructor for valueless symbols. More... | |
| basic_symbol (typename by_state ::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 Member Functions inherited from SEAMS::Parser::by_state | |
| by_state () | |
| Default constructor. More... | |
| by_state (kind_type s) | |
| Constructor. More... | |
| by_state (const by_state &other) | |
| Copy constructor. More... | |
| void | clear () |
| Record that this symbol is empty. More... | |
| void | move (by_state &that) |
| Steal the symbol type from that. More... | |
| symbol_number_type | type_get () const |
Additional Inherited Members | |
Public Attributes inherited from SEAMS::Parser::basic_symbol< by_state > | |
| semantic_type | value |
| The semantic value. More... | |
Public Attributes inherited from SEAMS::Parser::by_state | |
| state_type | state |
"Internal" symbol: element of the stack.
Superclass.
|
inline |
Construct an empty symbol.
|
inline |
Steal the contents from sym to build this.
|
inline |
Assignment, needed by push_back.