![]() |
Vcsn
2.1
Be Rational
|
Type access provider for token (enum) based symbols. More...
#include <parse.hh>
Public Types | |
| typedef token_type | kind_type |
| The symbol type as needed by the constructor. More... | |
Public Member Functions | |
| by_type () | |
| Default constructor. More... | |
| by_type (const by_type &other) | |
| Copy constructor. More... | |
| by_type (kind_type t) | |
| Constructor from (external) token numbers. More... | |
| void | clear () |
| Record that this symbol is empty. More... | |
| void | move (by_type &that) |
| Steal the symbol type from that. More... | |
| symbol_number_type | type_get () const |
| The (internal) type number (corresponding to type). More... | |
| token_type | token () const |
| The token. More... | |
Public Attributes | |
| int | type |
| The symbol type. More... | |
|
inline |
|
inline |
|
inline |
|
inline |
Record that this symbol is empty.
Definition at line 1051 of file parse.hh.
References vcsn::detail::dot::parser::empty_symbol, and vcsn::dyn::type().
Referenced by move().
Steal the symbol type from that.
Definition at line 1058 of file parse.hh.
References clear(), type, and vcsn::dyn::type().
|
inline |
The token.
Definition at line 1073 of file parse.hh.
References vcsn::dyn::type().
|
inline |
The (internal) type number (corresponding to type).
empty when empty.
Definition at line 1066 of file parse.hh.
References vcsn::dyn::type().
| int vcsn::detail::dot::parser::by_type::type |