Aprepro 5.0x
|
Type access provider for state based symbols. More...
Public Types | |
enum | { empty_state = 0 } |
typedef state_type | kind_type |
The symbol kind as needed by the constructor. | |
Public Member Functions | |
by_state () YY_NOEXCEPT | |
Default constructor. | |
by_state (kind_type s) YY_NOEXCEPT | |
Constructor. | |
by_state (const by_state &that) YY_NOEXCEPT | |
Copy constructor. | |
void | clear () YY_NOEXCEPT |
Record that this symbol is empty. | |
void | move (by_state &that) |
Steal the symbol kind from that. | |
symbol_kind_type | kind () const YY_NOEXCEPT |
Public Attributes | |
state_type | state |
Type access provider for state based symbols.
The symbol kind as needed by the constructor.
anonymous enum |
SEAMS::Parser::by_state::by_state | ( | ) |
Default constructor.
SEAMS::Parser::by_state::by_state | ( | kind_type | s | ) |
Constructor.
SEAMS::Parser::by_state::by_state | ( | const by_state & | that | ) |
Copy constructor.
void SEAMS::Parser::by_state::clear | ( | ) |
Record that this symbol is empty.
Parser::symbol_kind_type SEAMS::Parser::by_state::kind | ( | ) | const |
The symbol kind (corresponding to state). symbol_kind::S_YYEMPTY when empty.
void SEAMS::Parser::by_state::move | ( | by_state & | that | ) |
Steal the symbol kind from that.
state_type SEAMS::Parser::by_state::state |
The state. empty when empty.