![]() |
Kea
1.5.0
|
A complete symbol. More...
#include <agent_parser.h>
Inheritance diagram for isc::agent::AgentParser::basic_symbol< Base >:Public Types | |
| typedef Base | super_type |
| Alias to Base. More... | |
Public Member Functions | |
| basic_symbol () | |
| Default constructor. More... | |
| 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) | |
| Constructor for valueless symbols, and symbols from each type. More... | |
| basic_symbol (typename Base::kind_type t, const std::string &v, const location_type &l) | |
| basic_symbol (YY_RVREF(basic_symbol) other) | |
| Move or copy constructor. More... | |
| ~basic_symbol () | |
| Destroy the symbol. More... | |
| void | clear () |
| Destroy contents, and record that is empty. More... | |
| bool | empty () const |
| Whether empty. More... | |
| void | move (basic_symbol &s) |
| Destructive move, s is emptied into this. More... | |
Public Attributes | |
| location_type | location |
| The location. More... | |
| semantic_type | value |
| The semantic value. More... | |
A complete symbol.
Expects its Base type to provide access to the symbol type via type_get ().
Provide access to semantic value and location.
Definition at line 604 of file agent_parser.h.
| typedef Base isc::agent::AgentParser::basic_symbol< Base >::super_type |
Alias to Base.
Definition at line 607 of file agent_parser.h.
| isc::agent::AgentParser::basic_symbol< Base >::basic_symbol | ( | ) |
Default constructor.
Definition at line 1172 of file agent_parser.h.
| isc::agent::AgentParser::basic_symbol< Base >::basic_symbol | ( | YY_RVREF(basic_symbol< Base >) | other | ) |
Move or copy constructor.
Definition at line 1178 of file agent_parser.h.
References isc::agent::AgentParser::basic_symbol< Base >::value, and YY_MOVE.
| isc::agent::AgentParser::basic_symbol< Base >::basic_symbol | ( | typename Base::kind_type | t, |
| const location_type & | l | ||
| ) |
Constructor for valueless symbols, and symbols from each type.
Definition at line 1223 of file agent_parser.h.
| isc::agent::AgentParser::basic_symbol< Base >::basic_symbol | ( | typename Base::kind_type | t, |
| const ElementPtr & | v, | ||
| const location_type & | l | ||
| ) |
Definition at line 1237 of file agent_parser.h.
| isc::agent::AgentParser::basic_symbol< Base >::basic_symbol | ( | typename Base::kind_type | t, |
| const bool & | v, | ||
| const location_type & | l | ||
| ) |
Definition at line 1252 of file agent_parser.h.
| isc::agent::AgentParser::basic_symbol< Base >::basic_symbol | ( | typename Base::kind_type | t, |
| const double & | v, | ||
| const location_type & | l | ||
| ) |
Definition at line 1267 of file agent_parser.h.
| isc::agent::AgentParser::basic_symbol< Base >::basic_symbol | ( | typename Base::kind_type | t, |
| const int64_t & | v, | ||
| const location_type & | l | ||
| ) |
Definition at line 1282 of file agent_parser.h.
| isc::agent::AgentParser::basic_symbol< Base >::basic_symbol | ( | typename Base::kind_type | t, |
| const std::string & | v, | ||
| const location_type & | l | ||
| ) |
Definition at line 1297 of file agent_parser.h.
| isc::agent::AgentParser::basic_symbol< Base >::~basic_symbol | ( | ) |
Destroy the symbol.
Definition at line 1306 of file agent_parser.h.
| void isc::agent::AgentParser::basic_symbol< Base >::clear | ( | ) |
Destroy contents, and record that is empty.
Definition at line 1313 of file agent_parser.h.
Referenced by isc::agent::AgentParser::parse().
| bool isc::agent::AgentParser::basic_symbol< Base >::empty | ( | ) | const |
Whether empty.
Definition at line 1359 of file agent_parser.h.
References isc::agent::AgentParser::empty_symbol.
Referenced by isc::agent::AgentParser::parse().
| void isc::agent::AgentParser::basic_symbol< Base >::move | ( | basic_symbol< Base > & | s | ) |
Destructive move, s is emptied into this.
Definition at line 1366 of file agent_parser.h.
References isc::agent::AgentParser::basic_symbol< Base >::location, isc::agent::AgentParser::basic_symbol< Base >::value, and YY_MOVE.
Referenced by isc::agent::AgentParser::parse().
| location_type isc::agent::AgentParser::basic_symbol< Base >::location |
The location.
Definition at line 665 of file agent_parser.h.
Referenced by isc::agent::AgentParser::basic_symbol< Base >::move(), and isc::agent::AgentParser::parse().
| semantic_type isc::agent::AgentParser::basic_symbol< Base >::value |
The semantic value.
Definition at line 662 of file agent_parser.h.
Referenced by isc::agent::AgentParser::basic_symbol< Base >::basic_symbol(), and isc::agent::AgentParser::basic_symbol< Base >::move().