|
ztsdb
|
Type access provider for token (enum) based symbols. More...
#include <cfgparser.hpp>
Public Types | |
| typedef token_type | kind_type |
| The symbol type as needed by the constructor. | |
Public Member Functions | |
| by_type () | |
| Default constructor. | |
| by_type (const by_type &that) | |
| Copy constructor. | |
| by_type (kind_type t) | |
| Constructor from (external) token numbers. | |
| void | clear () |
| Record that this symbol is empty. | |
| void | move (by_type &that) |
| Steal the symbol type from that. | |
| symbol_number_type | type_get () const YY_NOEXCEPT |
Public Attributes | |
| int | type |
Type access provider for token (enum) based symbols.
|
inline |
The (internal) type number (corresponding to type). empty when empty.
| int cfgyy::parser::by_type::type |
The symbol type. empty_symbol when empty. An int, not token_number_type, to be able to store empty_symbol.
1.8.17