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