Kea 3.0.0
agent_parser.h File Reference

Define the isc::agent::parser class. More...

#include <string>
#include <cc/data.h>
#include <boost/lexical_cast.hpp>
#include <agent/parser_context_decl.h>
#include <cassert>
#include <cstdlib>
#include <iostream>
#include <stdexcept>
#include <vector>
#include "location.hh"
#include <typeinfo>
+ Include dependency graph for agent_parser.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  isc::agent::AgentParser
 A Bison parser. More...
 
struct  isc::agent::AgentParser::basic_symbol< Base >
 A complete symbol. More...
 
struct  isc::agent::AgentParser::by_kind
 Type access provider for token (enum) based symbols. More...
 
class  isc::agent::AgentParser::context
 
class  isc::agent::AgentParser::stack< T, S >::slice
 Present a slice of the top of a stack. More...
 
struct  isc::agent::AgentParser::symbol_kind
 Symbol kinds. More...
 
struct  isc::agent::AgentParser::symbol_type
 "External" symbols: returned by the scanner. More...
 
struct  isc::agent::AgentParser::syntax_error
 Syntax errors thrown from user actions. More...
 
struct  isc::agent::AgentParser::token
 Token kinds. More...
 
class  isc::agent::AgentParser::value_type
 A buffer to store and retrieve objects. More...
 

Namespaces

namespace  isc
 Defines the logger used by the top-level component of kea-lfc.
 
namespace  isc::agent
 

Macros

#define AGENT__ASSERT   assert
 
#define AGENT_DEBUG   1
 
#define YY_ATTRIBUTE_PURE
 
#define YY_ATTRIBUTE_UNUSED
 
#define YY_CAST(Type, Val)
 
#define YY_CONSTEXPR
 
#define YY_COPY(Type)
 
#define YY_CPLUSPLUS   199711L
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
 
#define YY_IGNORE_USELESS_CAST_BEGIN
 
#define YY_IGNORE_USELESS_CAST_END
 
#define YY_INITIAL_VALUE(Value)
 
#define YY_MOVE
 
#define YY_MOVE_OR_COPY   copy
 
#define YY_MOVE_REF(Type)
 
#define YY_NOEXCEPT
 
#define YY_NOTHROW   throw ()
 
#define YY_REINTERPRET_CAST(Type, Val)
 
#define YY_RVREF(Type)
 
#define YY_USE(E)
 

Detailed Description

Define the isc::agent::parser class.

Definition in file agent_parser.h.

Macro Definition Documentation

◆ AGENT__ASSERT

◆ AGENT_DEBUG

#define AGENT_DEBUG   1

Definition at line 202 of file agent_parser.h.

◆ YY_ATTRIBUTE_PURE

#define YY_ATTRIBUTE_PURE

Definition at line 116 of file agent_parser.h.

◆ YY_ATTRIBUTE_UNUSED

#define YY_ATTRIBUTE_UNUSED

Definition at line 124 of file agent_parser.h.

◆ YY_CAST

◆ YY_CONSTEXPR

#define YY_CONSTEXPR

Definition at line 102 of file agent_parser.h.

◆ YY_COPY

#define YY_COPY ( Type)
Value:
const Type&

Definition at line 86 of file agent_parser.h.

◆ YY_CPLUSPLUS

#define YY_CPLUSPLUS   199711L

Definition at line 71 of file agent_parser.h.

◆ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

Definition at line 153 of file agent_parser.h.

◆ YY_IGNORE_MAYBE_UNINITIALIZED_END

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

Definition at line 154 of file agent_parser.h.

◆ YY_IGNORE_USELESS_CAST_BEGIN

#define YY_IGNORE_USELESS_CAST_BEGIN

Definition at line 168 of file agent_parser.h.

◆ YY_IGNORE_USELESS_CAST_END

#define YY_IGNORE_USELESS_CAST_END

Definition at line 169 of file agent_parser.h.

◆ YY_INITIAL_VALUE

#define YY_INITIAL_VALUE ( Value)
Value:
Value

Definition at line 150 of file agent_parser.h.

◆ YY_MOVE

◆ YY_MOVE_OR_COPY

#define YY_MOVE_OR_COPY   copy

Definition at line 83 of file agent_parser.h.

◆ YY_MOVE_REF

#define YY_MOVE_REF ( Type)
Value:
Type&

Definition at line 84 of file agent_parser.h.

◆ YY_NOEXCEPT

#define YY_NOEXCEPT

Definition at line 94 of file agent_parser.h.

Referenced by isc::agent::AgentParser::basic_symbol< by_kind >::basic_symbol(), isc::d2::D2Parser::basic_symbol< by_kind >::basic_symbol(), isc::dhcp::Dhcp4Parser::basic_symbol< by_kind >::basic_symbol(), isc::dhcp::Dhcp6Parser::basic_symbol< by_kind >::basic_symbol(), isc::eval::EvalParser::basic_symbol< by_kind >::basic_symbol(), isc::netconf::NetconfParser::basic_symbol< by_kind >::basic_symbol(), isc::agent::AgentParser::by_kind::by_kind(), isc::agent::AgentParser::by_kind::by_kind(), isc::agent::AgentParser::by_kind::by_kind(), isc::d2::D2Parser::by_kind::by_kind(), isc::d2::D2Parser::by_kind::by_kind(), isc::d2::D2Parser::by_kind::by_kind(), isc::dhcp::Dhcp4Parser::by_kind::by_kind(), isc::dhcp::Dhcp4Parser::by_kind::by_kind(), isc::dhcp::Dhcp4Parser::by_kind::by_kind(), isc::dhcp::Dhcp6Parser::by_kind::by_kind(), isc::dhcp::Dhcp6Parser::by_kind::by_kind(), isc::dhcp::Dhcp6Parser::by_kind::by_kind(), isc::eval::EvalParser::by_kind::by_kind(), isc::eval::EvalParser::by_kind::by_kind(), isc::eval::EvalParser::by_kind::by_kind(), isc::netconf::NetconfParser::by_kind::by_kind(), isc::netconf::NetconfParser::by_kind::by_kind(), isc::netconf::NetconfParser::by_kind::by_kind(), isc::agent::AgentParser::stack< T, S >::slice::slice(), isc::d2::D2Parser::stack< T, S >::slice::slice(), isc::dhcp::Dhcp4Parser::stack< T, S >::slice::slice(), isc::dhcp::Dhcp6Parser::stack< T, S >::slice::slice(), isc::eval::EvalParser::stack< T, S >::slice::slice(), isc::netconf::NetconfParser::stack< T, S >::slice::slice(), isc::agent::AgentParser::symbol_type::symbol_type(), isc::d2::D2Parser::symbol_type::symbol_type(), isc::dhcp::Dhcp4Parser::symbol_type::symbol_type(), isc::dhcp::Dhcp6Parser::symbol_type::symbol_type(), isc::eval::EvalParser::symbol_type::symbol_type(), isc::netconf::NetconfParser::symbol_type::symbol_type(), isc::agent::AgentParser::value_type::value_type(), isc::d2::D2Parser::value_type::value_type(), isc::dhcp::Dhcp4Parser::value_type::value_type(), isc::dhcp::Dhcp6Parser::value_type::value_type(), isc::eval::EvalParser::value_type::value_type(), isc::netconf::NetconfParser::value_type::value_type(), isc::agent::AgentParser::syntax_error::~syntax_error(), isc::d2::D2Parser::syntax_error::~syntax_error(), isc::dhcp::Dhcp4Parser::syntax_error::~syntax_error(), isc::dhcp::Dhcp6Parser::syntax_error::~syntax_error(), isc::eval::EvalParser::syntax_error::~syntax_error(), isc::netconf::NetconfParser::syntax_error::~syntax_error(), isc::agent::AgentParser::value_type::~value_type(), isc::d2::D2Parser::value_type::~value_type(), isc::dhcp::Dhcp4Parser::value_type::~value_type(), isc::dhcp::Dhcp6Parser::value_type::~value_type(), isc::eval::EvalParser::value_type::~value_type(), isc::netconf::NetconfParser::value_type::~value_type(), isc::agent::AgentParser::value_type::as(), isc::agent::AgentParser::value_type::as(), isc::d2::D2Parser::value_type::as(), isc::d2::D2Parser::value_type::as(), isc::dhcp::Dhcp4Parser::value_type::as(), isc::dhcp::Dhcp4Parser::value_type::as(), isc::dhcp::Dhcp6Parser::value_type::as(), isc::dhcp::Dhcp6Parser::value_type::as(), isc::eval::EvalParser::value_type::as(), isc::eval::EvalParser::value_type::as(), isc::netconf::NetconfParser::value_type::as(), isc::netconf::NetconfParser::value_type::as(), isc::agent::AgentParser::basic_symbol< by_kind >::clear(), isc::agent::AgentParser::by_kind::clear(), isc::d2::D2Parser::basic_symbol< by_kind >::clear(), isc::d2::D2Parser::by_kind::clear(), isc::dhcp::Dhcp4Parser::basic_symbol< by_kind >::clear(), isc::dhcp::Dhcp4Parser::by_kind::clear(), isc::dhcp::Dhcp6Parser::basic_symbol< by_kind >::clear(), isc::dhcp::Dhcp6Parser::by_kind::clear(), isc::eval::EvalParser::basic_symbol< by_kind >::clear(), isc::eval::EvalParser::by_kind::clear(), isc::netconf::NetconfParser::basic_symbol< by_kind >::clear(), isc::netconf::NetconfParser::by_kind::clear(), isc::agent::AgentParser::basic_symbol< Base >::empty(), isc::agent::AgentParser::basic_symbol< by_kind >::empty(), isc::d2::D2Parser::basic_symbol< Base >::empty(), isc::d2::D2Parser::basic_symbol< by_kind >::empty(), isc::dhcp::Dhcp4Parser::basic_symbol< Base >::empty(), isc::dhcp::Dhcp4Parser::basic_symbol< by_kind >::empty(), isc::dhcp::Dhcp6Parser::basic_symbol< Base >::empty(), isc::dhcp::Dhcp6Parser::basic_symbol< by_kind >::empty(), isc::eval::EvalParser::basic_symbol< Base >::empty(), isc::eval::EvalParser::basic_symbol< by_kind >::empty(), isc::netconf::NetconfParser::basic_symbol< Base >::empty(), isc::netconf::NetconfParser::basic_symbol< by_kind >::empty(), isc::agent::AgentParser::by_kind::kind(), isc::d2::D2Parser::by_kind::kind(), isc::dhcp::Dhcp4Parser::by_kind::kind(), isc::dhcp::Dhcp6Parser::by_kind::kind(), isc::eval::EvalParser::by_kind::kind(), isc::netconf::NetconfParser::by_kind::kind(), isc::agent::AgentParser::context::location(), isc::d2::D2Parser::context::location(), isc::dhcp::Dhcp4Parser::context::location(), isc::dhcp::Dhcp6Parser::context::location(), isc::eval::EvalParser::context::location(), isc::netconf::NetconfParser::context::location(), isc::agent::AgentParser::context::lookahead(), isc::d2::D2Parser::context::lookahead(), isc::dhcp::Dhcp4Parser::context::lookahead(), isc::dhcp::Dhcp6Parser::context::lookahead(), isc::eval::EvalParser::context::lookahead(), isc::netconf::NetconfParser::context::lookahead(), isc::agent::AgentParser::basic_symbol< by_kind >::name(), isc::d2::D2Parser::basic_symbol< by_kind >::name(), isc::dhcp::Dhcp4Parser::basic_symbol< by_kind >::name(), isc::dhcp::Dhcp6Parser::basic_symbol< by_kind >::name(), isc::eval::EvalParser::basic_symbol< by_kind >::name(), isc::netconf::NetconfParser::basic_symbol< by_kind >::name(), isc::agent::AgentParser::value_type::swap(), isc::d2::D2Parser::value_type::swap(), isc::dhcp::Dhcp4Parser::value_type::swap(), isc::dhcp::Dhcp6Parser::value_type::swap(), isc::eval::EvalParser::value_type::swap(), isc::netconf::NetconfParser::value_type::swap(), isc::agent::AgentParser::context::token(), isc::d2::D2Parser::context::token(), isc::dhcp::Dhcp4Parser::context::token(), isc::dhcp::Dhcp6Parser::context::token(), isc::eval::EvalParser::context::token(), isc::netconf::NetconfParser::context::token(), isc::agent::AgentParser::basic_symbol< Base >::type_get(), isc::agent::AgentParser::basic_symbol< by_kind >::type_get(), isc::agent::AgentParser::by_kind::type_get(), isc::d2::D2Parser::basic_symbol< Base >::type_get(), isc::d2::D2Parser::basic_symbol< by_kind >::type_get(), isc::d2::D2Parser::by_kind::type_get(), isc::dhcp::Dhcp4Parser::basic_symbol< Base >::type_get(), isc::dhcp::Dhcp4Parser::basic_symbol< by_kind >::type_get(), isc::dhcp::Dhcp4Parser::by_kind::type_get(), isc::dhcp::Dhcp6Parser::basic_symbol< Base >::type_get(), isc::dhcp::Dhcp6Parser::basic_symbol< by_kind >::type_get(), isc::dhcp::Dhcp6Parser::by_kind::type_get(), isc::eval::EvalParser::basic_symbol< Base >::type_get(), isc::eval::EvalParser::basic_symbol< by_kind >::type_get(), isc::eval::EvalParser::by_kind::type_get(), isc::netconf::NetconfParser::basic_symbol< Base >::type_get(), isc::netconf::NetconfParser::basic_symbol< by_kind >::type_get(), and isc::netconf::NetconfParser::by_kind::type_get().

◆ YY_NOTHROW

◆ YY_REINTERPRET_CAST

#define YY_REINTERPRET_CAST ( Type,
Val )
Value:
((Type) (Val))

Definition at line 178 of file agent_parser.h.

◆ YY_RVREF

◆ YY_USE

#define YY_USE ( E)
Value:
((void) (E))

Definition at line 130 of file agent_parser.h.