Kea  2.3.4-git
d2_parser.h File Reference

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

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

Go to the source code of this file.

Classes

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

Namespaces

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

Macros

#define D2_PARSER__ASSERT   assert
 
#define D2_PARSER_DEBUG   1
 
#define YY_ATTRIBUTE_PURE
 
#define YY_ATTRIBUTE_UNUSED
 
#define YY_CAST(Type, Val)   ((Type) (Val))
 
#define YY_CONSTEXPR
 
#define YY_COPY(Type)   const 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)   Value
 
#define YY_MOVE
 
#define YY_MOVE_OR_COPY   copy
 
#define YY_MOVE_REF(Type)   Type&
 
#define YY_NOEXCEPT
 
#define YY_NOTHROW   throw ()
 
#define YY_REINTERPRET_CAST(Type, Val)   ((Type) (Val))
 
#define YY_RVREF(Type)   const Type&
 
#define YY_USE(E)   ((void) (E))
 

Detailed Description

Define the isc::d2::parser class.

Definition in file d2_parser.h.

Macro Definition Documentation

◆ D2_PARSER__ASSERT

◆ D2_PARSER_DEBUG

#define D2_PARSER_DEBUG   1

Definition at line 203 of file d2_parser.h.

◆ YY_ATTRIBUTE_PURE

#define YY_ATTRIBUTE_PURE

Definition at line 117 of file d2_parser.h.

Referenced by isc::d2::D2Parser::symbol_type::symbol_type().

◆ YY_ATTRIBUTE_UNUSED

#define YY_ATTRIBUTE_UNUSED

Definition at line 125 of file d2_parser.h.

◆ YY_CAST

#define YY_CAST (   Type,
  Val 
)    ((Type) (Val))

Definition at line 178 of file d2_parser.h.

◆ YY_CONSTEXPR

#define YY_CONSTEXPR

Definition at line 103 of file d2_parser.h.

◆ YY_COPY

#define YY_COPY (   Type)    const Type&

Definition at line 87 of file d2_parser.h.

◆ YY_CPLUSPLUS

#define YY_CPLUSPLUS   199711L

Definition at line 72 of file d2_parser.h.

◆ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

Definition at line 154 of file d2_parser.h.

◆ YY_IGNORE_MAYBE_UNINITIALIZED_END

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

Definition at line 155 of file d2_parser.h.

◆ YY_IGNORE_USELESS_CAST_BEGIN

#define YY_IGNORE_USELESS_CAST_BEGIN

Definition at line 169 of file d2_parser.h.

◆ YY_IGNORE_USELESS_CAST_END

#define YY_IGNORE_USELESS_CAST_END

Definition at line 170 of file d2_parser.h.

◆ YY_INITIAL_VALUE

#define YY_INITIAL_VALUE (   Value)    Value

Definition at line 151 of file d2_parser.h.

◆ YY_MOVE

◆ YY_MOVE_OR_COPY

#define YY_MOVE_OR_COPY   copy

Definition at line 84 of file d2_parser.h.

◆ YY_MOVE_REF

#define YY_MOVE_REF (   Type)    Type&

◆ YY_NOEXCEPT

◆ YY_NOTHROW

#define YY_NOTHROW   throw ()

Definition at line 96 of file d2_parser.h.

Referenced by isc::d2::D2Parser::syntax_error::syntax_error().

◆ YY_REINTERPRET_CAST

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

Definition at line 179 of file d2_parser.h.

◆ YY_RVREF

#define YY_RVREF (   Type)    const Type&

Definition at line 86 of file d2_parser.h.

Referenced by isc::d2::D2Parser::context::location().

◆ YY_USE

#define YY_USE (   E)    ((void) (E))

Definition at line 131 of file d2_parser.h.