summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx/grammar/eps.hpp
blob: e47d5f5499a16ee83623b8f5d9f83e43fc3a07ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef EOLIAN_CXX_EPS_HH
#define EOLIAN_CXX_EPS_HH

#include "grammar/generator.hpp"

namespace efl { namespace eolian { namespace grammar {

struct eps_generator
{
   template <typename OutputIterator, typename Attribute, typename Context>
   bool generate(OutputIterator, Attribute const&, Context const&) const
   {
      return true;
   }
};

template <>
struct is_eager_generator<eps_generator> : std::true_type {};

eps_generator const eps;

} } }

#endif