Aprepro 5.0x
|
Type access provider for token (enum) based symbols. More...
#include <aprepro_parser.h>
Public Types | |
typedef token_kind_type | kind_type |
The symbol kind as needed by the constructor. | |
Public Member Functions | |
by_kind () YY_NOEXCEPT | |
Default constructor. | |
by_kind (const by_kind &that) YY_NOEXCEPT | |
Copy constructor. | |
by_kind (kind_type t) YY_NOEXCEPT | |
Constructor from (external) token numbers. | |
void | clear () YY_NOEXCEPT |
Record that this symbol is empty. | |
void | move (by_kind &that) |
Steal the symbol kind from that. | |
symbol_kind_type | kind () const YY_NOEXCEPT |
symbol_kind_type | type_get () const YY_NOEXCEPT |
Backward compatibility (Bison 3.6). | |
Public Attributes | |
symbol_kind_type | kind_ |
Type access provider for token (enum) based symbols.
The symbol kind as needed by the constructor.
SEAMS::Parser::by_kind::by_kind | ( | ) |
Default constructor.
SEAMS::Parser::by_kind::by_kind | ( | const by_kind & | that | ) |
Copy constructor.
SEAMS::Parser::by_kind::by_kind | ( | kind_type | t | ) |
Constructor from (external) token numbers.
void SEAMS::Parser::by_kind::clear | ( | ) |
Record that this symbol is empty.
Parser::symbol_kind_type SEAMS::Parser::by_kind::kind | ( | ) | const |
The (internal) type number (corresponding to type). empty when empty.
void SEAMS::Parser::by_kind::move | ( | by_kind & | that | ) |
Steal the symbol kind from that.
Parser::symbol_kind_type SEAMS::Parser::by_kind::type_get | ( | ) | const |
Backward compatibility (Bison 3.6).
symbol_kind_type SEAMS::Parser::by_kind::kind_ |
The symbol kind. S_YYEMPTY when empty.