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