Vcsn
2.2
Be Rational
|
Type access provider for state based symbols. More...
Public Types | |
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 | |
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 |
The (internal) type number (corresponding to state). More... | |
Public Attributes | |
state_type | state |
The state. More... | |
anonymous enum |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
The (internal) type number (corresponding to state).
empty_symbol when empty.
Definition at line 282 of file parse.cc.
References vcsn::rat::parser::empty_symbol, and vcsn::rat::parser::yystos_.
Referenced by vcsn::rat::parser::stack_symbol_type::operator=().
state_type vcsn::rat::parser::by_state::state |
The state.
empty when empty.
Definition at line 771 of file parse.hh.
Referenced by move(), vcsn::rat::parser::stack_symbol_type::operator=(), and vcsn::rat::parser::parse().