librostlab-blast
1.0.1
|
Type access provider for token (enum) based symbols. More...
#include <blast-parser-parser.h>
Public Types | |
typedef token_kind_type | kind_type |
The symbol kind as needed by the constructor. More... | |
Public Member Functions | |
by_kind () YY_NOEXCEPT | |
Default constructor. More... | |
by_kind (const by_kind &that) YY_NOEXCEPT | |
Copy constructor. More... | |
by_kind (kind_type t) YY_NOEXCEPT | |
Constructor from (external) token numbers. More... | |
void | clear () YY_NOEXCEPT |
Record that this symbol is empty. More... | |
void | move (by_kind &that) |
Steal the symbol kind from that. More... | |
symbol_kind_type | kind () const YY_NOEXCEPT |
symbol_kind_type | type_get () const YY_NOEXCEPT |
Backward compatibility (Bison 3.6). More... | |
Public Attributes | |
symbol_kind_type | kind_ |
Type access provider for token (enum) based symbols.
Definition at line 439 of file blast-parser-parser.h.
The symbol kind as needed by the constructor.
Definition at line 442 of file blast-parser-parser.h.
rostlab::blast::parser::by_kind::by_kind | ( | ) |
Default constructor.
rostlab::blast::parser::by_kind::by_kind | ( | const by_kind & | that | ) |
Copy constructor.
rostlab::blast::parser::by_kind::by_kind | ( | kind_type | t | ) |
Constructor from (external) token numbers.
void rostlab::blast::parser::by_kind::clear | ( | ) |
Record that this symbol is empty.
symbol_kind_type rostlab::blast::parser::by_kind::kind | ( | ) | const |
The (internal) type number (corresponding to type). empty when empty.
void rostlab::blast::parser::by_kind::move | ( | by_kind & | that | ) |
Steal the symbol kind from that.
symbol_kind_type rostlab::blast::parser::by_kind::type_get | ( | ) | const |
Backward compatibility (Bison 3.6).
symbol_kind_type rostlab::blast::parser::by_kind::kind_ |
The symbol kind. S_YYEMPTY when empty.
Definition at line 475 of file blast-parser-parser.h.