![]() |
Kea
1.9.9-git
|
"External" symbols: returned by the scanner. More...
#include <d2_parser.h>
Public Types | |
typedef basic_symbol< by_kind > | super_type |
Superclass. More... | |
![]() | |
typedef by_kind | super_type |
Alias to Base. More... | |
![]() | |
typedef token_kind_type | kind_type |
The symbol kind as needed by the constructor. More... | |
Public Member Functions | |
symbol_type () | |
Empty symbol. More... | |
symbol_type (int tok, const location_type &l) | |
Constructor for valueless symbols, and symbols from each type. More... | |
symbol_type (int tok, const bool &v, const location_type &l) | |
symbol_type (int tok, const double &v, const location_type &l) | |
symbol_type (int tok, const int64_t &v, const location_type &l) | |
symbol_type (int tok, const std::string &v, const location_type &l) | |
![]() | |
basic_symbol () | |
Default constructor. More... | |
basic_symbol (const basic_symbol &that) | |
Copy constructor. More... | |
basic_symbol (typename by_kind::kind_type t, const location_type &l) | |
Constructors for typed symbols. More... | |
basic_symbol (typename by_kind::kind_type t, const ElementPtr &v, const location_type &l) | |
basic_symbol (typename by_kind::kind_type t, const bool &v, const location_type &l) | |
basic_symbol (typename by_kind::kind_type t, const double &v, const location_type &l) | |
basic_symbol (typename by_kind::kind_type t, const int64_t &v, const location_type &l) | |
basic_symbol (typename by_kind::kind_type t, const std::string &v, const location_type &l) | |
~basic_symbol () | |
Destroy the symbol. More... | |
void | clear () YY_NOEXCEPT |
Destroy contents, and record that is empty. More... | |
bool | empty () const YY_NOEXCEPT |
Whether empty. More... | |
void | move (basic_symbol &s) |
Destructive move, s is emptied into this. More... | |
std::string | name () const YY_NOEXCEPT |
The user-facing name of this symbol. More... | |
symbol_kind_type | type_get () const YY_NOEXCEPT |
Backward compatibility (Bison 3.6). More... | |
![]() | |
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 () YY_NOEXCEPT |
Record that this symbol is empty. More... | |
symbol_kind_type | kind () const YY_NOEXCEPT |
The (internal) type number (corresponding to type). More... | |
void | move (by_kind &that) |
Steal the symbol kind from that. More... | |
symbol_kind_type | type_get () const YY_NOEXCEPT |
Backward compatibility (Bison 3.6). More... | |
Additional Inherited Members | |
![]() | |
location_type | location |
The location. More... | |
semantic_type | value |
The semantic value. More... | |
![]() | |
symbol_kind_type | kind_ |
The symbol kind. More... | |
"External" symbols: returned by the scanner.
Definition at line 1044 of file d2_parser.h.
Superclass.
Definition at line 1047 of file d2_parser.h.
|
inline |
Empty symbol.
Definition at line 1050 of file d2_parser.h.
|
inline |
Constructor for valueless symbols, and symbols from each type.
Definition at line 1057 of file d2_parser.h.
References D2_PARSER__ASSERT.
|
inline |
Definition at line 1068 of file d2_parser.h.
References D2_PARSER__ASSERT.
|
inline |
Definition at line 1078 of file d2_parser.h.
References D2_PARSER__ASSERT.
|
inline |
Definition at line 1088 of file d2_parser.h.
References D2_PARSER__ASSERT.
|
inline |
Definition at line 1098 of file d2_parser.h.
References D2_PARSER__ASSERT.